Function at 0x4f6dc0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b02a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 4]
call fcn.00575b56
lea ecx, [esp]
mov dword [esp + 0x58], 0
call fcn.0057600a
push str._QRP
lea ecx, [esp + 4]
call fcn.0056d3ac
test eax, eax
jle 0x4f6e39
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 8]
call fcn.0056d312
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x5c], 1
call fcn.00575c21
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.00575ae8
push 0x610944
lea ecx, [esp + 4]
call fcn.0056d3ac
test eax, eax
jle 0x4f6e77
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 8]
call fcn.0056d312
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x5c], 2
call fcn.00575c21
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.00575ae8
push 0x610940
lea ecx, [esp + 4]
call fcn.0056d3ac
test eax, eax
jle 0x4f6eb5
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 8]
call fcn.0056d312
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x5c], 3
call fcn.00575c21
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 0
call fcn.00575ae8
mov ecx, dword [0x614cb0]
push ebx
push ebp
or ebp, 0xffffffff
push esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
push 0x2f
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 4
call fcn.0056d38a
mov esi, eax
test esi, esi
jl 0x4f7223
mov edx, dword [esp + 0x10]
push edx
call fcn.004f8a50
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x18], ebp
jge 0x4f7223
mov bl, 6
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.0056d312
inc esi
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 5
call fcn.0056d1dd
push 0x61093c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], bl
call fcn.0056d3ac
test eax, eax
je 0x4f718c
mov edx, dword [esp + 0x14]
push 0x610938
push edx
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4f7148
mov eax, dword [esp + 0x14]
push 0x608204
push eax
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4f7148
mov ecx, dword [esp + 0x14]
push 0x60d078
push ecx
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4f7148
mov edx, dword [esp + 0x14]
push 0x610934
push edx
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4f7148
mov eax, dword [esp + 0x14]
push 0x60d074
push eax
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4f7148
mov ecx, dword [esp + 0x14]
push 0x618f40
push ecx
call fcn.0055724d
add esp, 8
test eax, eax
je 0x4f7148
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], 1
jne 0x4f712c
movsx edx, byte [eax]
push edx
call fcn.005577b7
add esp, 4
test eax, eax
je 0x4f7128
mov eax, dword [esp + 0x18]
mov edi, 1
cmp dword [eax - 8], edi
jle 0x4f702c
movsx eax, byte [edi + eax]
push eax
call fcn.005577b7
add esp, 4
test eax, eax
jne 0x4f7028
mov eax, dword [esp + 0x18]
inc edi
cmp edi, dword [eax - 8]
jl 0x4f700b
jmp 0x4f702c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
mov esi, edi
cmp edi, ecx
jge 0x4f70f6
movsx ecx, byte [esi + eax]
push ecx
call fcn.005577b7
add esp, 4
test eax, eax
je 0x4f7056
mov eax, dword [esp + 0x18]
inc esi
cmp esi, dword [eax - 8]
jl 0x4f7039
jmp 0x4f705a
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jge 0x4f7141
lea edx, [esp + 0x34]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.0056d1dd
mov esi, eax
lea eax, [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 7
call fcn.0056d312
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x74], 8
call fcn.00575d17
push esi
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x70], 9
push eax
call fcn.00575d17
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xa
call fcn.00575c21
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 9
call fcn.00575ae8
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 8
call fcn.00575ae8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 7
call fcn.00575ae8
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], bl
call fcn.00575ae8
jmp 0x4f7156
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00575d17
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xb
call fcn.00575c21
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], bl
call fcn.00575ae8
jmp 0x4f7156
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 8]
mov edx, dword [eax - 8]
cmp ecx, edx
jle 0x4f7141
lea eax, [esp + 0x14]
push eax
jmp 0x4f714d
lea ecx, [esp + 0x18]
push ecx
jmp 0x4f714d
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x14]
call fcn.00575c21
push 0x2f
lea ecx, [esp + 0x14]
call fcn.0056d38a
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x68], 5
call fcn.00575ae8
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 4
call fcn.00575ae8
test esi, esi
jge 0x4f6f01
jmp 0x4f7223
mov eax, dword [esp + 0x14]
push str.GMP
push eax
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x4f71a9
push str.FR_G
jmp 0x4f71fe
mov ecx, dword [esp + 0x14]
push 0x607cc8
push ecx
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x4f71c6
push str.FR_T
jmp 0x4f71fe
mov edx, dword [esp + 0x14]
push str.EDBA
push edx
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x4f71e3
push str.FR_E
jmp 0x4f71fe
mov eax, dword [esp + 0x14]
push 0x60bd08
push eax
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x4f7207
push str.FR_J
lea ecx, [esp + 0x14]
call fcn.00575c71
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 5
call fcn.00575ae8
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 4
call fcn.00575ae8
push 0x61090c
lea ecx, [esp + 0x14]
call fcn.0056d3ac
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4f7293
cmp dword [eax - 8], 5
jle 0x4f7293
lea ecx, [esp + 0x34]
push 3
push ecx
lea ecx, [esp + 0x18]
call fcn.0056d1dd
push eax
lea edx, [esp + 0x3c]
mov bl, 0xc
push 0x610908
push edx
mov byte [esp + 0x74], bl
call fcn.00575df1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0xd
call fcn.00575c21
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], bl
call fcn.00575ae8
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 4
call fcn.00575ae8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f7343
mov bl, 0xe
test ebp, ebp
jge 0x4f72b3
push eax
call fcn.004f8a50
mov ebp, eax
add esp, 4
test ebp, ebp
jl 0x4f72fc
mov ecx, dword [0x6812dc]
mov edx, dword [0x6108a0]
lea eax, [ebp + ebp*4]
push edx
mov eax, dword [ecx + eax*8]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [eax + eax*2]
mov eax, dword [0x6812f4]
lea ecx, [eax + edx*8]
call fcn.004f8ae0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], bl
call fcn.00575c21
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 4
call fcn.00575ae8
test ebp, ebp
jge 0x4f737a
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
dec eax
push eax
push edx
call fcn.0056d312
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 0x17
call fcn.00575c21
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 4
call fcn.00575ae8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4f72a0
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0
call fcn.00575ae8
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.00575ae8
or eax, 0xffffffff
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x4c
mov eax, dword [0x6812dc]
lea ebx, [ebp + ebp*4]
shl ebx, 3
mov ecx, dword [0x6812f4]
xor esi, esi
mov eax, dword [eax + ebx]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0xffffffff
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x14], eax
mov edi, dword [ecx + eax + 0x10]
cmp edi, esi
je 0x4f740c
mov eax, dword [edi + 8]
mov dword [esp + 0x24], esi
cmp eax, esi
jle 0x4f740c
xor ebp, ebp
mov edx, dword [edi + 4]
mov eax, dword [edx + ebp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4f73f5
mov ecx, dword [esp + 0x70]
push ecx
push eax
call fcn.0043c760
add esp, 8
test al, al
je 0x4f73f5
mov ecx, dword [edi + 4]
mov esi, ebp
add esi, ecx
push 0x5b
lea ecx, [esi + 4]
call fcn.00575faf
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
inc eax
add ebp, 0x28
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4f73c0
test esi, esi
jne 0x4f7415
mov edx, dword [0x6812dc]
lea esi, [edx + ebx]
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4f7427
lea eax, [esp + 0x1c]
push eax
call fcn.00575c21
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4f7435
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4f744f
mov ecx, dword [esp + 0x14]
mov edi, dword [0x6812f4]
xor edx, edx
mov dl, byte [edi + ecx + 0xc]
mov dword [eax], edx
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4f7461
xor edx, edx
mov dl, byte [esi + 8]
mov dword [eax], edx
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4f7473
xor ecx, ecx
mov cl, byte [esi + 9]
mov dword [eax], ecx
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4f7483
mov edx, dword [esi + 0xc]
mov dword [eax], edx
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4f7499
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x14]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4f74af
mov ecx, dword [esi + 0x18]
mov dword [eax], ecx
mov edx, dword [esi + 0x1c]
mov dword [eax + 4], edx
mov ebp, dword [esp + 0x9c]
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x94]
test ebp, ebp
jne 0x4f74ea
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x4f74ea
test ebx, ebx
jne 0x4f74ea
test edi, edi
jne 0x4f74ea
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x4f77b8
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x40], ecx
fld qword [eax]
fld qword [esi + 0x18]
fld qword [eax + 8]
fsub st(1)
fxch st(1)
fstp st(0)
fcom qword [0x5bfaf0]
mov dword [esp + 0x44], edx
fnstsw ax
test ah, 0x41
jne 0x4f751d
fsub qword [0x5be128]
fcom qword [0x5bfae8]
fnstsw ax
test ah, 1
je 0x4f7530
fadd qword [0x5be128]
fxch st(1)
fmul qword [0x5bfae0]
fstp qword [esp + 0x38]
fld qword [esp + 0x40]
fmul qword [0x5bfae0]
fstp qword [esp + 0x40]
fmul qword [0x5bfae0]
fstp qword [esp + 0x50]
fld qword [esp + 0x38]
fcos
fstp qword [esp + 0x48]
fld qword [esp + 0x40]
fsin
fstp qword [esp + 0x24]
fld qword [esp + 0x38]
fsin
fstp qword [esp + 0x38]
fld qword [esp + 0x40]
fcos
fld qword [esp + 0x50]
fcos
fmulp st(1)
fmul qword [esp + 0x48]
fld qword [esp + 0x38]
fmul qword [esp + 0x24]
faddp st(1)
call fcn.00558af0
fld st(0)
fmul qword [0x5bfad8]
fmul qword [0x5bda20]
fld st(0)
fmul qword [0x5ca000]
fstp qword [esp + 0x2c]
fmul qword [0x5bfad0]
fstp qword [esp + 0x40]
fld st(0)
fmul qword [0x5c9ff8]
fstp qword [esp + 0x58]
fld st(0)
fcos
fmul qword [esp + 0x38]
fsubr qword [esp + 0x24]
fxch st(1)
fsin
fmul qword [esp + 0x48]
fadd qword [0x5c9ff0]
fdivp st(1)
fcom qword [0x5bab28]
fst qword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x4f7604
fstp st(0)
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
jmp 0x4f7621
fcomp qword [0x5bdcc8]
fnstsw ax
test ah, 1
je 0x4f7621
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xbff00000
fld qword [esp + 0x38]
call fcn.00558af0
fmul qword [0x5bfad8]
fld qword [esp + 0x50]
fcomp qword [0x5bb338]
fnstsw ax
test ah, 0x41
jne 0x4f7647
fsubr qword [0x5be128]
fcom qword [0x5bb338]
fnstsw ax
test ah, 1
je 0x4f7667
fadd qword [0x5be128]
fcom qword [0x5bb338]
fnstsw ax
test ah, 1
jne 0x4f7654
test ebx, ebx
je 0x4f766d
fst qword [ebx]
test edi, edi
je 0x4f767e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [edi], eax
mov dword [edi + 4], ecx
fadd qword [0x5bfaf0]
fcom qword [0x5be128]
fst qword [esp + 0x38]
fnstsw ax
test ah, 1
jne 0x4f769f
fsub qword [0x5be128]
fst qword [esp + 0x38]
test ebp, ebp
je 0x4f76b4
fld st(0)
fmul qword [0x5bfab8]
fsin
fmul qword [esp + 0x58]
fstp qword [ebp]
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4f76cf
fmul qword [0x5bfab8]
fcos
fmul qword [esp + 0x58]
fstp qword [eax]
jmp 0x4f76d1
fstp st(0)
mov edi, dword [esp + 0xa4]
test edi, edi
je 0x4f77b8
mov edx, dword [0x614cb0]
mov dword [esp + 0x70], edx
fld qword [esp + 0x40]
fcomp qword [0x5baf40]
mov byte [esp + 0x68], 0xf
fnstsw ax
test ah, 0x41
jne 0x4f772d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
lea eax, [esp + 0x88]
push str._.0f_Deg___.0f_km___.0f_miles_
push eax
jmp 0x4f7796
fld qword [esp + 0x40]
fcomp qword [0x5bab28]
fnstsw ax
test ah, 0x41
jne 0x4f776b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
lea ecx, [esp + 0x88]
push str._.0f_Deg___.1f_km___.1f_miles_
push ecx
jmp 0x4f7796
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
lea edx, [esp + 0x88]
push str._.0f_Deg___.2f_km___.2f_miles_
push edx
call fcn.0056d732
add esp, 0x20
lea eax, [esp + 0x70]
mov ecx, edi
push eax
call fcn.00575c21
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 4
call fcn.00575ae8
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x4f77d9
mov edx, dword [0x6812f4]
mov ebp, dword [esp + 0x14]
lea eax, [edx + ebp + 4]
push eax
call fcn.00575c21
jmp 0x4f77dd
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0xb4]
mov ebx, dword [esp + 0x20]
test edi, edi
je 0x4f7892
test ebx, ebx
jge 0x4f7804
lea ecx, [esi + 4]
push ecx
mov ecx, edi
call fcn.00575c21
jmp 0x4f788b
jne 0x4f7862
lea edx, [esp + 0x70]
push 1
push edx
lea ecx, [esi + 4]
call fcn.0056d1dd
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0x10
call fcn.00575c21
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 4
call fcn.00575ae8
push 0x5d
mov ecx, edi
call fcn.00575faf
test eax, eax
jl 0x4f788b
push eax
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call fcn.0056d312
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0x11
call fcn.00575c21
mov byte [esp + 0x68], 4
lea ecx, [esp + 0x70]
jmp 0x4f7886
lea ecx, [esp + 0x70]
push ebx
push ecx
lea ecx, [esi + 4]
call fcn.0056d312
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0x12
call fcn.00575c21
mov byte [esp + 0x68], 4
lea ecx, [esp + 0x70]
call fcn.00575ae8
mov ecx, edi
call fcn.0056d798
mov edi, dword [esp + 0xb8]
test edi, edi
je 0x4f790e
test ebx, ebx
jge 0x4f78af
push 0x618f40
mov ecx, edi
call fcn.00575c71
jmp 0x4f790e
inc ebx
lea edx, [esp + 0x70]
push ebx
push edx
lea ecx, [esi + 4]
call fcn.0056d1dd
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0x13
call fcn.00575c21
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 4
call fcn.00575ae8
push 0x5d
mov ecx, edi
call fcn.00575faf
test eax, eax
jl 0x4f790e
push eax
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call fcn.0056d312
push eax
mov ecx, edi
mov byte [esp + 0x6c], 0x14
call fcn.00575c21
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 4
call fcn.00575ae8
mov esi, dword [esp + 0xac]
test esi, esi
je 0x4f7947
mov edx, dword [0x6812f4]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [edx + ebp]
call fcn.004f79b0
push eax
mov ecx, esi
mov byte [esp + 0x6c], 0x15
call fcn.00575c21
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 4
call fcn.00575ae8
mov esi, dword [esp + 0xb0]
test esi, esi
je 0x4f797f
mov ecx, dword [0x6812f4]
lea eax, [esp + 0x70]
push eax
add ecx, ebp
call fcn.00420a70
push eax
mov ecx, esi
mov byte [esp + 0x6c], 0x16
call fcn.00575c21
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 4
call fcn.00575ae8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 0
call fcn.00575ae8
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.00575ae8
mov eax, dword [esp + 0x18]
jmp 0x4f7365