Function at 0x467ee0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3b30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x844]
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4684b4
mov edx, eax
mov eax, dword [edx + 0x140]
mov edx, dword [edx + 0x144]
mov dword [ebp - 0x28], eax
or eax, edx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
jne 0x467f51
test eax, eax
je 0x467f51
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov ecx, dword [ecx + 0x844]
mov esi, dword [ecx + 0x148]
mov edx, esi
mov dword [ebp - 0x18], esi
mov edi, dword [ecx + 0x14c]
or edx, edi
mov dword [ebp - 0x14], edi
jne 0x467f90
test eax, eax
je 0x4684b4
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
or ecx, eax
mov dword [ebp - 0x14], eax
je 0x4684b4
mov esi, dword [ebp - 0x18]
mov edi, eax
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
push edi
push esi
call fcn.004684f0
lea ecx, [ebp + 8]
push 3
push ecx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x467fdd
mov edi, 0x652300
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
or ecx, eax
je 0x468078
mov eax, dword [ebx]
add eax, 0x408
mov edx, dword [eax]
mov ecx, dword [eax + 4]
or edx, ecx
jne 0x46800b
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
push 0x1473
call fcn.004675c0
fild qword [ebp - 0x18]
fild qword [ebp - 0x28]
fld st(1)
fmul dword [0x5d1108]
fdiv st(1)
fstp dword [ebp - 0x1c]
fxch st(1)
fmul dword [0x5d1d80]
fdiv st(1)
call fcn.0057edf8
mov ecx, dword [ebx + 0x2c8]
push 0
push eax
push 0x402
push ecx
fstp st(0)
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x67a03c]
test eax, eax
je 0x468108
mov eax, dword [ebx + 0x480]
test eax, eax
je 0x468108
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebx + 0xc]
push edi
push esi
push ecx
push eax
call dword [edx + 0x24]
jmp 0x468108
mov ecx, dword [ebx]
fld qword [ecx + 0x300]
fcomp qword [0x5cf380]
fnstsw ax
test ah, 0x41
jne 0x468108
mov eax, dword [ecx + 0x844]
fld qword [eax + 0x120]
fmul qword [0x5d1110]
fdiv qword [ecx + 0x300]
fstp dword [ebp - 0x1c]
fld qword [eax + 0x120]
fmul qword [0x5d1d88]
fdiv qword [ecx + 0x300]
call fcn.0057edf8
mov edx, dword [ebx + 0x2c8]
push 0
push eax
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x67a03c]
test eax, eax
je 0x468108
mov esi, dword [ebx + 0x480]
test esi, esi
je 0x468108
fld dword [ebp - 0x1c]
fmul dword [0x5d1d84]
mov edi, dword [esi]
push 0
push 0x186a0
call fcn.0057edf8
push edx
push eax
mov eax, dword [ebx + 0xc]
push eax
push esi
call dword [edi + 0x24]
mov ecx, dword [ebx]
cmp dword [ecx + 0x44], 4
jne 0x468257
fld qword [ecx + 0x300]
fcomp qword [0x5cf380]
fnstsw ax
test ah, 0x41
je 0x468257
mov eax, dword [ecx + 0x844]
test eax, eax
je 0x468236
mov ecx, eax
fld qword [ecx + 0x120]
call fcn.0057edf8
mov esi, edx
mov edi, eax
test esi, esi
jl 0x468224
jg 0x46815c
test edi, edi
jb 0x468224
push 0
push 0x3c
push esi
push edi
call fcn.005807d0
mov dword [ebp - 0x14], eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.00580720
push 0
push 0x3c
push edx
push eax
call fcn.005807d0
push 0
push 0xe10
push esi
push edi
mov dword [ebp - 0x2c], eax
call fcn.00580720
test edx, edx
jg 0x4681ee
jl 0x4681a7
cmp eax, 0x2710
ja 0x4681ee
test eax, eax
je 0x4681b8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x67ab68]
push ecx
push eax
jmp 0x4681ca
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
test eax, eax
push ecx
je 0x4681d9
mov edx, dword [0x67ab64]
push eax
lea eax, [ebp - 0x7c]
push edx
push eax
call fcn.0057f2ea
add esp, 0x10
jmp 0x4681ff
mov edx, dword [0x67ab60]
lea eax, [ebp - 0x7c]
push edx
push eax
call fcn.0057f2ea
add esp, 0xc
jmp 0x4681ff
lea ecx, [ebp - 0x7c]
push 0x64ee6c
push ecx
call fcn.0057f2ea
add esp, 8
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x3c]
push edx
push eax
lea ecx, [ebp - 0xfc]
push 0x655628
push ecx
call fcn.0057f2ea
add esp, 0x10
lea eax, [ebp - 0xfc]
push eax
jmp 0x46829a
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0xfc]
push edx
push 0x64efb0
push eax
jmp 0x468246
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0xfc]
push ecx
push 0x64efb0
push edx
call fcn.0057f2ea
add esp, 0xc
lea eax, [ebp - 0xfc]
push eax
jmp 0x46829a
fld dword [ebp - 0x1c]
call fcn.0057edf8
mov esi, eax
mov dword [ebp - 0x2c], esi
fild dword [ebp - 0x2c]
fsubr dword [ebp - 0x1c]
fmul dword [0x5d1108]
call fcn.0057edf8
lea ecx, [ebp + 8]
push eax
push ecx
lea edx, [ebp - 0x3c]
push esi
push edx
lea eax, [ebp - 0xfc]
push 0x655614
push eax
call fcn.0057f2ea
add esp, 0x18
lea ecx, [ebp - 0xfc]
push ecx
lea ecx, [ebx + 0x234]
call fcn.0059a32a
fld dword [ebp - 0x1c]
call fcn.0057edf8
cmp dword [ebx + 0x4e8], eax
je 0x4684b4
lea edx, [ebp - 0x3c]
push 0xa
push edx
push eax
mov dword [ebx + 0x4e8], eax
call fcn.005845ad
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea esi, [eax + 0x514]
mov ecx, esi
call fcn.00401070
test ebx, ebx
je 0x46832c
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46832c
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x46832c
lea ecx, [eax + eax + 2]
push ecx
call fcn.005970d9
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x46832c
mov edx, dword [esi + 8]
push edx
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call edi
mov dword [esi + 8], eax
mov eax, 0x65560c
test eax, eax
je 0x4683ba
push eax
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x4683ba
mov eax, dword [esi]
test eax, eax
je 0x468359
push eax
call fcn.0057e90a
add esp, 4
mov edi, eax
jmp 0x46835b
xor edi, edi
push 0x65560c
call fcn.0057e90a
add eax, edi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005970d9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4683ba
mov eax, dword [esi]
test eax, eax
je 0x468397
push eax
push ebx
call fcn.0057eaaa
push 0x65560c
push ebx
call fcn.0057ea80
add esp, 0x10
jmp 0x4683a5
push 0x65560c
push ebx
call fcn.0057eaaa
add esp, 8
mov ecx, esi
call fcn.00401070
push ebx
mov dword [esi], ebx
call fcn.0057e90a
add esp, 4
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x20]
mov edi, dword [edx + 0x508]
test edi, edi
jne 0x4683d3
mov eax, edx
lea edi, [eax + 0x50c]
test edi, edi
je 0x468448
push edi
call fcn.0057e90a
add esp, 4
test eax, eax
je 0x468448
mov eax, dword [esi]
test eax, eax
je 0x4683f3
push eax
call fcn.0057e90a
add esp, 4
mov ebx, eax
jmp 0x4683f5
xor ebx, ebx
push edi
call fcn.0057e90a
add eax, ebx
lea ecx, [eax + eax + 2]
push ecx
call fcn.005970d9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x468448
mov eax, dword [esi]
test eax, eax
je 0x468429
push eax
push ebx
call fcn.0057eaaa
push edi
push ebx
call fcn.0057ea80
add esp, 0x10
jmp 0x468433
push edi
push ebx
call fcn.0057eaaa
add esp, 8
mov ecx, esi
call fcn.00401070
push ebx
mov dword [esi], ebx
call fcn.0057e90a
add esp, 4
mov dword [esi + 8], eax
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x14]
test eax, eax
mov eax, dword [esi]
je 0x468477
test eax, eax
je 0x468467
mov edx, dword [edi + 0xc]
mov esi, eax
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4684a1
mov edx, dword [edi + 0xc]
add esi, 4
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4684a1
test eax, eax
je 0x46847f
mov esi, eax
jmp 0x468482
add esi, 4
push esi
lea ecx, [ebp - 0x14]
call fcn.0059adfd
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp - 0x14]
call fcn.0059ad3d
mov ecx, dword [0x67a16c]
test ecx, ecx
je 0x4684b4
mov edx, dword [edi + 0xc]
push edx
call fcn.004fb720
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4