Function at 0x45c254
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdf5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x138
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x45c3b4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax]
test eax, eax
je 0x45c2fb
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xac], eax
push dword [ebp - 0xbc]
push dword [ebp - 0xac]
push 1
call fcn.0045c9f2
add esp, 0xc
jmp 0x45c3af
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
movzx eax, byte [eax]
test eax, eax
je 0x45c391
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x45c36f
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 2
jge 0x45c38f
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0xf4]
call fcn.0040bec0
mov dword [eax], 0xfecafe8b
jmp 0x45c364
jmp 0x45c3af
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x45c3af
push 0x225d
push 0x1c9e
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x45c9e1
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x80], 0xd36
mov dword [ebp - 0xe8], str.fcpenx_hts_vvyk_jcud_tlk_bps_bxf_iad_lsc_hjay_tzlwmnyg
cmp dword [ebp - 0x80], 0xf46
jle 0x45c496
push 0
push 0
push 0x231
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and dword [ebp - 0x38], 0
jmp 0x45c3f9
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3c10
jge 0x45c486
and dword [ebp - 0x40], 0
jmp 0x45c413
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x1f72
jge 0x45c481
and dword [ebp - 0x3c], 0
jmp 0x45c429
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x47f9
jge 0x45c47f
and dword [ebp - 0x30], 0
jmp 0x45c43f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x10d0
jge 0x45c47d
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
sar eax, cl
mov ecx, dword [ebp - 0x3c]
and ecx, dword [ebp - 0x30]
or eax, ecx
cdq
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ecx, 0xaa47f8
call fcn.0040bbab
jmp 0x45c438
jmp 0x45c422
jmp 0x45c40c
jmp 0x45c3f2
push 0xe23
push 0xcfd
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd8], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x80], 0xbd8
jge 0x45c4bc
mov edx, dword [ebp - 0xe8]
mov ecx, 0xaa47f8
call fcn.0040e430
jmp 0x45c4d8
or dword [ebp - 4], 0xffffffff
jmp 0x45c4e2
mov dword [ebp - 0x18], 0xc93b4e1
push 3
lea ecx, [ebp - 0x104]
call fcn.0040bdd2
mov dword [ebp - 0x48], 0xc87778e1
mov dword [ebp - 0x34], 0
jmp 0x45c50d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x45c529
push dword [ebp - 0x34]
lea ecx, [ebp - 0x104]
call fcn.0040bec0
mov dword [eax], 0x55ebda18
jmp 0x45c506
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x45c53d
push 0
call dword [sym.imp.USER32.dll_CreateIconIndirect]
mov dword [ebp - 0x18], 0
jmp 0x45c54d
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe9
jle 0x45c9b6
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x130], 0x580090ae
mov dword [ebp - 0x12c], 0x580090ae
mov dword [ebp - 0x128], 0x580090ae
mov dword [ebp - 0x124], 0x580090ae
lea ecx, [ebp - 0x4d]
call fcn.0040becf
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x148]
call fcn.0040bed2
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x11c]
call fcn.0040be7e
mov dword [ebp - 0x54], 0xd633c668
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x45c5dc
push 0x1eb4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 0x20], 0xffffffec
jmp 0x45c5ec
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
je 0x45c9a6
mov dword [ebp - 0x14], 9
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 0
jmp 0x45c614
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10
jl 0x45c9a1
mov dword [ebp - 0x28], 0xfffffff8
mov dword [ebp - 0x78], 0x4a126529
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x45c640
mov dword [ebp - 0x84], 1
jmp 0x45c647
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0xf6cb
jge 0x45c65f
mov dword [ebp - 0xb0], 1
jmp 0x45c666
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jne 0x45c677
mov dword [ebp - 0x44], 1
jmp 0x45c67b
and dword [ebp - 0x44], 0
push 2
lea ecx, [ebp - 0x104]
call fcn.0040bec0
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x44], eax
jne 0x45c69e
mov dword [ebp - 0x64], 1
jmp 0x45c6a2
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x64]
jle 0x45c6b6
mov dword [ebp - 0xa4], 1
jmp 0x45c6bd
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xa4], eax
jl 0x45c6d1
mov dword [ebp - 0x6c], 1
jmp 0x45c6d5
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x6c]
inc eax
cmp eax, dword [ebp - 0x18]
jl 0x45c6ee
mov dword [ebp - 0x8c], 1
jmp 0x45c6f5
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x8c]
jl 0x45c709
mov dword [ebp - 0x74], 1
jmp 0x45c70d
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x74], eax
jne 0x45c721
mov dword [ebp - 0x9c], 1
jmp 0x45c728
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], eax
push 1
lea ecx, [ebp - 0x11c]
call fcn.0040bec0
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
cmp dword [ebp - 0x7c], 0x95dbc2a
jne 0x45c75c
mov dword [ebp - 0x94], 1
jmp 0x45c763
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x1c], 0
je 0x45c790
cmp dword [ebp - 0x1c], 0
je 0x45c790
mov dword [ebp - 0x5c], 1
jmp 0x45c794
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0xf3e4c996
je 0x45c7a6
mov dword [ebp - 0x60], 1
jmp 0x45c7aa
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
add eax, 0xb
cmp eax, 0xad92
jne 0x45c7c0
mov dword [ebp - 0x68], 1
jmp 0x45c7c4
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x68]
jne 0x45c7d5
mov dword [ebp - 0x70], 1
jmp 0x45c7d9
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x78], eax
jle 0x45c7f0
mov dword [ebp - 0x58], 1
jmp 0x45c7f4
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x28], eax
jg 0x45c80e
mov dword [ebp - 0x88], 1
jmp 0x45c815
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
push 2
lea ecx, [ebp - 0x104]
call fcn.0040bec0
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x11c]
call fcn.0040bec0
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x4c]
test eax, eax
je 0x45c97c
mov dword [ebp - 0xa0], 0x34f97039
mov dword [ebp - 0x1c], 3
jmp 0x45c875
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x45c973
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x140], eax
mov eax, 0xffff
test eax, eax
jne 0x45c89f
xor eax, eax
inc eax
jne 0x45c89f
and dword [ebp - 0x90], 0
jmp 0x45c8a9
mov dword [ebp - 0x90], 1
imul eax, dword [ebp - 0x90], 0xffff
cmp eax, 0xd3b05e26
jae 0x45c8c6
mov dword [ebp - 0x98], 1
jmp 0x45c8cd
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x98], eax
jg 0x45c8e7
mov dword [ebp - 0xb8], 1
jmp 0x45c8ee
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x54], 0x120b879b
je 0x45c90c
mov dword [ebp - 0xc0], 1
jmp 0x45c913
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x13c], eax
push 2
lea ecx, [ebp - 0x104]
call fcn.0040bec0
cmp dword [eax], 0x57af
jg 0x45c940
mov dword [ebp - 0xa8], 1
jmp 0x45c947
and dword [ebp - 0xa8], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.0040bec0
mov esi, dword [eax]
imul esi, dword [ebp - 0xa8]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.0040bec0
mov dword [eax], esi
jmp 0x45c86e
mov dword [ebp - 0x28], 0x9e1d6210
jmp 0x45c99c
mov dword [ebp - 0xc8], 0x63d476fc
cmp dword [ebp - 0xc8], 0
je 0x45c991
jmp 0x45c9a1
cmp dword [ebp - 0x14], 0
je 0x45c99c
jmp 0x45c60d
jmp 0x45c60d
jmp 0x45c5e5
lea ecx, [ebp - 0x11c]
call fcn.0040bea4
jmp 0x45c546
lea ecx, [ebp - 0x104]
call fcn.0040bea4
push 0
push 0x2c3c
push dword [ebp - 0xd0]
push 0x48cb
push dword [ebp - 0xd8]
call fcn.0041ebb3
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret