Function at 0x4292e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4942e0
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x4ae480]
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 [0x4b3e5c]
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 0x4293bf
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 0x4293bf
lea ecx, [eax + 1]
cmp ecx, 0x80
jbe 0x4293a6
mov eax, ecx
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0047c4da
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x320], ecx
jmp 0x4293ac
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.00416be0
mov ebx, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x32c], eax
cmp ebx, 0xffffffff
jne 0x429415
push edi
push dword [ebp - 0x320]
push dword [ebp - 0x324]
push esi
call fcn.00477850
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 0x4296c6
movzx eax, word [edi + 0x34]
test ax, ax
je 0x429480
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42946d
lea eax, [ebp - 0x218]
jmp 0x4294b2
movzx ecx, word [0x4b4290]
mov eax, 0x4b4290
mov edx, 0xec
jmp 0x429491
movzx ecx, word [0x4b4310]
mov eax, 0x4b4310
mov edx, 0x85
mov dword [ebp - 0x324], eax
test cx, cx
jne 0x4294ac
push 0x40
push eax
push edx
push dword [0x4b2a34]
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 [0x4b3e0c]
sub eax, 0
je 0x429569
sub eax, 1
jne 0x4295ca
cmp dword [ebp - 0x324], eax
je 0x429542
mov eax, 0xcccccccd
mul ecx
movzx eax, word [0x4b3df8]
shr edx, 3
push edx
push eax
push dword [ebp - 0x324]
push str._u_c_02u_MB
jmp 0x42957b
test ecx, ecx
je 0x429561
mov eax, 0xcccccccd
mul ebx
movzx eax, word [0x4b3df8]
shr edx, 3
push edx
push eax
push ecx
push str._u_c_02u_KB
jmp 0x42957b
push ebx
push str._u_B
jmp 0x4295b6
mov eax, dword [ebp - 0x324]
push ebx
test eax, eax
je 0x429591
push ecx
push eax
push str._u__03u__03u
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00401670
add esp, 0x18
jmp 0x4295ca
test ecx, ecx
je 0x4295b1
push ecx
push str._u__03u
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00401670
add esp, 0x14
jmp 0x4295ca
push 0x4a4fec
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00401670
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.00417e20
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 0x4296f8
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 0x42973a
push 0x428b70
push dword [ebp - 0x328]
push 0x1030
push esi
call ebx
mov edx, edi
mov ecx, esi
call fcn.00429230
mov eax, dword [ebp - 0x320]
test eax, eax
je 0x429757
lea ecx, [ebp - 0x318]
cmp eax, ecx
je 0x429757
push eax
call fcn.004568b0
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.0047c26b
mov esp, ebp
pop ebp
ret