Function at 0x4a4350
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x10c]
sub esp, 0x10c
push 0xffffffffffffffff
push 0x64f320
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x108], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edx, dword [ebp + 0x114]
mov dword [ebp - 4], 0
wait
fldz
fstp dword [ebp - 0x14]
mov eax, dword [esi + 0x74]
cmp dword [eax + 0x950], 0
je 0x4a480f
mov ebx, 0x20
cmp dword [eax + 0x354], ebx
jne 0x4a43cf
mov ecx, dword [eax + 0x110]
mov edi, dword [eax + 0x114]
jmp 0x4a43e1
mov edi, dword [eax + 0x950]
mov ecx, dword [edi + 0x1c0]
mov edi, dword [edi + 0x1c4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edi
or ecx, edi
jne 0x4a4418
test edx, edx
je 0x4a4406
cmp dword [eax + 0x354], ebx
je 0x4a4406
mov ecx, dword [edx]
mov dword [ebp - 0x20], ecx
mov edi, dword [edx + 4]
mov dword [ebp - 0x1c], edi
or ecx, edi
jne 0x4a4418
mov ecx, dword [eax + 0x110]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x114]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x950]
mov edi, dword [eax + 0x1c8]
mov dword [ebp - 0x2c], edi
mov ebx, dword [eax + 0x1cc]
mov dword [ebp - 0x28], ebx
mov eax, edi
or eax, ebx
jne 0x4a4454
test edx, edx
je 0x4a480f
mov edi, dword [edx + 8]
mov dword [ebp - 0x2c], edi
mov ebx, dword [edx + 0xc]
mov dword [ebp - 0x28], ebx
mov ecx, edi
or ecx, ebx
je 0x4a480f
lea edx, [ebp + 0x80]
push edx
push ebx
push edi
mov ecx, esi
call fcn.004a0a40
push 8
lea eax, [ebp + 0x100]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4a448a
mov ecx, 0x2c
mov word [ebp + 0x100], cx
mov edx, dword [ebp - 0x20]
or edx, dword [ebp - 0x1c]
je 0x4a4552
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 0x500]
or ecx, dword [eax + 0x504]
jne 0x4a44ca
mov edx, dword [eax + 0x110]
or edx, dword [eax + 0x114]
jne 0x4a44ca
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push ecx
push 0x1473
mov ecx, esi
mov edx, dword [eax + 0xf0]
call edx
fild qword [ebp - 0x2c]
fstp dword [ebp - 0x18]
fild qword [ebp - 0x20]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x18]
fld qword [0x6828a0]
fmul st(1)
fld dword [ebp - 0x24]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
call fcn.00622df0
cmp dword [esi + 0x9c0], eax
je 0x4a45ee
fxch st(1)
fmul qword [0x679468]
fdivrp st(1)
call fcn.00622df0
push eax
lea ecx, [esi + 0xc0]
call fcn.00425830
cmp dword [0x75dbb0], 0
je 0x4a45f2
mov eax, dword [esi + 0x940]
test eax, eax
je 0x4a45f2
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x20]
push edx
push ebx
push edi
mov edx, dword [esi + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
jmp 0x4a45f2
mov edi, dword [esi + 0x74]
fldz
fcomp qword [edi + 0x3d8]
fnstsw ax
test ah, 5
jp 0x4a45f2
mov ebx, dword [edi + 0x950]
fld qword [ebx + 0x190]
fmul qword [0x6828a0]
fdiv qword [edi + 0x3d8]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
call fcn.00622df0
cmp dword [esi + 0x9c0], eax
je 0x4a45f2
fld qword [ebx + 0x190]
fmul qword [0x679468]
fdiv qword [edi + 0x3d8]
call fcn.00622df0
push eax
lea ecx, [esi + 0xc0]
call fcn.00425830
cmp dword [0x75dbb0], 0
je 0x4a45f2
mov edi, dword [esi + 0x940]
test edi, edi
je 0x4a45f2
mov ebx, dword [edi]
push 0
push 0x186a0
fld dword [ebp - 0x14]
fmul qword [0x687b88]
call fcn.00622e26
push edx
push eax
mov ecx, dword [esi + 0x20]
push ecx
push edi
mov edx, dword [ebx + 0x24]
call edx
jmp 0x4a45f2
fstp st(1)
fstp st(0)
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x4a4606
cmp eax, 5
jne 0x4a46c4
fldz
fcomp qword [ecx + 0x3d8]
fnstsw ax
test ah, 1
jne 0x4a46c4
cmp dword [ecx + 0x950], 0
je 0x4a4713
lea ecx, [ebp - 0x24]
call fcn.004024f0
mov bl, 1
mov byte [ebp - 4], bl
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 0x950]
fld qword [ecx + 0x190]
call fcn.00622e26
test edx, edx
jl 0x4a469e
jg 0x4a4651
test eax, eax
jb 0x4a469e
mov edi, vtable.StringConvertor.0
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
lea ecx, [ebp - 0x18]
call fcn.0043fa40
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp + 0x80]
push eax
push str._s____s_
lea ecx, [ebp]
push ecx
call fcn.00623a6b
add esp, 0x10
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402560
jmp 0x4a472b
lea edx, [ebp + 0x80]
push edx
push 0x678ea8
lea eax, [ebp]
push eax
call fcn.00623a6b
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402560
jmp 0x4a472b
fld dword [ebp - 0x14]
fcom qword [0x686348]
fnstsw ax
test ah, 5
jp 0x4a4711
fld st(0)
call fcn.00622df0
mov edi, eax
mov dword [ebp - 0x18], edi
fisub dword [ebp - 0x18]
fmul qword [0x6828a0]
call fcn.00622df0
push eax
lea ecx, [ebp + 0x100]
push ecx
push edi
lea edx, [ebp + 0x80]
push edx
push str._s_____d_s_02d_____
lea eax, [ebp]
push eax
call fcn.00623a6b
add esp, 0x18
jmp 0x4a472b
fstp st(0)
lea ecx, [ebp + 0x80]
push ecx
push 0x678ea8
lea edx, [ebp]
push edx
call fcn.00623a6b
add esp, 0xc
lea eax, [ebp]
push eax
lea ecx, [esi + 0x4d0]
call fcn.0049a6e0
fld dword [ebp - 0x14]
fld st(0)
call fcn.00622df0
mov ecx, eax
cmp dword [esi + 0x9c0], ecx
je 0x4a480d
mov dword [esi + 0x9c0], ecx
fcomp qword [0x686348]
fnstsw ax
test ah, 5
jp 0x4a47bc
push 0xa
lea edx, [ebp + 0x80]
push edx
push ecx
call fcn.00628c74
add esp, 0xc
lea edi, [esi + 0x9ec]
push 0
push eax
mov ecx, edi
call fcn.00401970
push 0x68809c
mov ecx, edi
call fcn.00405310
cmp dword [esi + 0x9e0], 0
je 0x4a47ac
mov eax, dword [esi + 0x9e0]
push eax
mov ecx, edi
call fcn.00405310
jmp 0x4a47e1
lea eax, [esi + 0x9e4]
push eax
mov ecx, edi
call fcn.00405310
jmp 0x4a47e1
cmp dword [esi + 0x9e0], 0
je 0x4a47cd
mov eax, dword [esi + 0x9e0]
jmp 0x4a47d3
lea eax, [esi + 0x9e4]
lea edi, [esi + 0x9ec]
push eax
mov ecx, edi
call fcn.004017e0
cmp dword [edi], 0
je 0x4a47ea
mov edi, dword [edi]
jmp 0x4a47ed
add edi, 4
push edi
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x75e264]
test ecx, ecx
je 0x4a480f
mov edx, dword [esi + 0x20]
push edx
call fcn.0054ae80
jmp 0x4a480f
fstp st(0)
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x10c
mov esp, ebp
pop ebp
ret 4