Function at 0x48e5d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61d4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x8d0]
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x48ed01
mov ecx, dword [eax + 0x31c]
mov esi, 0x20
cmp ecx, esi
jne 0x48e634
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
jmp 0x48e646
mov edx, dword [eax + 0x8d0]
mov ecx, dword [edx + 0x1b8]
mov edx, dword [edx + 0x1bc]
mov dword [ebp - 0x1c], ecx
or ecx, edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
jne 0x48e680
test ecx, ecx
je 0x48e66e
cmp dword [eax + 0x31c], esi
je 0x48e66e
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
or edx, esi
mov dword [ebp - 0x18], esi
jne 0x48e680
mov edx, dword [eax + 0x110]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0x114]
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 0x8d0]
mov esi, dword [eax + 0x1c0]
mov edx, esi
mov dword [ebp - 0x28], esi
mov edi, dword [eax + 0x1c4]
or edx, edi
mov dword [ebp - 0x24], edi
jne 0x48e6bc
test ecx, ecx
je 0x48ed01
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov eax, esi
mov dword [ebp - 0x28], esi
or eax, edi
mov dword [ebp - 0x24], edi
je 0x48ed01
lea ecx, [ebp - 0x3c]
push ecx
push edi
push esi
mov ecx, ebx
call fcn.0048ed30
lea edx, [ebp - 0x44]
push 8
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x48e709
mov edi, 0x6a4160
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x44]
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 - 0x28]
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
or ecx, eax
je 0x48e7cc
mov eax, dword [ebx]
mov edx, dword [eax + 0x488]
mov ecx, dword [eax + 0x48c]
or edx, ecx
jne 0x48e74e
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
add eax, 0x110
or ecx, edx
jne 0x48e74e
lea edx, [ebp - 0x1c]
mov ecx, ebx
push edx
push 0x1473
call fcn.0048db50
fild qword [ebp - 0x28]
fild qword [ebp - 0x1c]
fld st(1)
fmul dword [0x635658]
fdiv st(1)
fst dword [ebp - 0x14]
call fcn.005e6974
cmp dword [ebx + 0x840], eax
je 0x48e86f
fxch st(1)
fmul dword [0x632060]
fdiv st(1)
call fcn.005e6974
push 0
push eax
mov eax, dword [ebx + 0xe8]
push 0x402
push eax
fstp st(0)
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6d12c8]
test eax, eax
je 0x48e873
mov eax, dword [ebx + 0x7d8]
test eax, eax
je 0x48e873
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebx + 0x10]
push edi
push esi
push edx
push eax
call dword [ecx + 0x24]
jmp 0x48e873
mov esi, dword [ebx]
fld qword [esi + 0x380]
fcomp qword [0x633d48]
fnstsw ax
test ah, 0x41
jne 0x48e873
mov edi, dword [esi + 0x8d0]
fld qword [edi + 0x188]
fmul qword [0x635660]
fdiv qword [esi + 0x380]
fst dword [ebp - 0x14]
call fcn.005e6974
cmp dword [ebx + 0x840], eax
je 0x48e873
fld qword [edi + 0x188]
fmul qword [0x635a30]
fdiv qword [esi + 0x380]
call fcn.005e6974
push 0
push eax
mov eax, dword [ebx + 0xe8]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x6d12c8]
test eax, eax
je 0x48e873
mov esi, dword [ebx + 0x7d8]
test esi, esi
je 0x48e873
fld dword [ebp - 0x14]
fmul dword [0x635a28]
mov edi, dword [esi]
push 0
push 0x186a0
call fcn.005e6974
mov ecx, dword [ebx + 0x10]
push edx
push eax
push ecx
push esi
call dword [edi + 0x24]
jmp 0x48e873
fstp st(0)
fstp st(0)
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x44]
cmp eax, 4
je 0x48e886
cmp eax, 5
jne 0x48e9ad
fld qword [ecx + 0x380]
fcomp qword [0x633d48]
fnstsw ax
test ah, 0x41
je 0x48e9ad
mov eax, dword [ecx + 0x8d0]
test eax, eax
je 0x48e9fb
mov edx, eax
fld qword [edx + 0x188]
call fcn.005e6974
mov esi, edx
mov edi, eax
test esi, esi
jl 0x48e99b
jg 0x48e8ce
test edi, edi
jb 0x48e99b
push 0
push 0x3c
push esi
push edi
call fcn.005e8310
mov dword [ebp - 0x24], eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.005e8260
push 0
push 0x3c
push edx
push eax
call fcn.005e8310
push 0
push 0xe10
push esi
push edi
mov dword [ebp + 8], eax
call fcn.005e8260
test edx, edx
jg 0x48e966
jl 0x48e919
cmp eax, 0x2710
ja 0x48e966
test eax, eax
je 0x48e92a
mov ecx, dword [ebp + 8]
mov edx, dword [0x6d2100]
push ecx
push eax
jmp 0x48e93c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
test eax, eax
push ecx
je 0x48e94e
mov edx, dword [0x6d20fc]
push eax
lea eax, [ebp - 0x84]
push edx
push eax
call fcn.005e6db3
add esp, 0x10
jmp 0x48e97a
mov edx, dword [0x6d20f8]
lea eax, [ebp - 0x84]
push edx
push eax
call fcn.005e6db3
add esp, 0xc
jmp 0x48e97a
lea ecx, [ebp - 0x84]
push 0x69ffa0
push ecx
call fcn.005e6db3
add esp, 8
lea edx, [ebp - 0x84]
lea eax, [ebp - 0x3c]
push edx
push eax
lea ecx, [ebp - 0x104]
push str._s____s_
push ecx
call fcn.005e6db3
add esp, 0x10
jmp 0x48ea13
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x104]
push edx
push 0x6a00a0
push eax
jmp 0x48ea0b
fld dword [ebp - 0x14]
fcomp qword [0x635650]
fnstsw ax
test ah, 1
je 0x48e9fb
fld dword [ebp - 0x14]
call fcn.005e6974
mov esi, eax
mov dword [ebp + 8], esi
fild dword [ebp + 8]
fsubr dword [ebp - 0x14]
fmul dword [0x635658]
call fcn.005e6974
lea ecx, [ebp - 0x44]
push eax
push ecx
lea edx, [ebp - 0x3c]
push esi
push edx
lea eax, [ebp - 0x104]
push str._s_____d_s_02d_____
push eax
call fcn.005e6db3
add esp, 0x18
jmp 0x48ea13
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x104]
push ecx
push 0x6a00a0
push edx
call fcn.005e6db3
add esp, 0xc
lea eax, [ebp - 0x104]
lea ecx, [ebx + 0x428]
push eax
call fcn.004840f0
fld dword [ebp - 0x14]
call fcn.005e6974
mov ecx, eax
mov eax, dword [ebx + 0x840]
cmp eax, ecx
je 0x48ed01
fld dword [ebp - 0x14]
fcomp qword [0x635650]
mov dword [ebx + 0x840], ecx
fnstsw ax
test ah, 1
je 0x48ebef
lea edx, [ebp - 0x3c]
push 0xa
push edx
push ecx
call fcn.005ea38f
mov ebx, eax
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea esi, [eax + 0x86c]
mov ecx, esi
call fcn.00401070
test ebx, ebx
je 0x48eac4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x48eac4
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 0x48eac4
lea ecx, [eax + eax + 2]
push ecx
call fcn.005feedc
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x48eac4
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, 0x6a79b8
test eax, eax
je 0x48eb52
push eax
call fcn.005e639f
add esp, 4
test eax, eax
je 0x48eb52
mov eax, dword [esi]
test eax, eax
je 0x48eaf1
push eax
call fcn.005e639f
add esp, 4
mov edi, eax
jmp 0x48eaf3
xor edi, edi
push 0x6a79b8
call fcn.005e639f
add eax, edi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
je 0x48eb52
mov eax, dword [esi]
test eax, eax
je 0x48eb2f
push eax
push edi
call fcn.005e6569
push 0x6a79b8
push edi
call fcn.005e653f
add esp, 0x10
jmp 0x48eb3d
push 0x6a79b8
push edi
call fcn.005e6569
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.005e639f
add esp, 4
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x860]
test ebx, ebx
jne 0x48eb6d
lea ebx, [eax + 0x864]
test ebx, ebx
je 0x48eca4
push ebx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x48eca4
mov eax, dword [esi]
test eax, eax
je 0x48eb91
push eax
call fcn.005e639f
add esp, 4
mov edi, eax
jmp 0x48eb93
xor edi, edi
push ebx
call fcn.005e639f
add eax, edi
lea edx, [eax + eax + 2]
push edx
call fcn.005feedc
mov edi, eax
add esp, 8
test edi, edi
je 0x48eca4
mov eax, dword [esi]
test eax, eax
je 0x48ebcb
push eax
push edi
call fcn.005e6569
push ebx
push edi
call fcn.005e653f
add esp, 0x10
jmp 0x48ebd5
push ebx
push edi
call fcn.005e6569
add esp, 8
mov ecx, esi
call fcn.00401070
push edi
mov dword [esi], edi
call fcn.005e639f
add esp, 4
mov dword [esi + 8], eax
jmp 0x48eca4
mov edi, dword [ebx + 0x860]
test edi, edi
jne 0x48ebff
lea edi, [ebx + 0x864]
test edi, edi
lea esi, [ebx + 0x86c]
je 0x48ec5e
cmp dword [esi], 0
je 0x48ec5e
push edi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x48ec5e
mov eax, dword [esi]
cmp eax, edi
ja 0x48ec5e
push eax
call fcn.005e639f
mov ecx, dword [esi]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, edi
jb 0x48ec5e
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040e5a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402400
push eax
mov ecx, esi
call fcn.00402410
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x48eca4
mov ecx, esi
call fcn.00401070
test edi, edi
je 0x48eca4
push edi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x48eca4
push edi
call fcn.005e639f
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x48eca4
push edi
call fcn.005e639f
mov ecx, dword [esi]
push edi
push ecx
mov dword [esi + 8], eax
call fcn.005e6569
add esp, 0xc
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x14]
test eax, eax
mov eax, dword [esi]
je 0x48ecc4
test eax, eax
jne 0x48ecb7
lea eax, [esi + 4]
mov edx, dword [edi + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x48ecee
test eax, eax
jne 0x48eccb
lea eax, [esi + 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00402500
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x10]
add esp, 8
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [ebp + 8]
call fcn.00602ad6
mov ecx, dword [0x6d142c]
test ecx, ecx
je 0x48ed01
mov eax, dword [edi + 0x10]
push eax
call fcn.00539540
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4