Function at 0x4292c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495880
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 0xffffffffffffffeb
push dword [0x4b4e4c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
lea ebx, [edi + 0x38]
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
test ebx, ebx
je 0x4293a0
lea eax, [ebp - 0x318]
mov dword [ebp - 0x320], eax
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push 0xfde9
mov word [ebp - 0x318], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x31c], eax
test eax, eax
je 0x4293a0
lea edx, [eax + 1]
cmp edx, 0x80
jbe 0x429387
xor ecx, ecx
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047d547
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x320], ecx
jmp 0x42938d
mov ecx, dword [ebp - 0x320]
inc eax
push eax
push ecx
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x328]
xor eax, eax
mov dword [ebp - 4], 0
cmp dword [edi + 0xc], eax
mov edx, dword [ebp - 0x320]
cmovne edx, eax
lea eax, [ebp - 0x324]
push eax
call fcn.00416c60
mov ebx, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x32c], eax
cmp ebx, 0xffffffff
jne 0x4293f6
push edi
push dword [ebp - 0x320]
push dword [ebp - 0x324]
push esi
call fcn.00478ca0
mov ebx, eax
mov eax, dword [ebp - 0x32c]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x368]
push eax
push ebx
push 0x1074
push esi
mov dword [ebp - 0x360], 1
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0xc], 0
jne 0x4296a7
movzx eax, word [edi + 0x34]
test ax, ax
je 0x429461
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42944e
lea eax, [ebp - 0x218]
jmp 0x429493
movzx ecx, word [0x4b5280]
mov eax, 0x4b5280
mov edx, 0xec
jmp 0x429472
movzx ecx, word [0x4b5300]
mov eax, 0x4b5300
mov edx, 0x85
mov dword [ebp - 0x324], eax
test cx, cx
jne 0x42948d
push 0x40
push eax
push edx
push dword [0x4b3a24]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x368]
push eax
push ebx
push 0x1074
push esi
mov dword [ebp - 0x360], 2
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [edi + 0x20]
mov eax, 0x431bde83
mul ebx
mov eax, edx
shr eax, 0x12
mov dword [ebp - 0x324], eax
imul eax, eax, 0xf4240
sub ebx, eax
mov eax, 0x10624dd3
mul ebx
mov ecx, edx
shr ecx, 6
imul eax, ecx, 0x3e8
sub ebx, eax
mov eax, dword [0x4b4dfc]
sub eax, 0
je 0x42954a
sub eax, 1
jne 0x4295ab
cmp dword [ebp - 0x324], eax
je 0x429523
mov eax, 0xcccccccd
mul ecx
movzx eax, word [0x4b4de8]
shr edx, 3
push edx
push eax
push dword [ebp - 0x324]
push str._u_c_02u_MB
jmp 0x42955c
test ecx, ecx
je 0x429542
mov eax, 0xcccccccd
mul ebx
movzx eax, word [0x4b4de8]
shr edx, 3
push edx
push eax
push ecx
push str._u_c_02u_KB
jmp 0x42955c
push ebx
push str._u_B
jmp 0x429597
mov eax, dword [ebp - 0x324]
push ebx
test eax, eax
je 0x429572
push ecx
push eax
push str._u__03u__03u
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00401040
add esp, 0x18
jmp 0x4295ab
test ecx, ecx
je 0x429592
push ecx
push str._u__03u
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00401040
add esp, 0x14
jmp 0x4295ab
push 0x4a6054
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00401040
add esp, 0x10
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x368]
push eax
push ebx
push 0x1074
push esi
mov dword [ebp - 0x360], 3
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x28]
lea ecx, [ebp - 0x218]
push dword [edi + 0x2c]
call fcn.00417eb0
add esp, 8
mov dword [ebp - 0x360], 4
lea eax, [ebp - 0x218]
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x368]
push eax
push ebx
push 0x1074
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x1c]
mov eax, ecx
and eax, 0xff00
neg eax
sbb eax, eax
and eax, 0x16
add eax, 0x2d
mov word [ebp - 0x218], ax
mov eax, ecx
and eax, 0x10000
neg eax
sbb eax, eax
and eax, 0x18
add eax, 0x2d
mov word [ebp - 0x216], ax
mov eax, ecx
and eax, 0x1000000
neg eax
sbb eax, eax
and eax, 0x26
add eax, 0x2d
mov word [ebp - 0x214], ax
mov eax, ecx
and eax, 0x2000000
neg eax
sbb eax, eax
and ecx, 0x100000
and eax, 0x17
add eax, 0x2d
neg ecx
mov word [ebp - 0x212], ax
sbb ecx, ecx
and ecx, 0x23
add ecx, 0x2d
xor eax, eax
mov word [ebp - 0x20e], ax
lea eax, [ebp - 0x218]
mov word [ebp - 0x210], cx
mov dword [ebp - 0x354], eax
jmp 0x4296d9
lea eax, [ebp - 0x368]
mov dword [ebp - 0x360], 3
push eax
push ebx
push 0x1074
push esi
mov dword [ebp - 0x354], str._DIR_
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x354], str._DIR_
lea eax, [ebp - 0x368]
mov dword [ebp - 0x360], 5
push eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x1074
push esi
call ebx
cmp byte [ebp + 0xc], 0
je 0x42971b
push 0x428b90
push dword [ebp - 0x328]
push 0x1030
push esi
call ebx
mov edx, edi
mov ecx, esi
call fcn.00429210
mov eax, dword [ebp - 0x320]
test eax, eax
je 0x429738
lea ecx, [ebp - 0x318]
cmp eax, ecx
je 0x429738
push eax
call fcn.00457d30
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret