Function at 0x4043d3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4048b7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x4046a9
mov dword [ebp - 0x18], 0x8901f2c
push 1
lea ecx, [ebp - 0x100]
call fcn.0040bdd2
mov dword [ebp - 4], 0
jmp 0x404439
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x40444f
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x12c], 0x6af1
jmp 0x404432
mov dword [ebp - 4], 0
jmp 0x40445f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x40447b
push dword [ebp - 4]
lea ecx, [ebp - 0x100]
call fcn.0040bec0
mov dword [eax], 0x5c19c5a6
jmp 0x404458
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x40449e
push 0
push 0xe3c
push 0x783
push 0xecd
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov dword [ebp - 0x18], 0
jmp 0x4044ae
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x4044c4
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x12c], 0xa3df
jmp 0x4044a7
lea ecx, [ebp - 0x100]
call fcn.0040bea4
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x1c], 1
push 3
lea ecx, [ebp - 0xa8]
call fcn.0040bdd2
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0xc], 0
jmp 0x404509
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x404525
push dword [ebp - 0xc]
lea ecx, [ebp - 0xa8]
call fcn.0040bec0
mov dword [eax], 0xae4b9a73
jmp 0x404502
mov dword [ebp - 0xc], 0
jmp 0x404535
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x404548
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x34], 0xfffffffc
jmp 0x40452e
cmp dword [ebp - 0x1c], 0
je 0x404592
cmp dword [ebp - 0x1c], 0
jne 0x40457a
cmp dword [ebp - 0x1c], 0x4ad744d0
jg 0x404566
mov dword [ebp - 0x6c], 1
jmp 0x40456a
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
sub eax, 0x6a8977e7
jne 0x40457a
and dword [ebp - 0x50], 0
jmp 0x404581
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x50], eax
jg 0x404592
mov dword [ebp - 0x4c], 1
jmp 0x404596
and dword [ebp - 0x4c], 0
mov esi, dword [ebp - 0x1c]
imul esi, dword [ebp - 0x4c]
push 1
lea ecx, [ebp - 0xa8]
call fcn.0040bec0
mov dword [eax], esi
push 1
lea ecx, [ebp - 0xa8]
call fcn.0040bec0
mov dword [ebp - 0x78], eax
push 2
lea ecx, [ebp - 0xa8]
call fcn.0040bec0
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x78]
cmp dword [eax], 0xe12aa53f
jb 0x4045e4
mov dword [ebp - 0x58], 1
jmp 0x4045e8
and dword [ebp - 0x58], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp dword [ebp - 0x58], eax
je 0x404603
mov dword [ebp - 0xbc], 1
jmp 0x40460a
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0xb44adca1
jae 0x404623
mov dword [ebp - 0x70], 1
jmp 0x404627
and dword [ebp - 0x70], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp dword [ebp - 0x70], eax
jle 0x40463f
mov dword [ebp - 0x60], 1
jmp 0x404643
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0xa8]
call fcn.0040bea4
mov dword [ebp - 0x120], 0x6847dfa8
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x404678
push 0x1509
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x40468f
push 0x1b1e
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push 0x6161
push 0
push dword [ebp - 0xc8]
call fcn.0040869c
add esp, 0xc
jmp 0x4048b2
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x40], 0x3b9da4d0
mov dword [ebp - 0x38], 0xfff7
push 3
lea ecx, [ebp - 0x90]
call fcn.0040bdd2
mov dword [ebp - 0x24], 0xc62bb2c5
mov dword [ebp - 8], 0
jmp 0x4046ee
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x40470a
push dword [ebp - 8]
lea ecx, [ebp - 0x90]
call fcn.0040bec0
mov dword [eax], 0x9d6b9c2d
jmp 0x4046e7
mov dword [ebp - 8], 0
jmp 0x40471a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x404730
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xd0], 0xfffffff6
jmp 0x404713
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x38], 0
je 0x40475f
cmp dword [ebp - 0x40], 0
je 0x404751
cmp dword [ebp - 0x14], 0
je 0x404751
mov dword [ebp - 0x80], 1
jmp 0x404755
and dword [ebp - 0x80], 0
imul eax, dword [ebp - 0x38], 0xfffffff8
sub eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x90]
call fcn.0040bec0
push 0
lea ecx, [ebp - 0x90]
call fcn.0040bec0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x114], eax
mov eax, 0xffff
test eax, eax
je 0x404799
xor eax, eax
inc eax
je 0x404799
mov dword [ebp - 0x68], 1
jmp 0x40479d
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x24], eax
jle 0x4047b4
mov dword [ebp - 0x48], 1
jmp 0x4047b8
and dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0xd0], ecx
or eax, 0xffffffff
je 0x404871
xor eax, eax
jne 0x40484f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xec], eax
push 0
lea ecx, [ebp - 0x90]
call fcn.0040bec0
mov ecx, 0x913e29f9
sub ecx, dword [eax]
cmp ecx, 1
jne 0x404800
mov dword [ebp - 0x54], 1
jmp 0x404804
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x54]
test eax, eax
je 0x404824
mov eax, 0x49ef
test eax, eax
je 0x404824
mov dword [ebp - 0x94], 1
jmp 0x40482b
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xf0], eax
push 1
lea ecx, [ebp - 0x90]
call fcn.0040bec0
cmp dword [eax], 0
jne 0x40484f
and dword [ebp - 0xb8], 0
jmp 0x404859
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0x14], 0
je 0x404871
mov dword [ebp - 0x5c], 1
jmp 0x404875
and dword [ebp - 0x5c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xd0]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x90]
call fcn.0040bea4
push 0x8a
push 0x338f
push 0
push dword [ebp - 0x98]
push 0x35a9
call fcn.00408243
add esp, 0x14
jmp 0x404a85
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x3eb60693
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x28], 0
jmp 0x4048f2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x404908
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x14c], 0xa167c28c
jmp 0x4048eb
cmp dword [ebp - 0x20], 1
jae 0x404917
mov dword [ebp - 0x64], 1
jmp 0x40491b
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x64], eax
je 0x40492c
mov dword [ebp - 0x44], 1
jmp 0x404930
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], eax
jle 0x404944
mov dword [ebp - 0x74], 1
jmp 0x404948
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0xcd45
jg 0x40495a
mov dword [ebp - 0x7c], 1
jmp 0x40495e
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x7c], eax
jle 0x404988
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x404983
push 0x1eb4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x404a61
mov dword [ebp - 0xac], 0xfffe
push 3
lea ecx, [ebp - 0x110]
call fcn.0040bdd2
or dword [ebp - 0xe4], 0xffffffff
or dword [ebp - 0xe0], 0xffffffff
or dword [ebp - 0xdc], 0xffffffff
or dword [ebp - 0xd8], 0xffffffff
lea ecx, [ebp - 0x39]
call fcn.0040becf
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x140]
call fcn.0040bed2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x138]
call fcn.0040be7e
mov dword [ebp - 0x30], 0
jmp 0x4049fd
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x404a16
push dword [ebp - 0x30]
lea ecx, [ebp - 0x110]
call fcn.0040bec0
and dword [eax], 0
jmp 0x4049f6
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x104], eax
xor eax, eax
neg eax
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x138]
call fcn.0040bea4
lea ecx, [ebp - 0x110]
call fcn.0040bea4
push 0
push 0x4636
push 0x3757
push 0x47e0
push dword [ebp - 0xb4]
push 0x6212
call fcn.0040a5f5
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret