Function at 0x416697
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bef61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x416987
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x416850
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x2c], 0x387a
mov dword [ebp - 0x44], str.gqnetxaoj_fycw_fxo_xalvyx_nvah_jlawx_gjrflhj_zroakxbc_mjlrk_bbjlnaex_xyj
cmp dword [ebp - 0x2c], 0x392f
jle 0x4167ec
push 0
push 0x1072
push 0
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
and dword [ebp - 0x24], 0
jmp 0x41673d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7862
jge 0x4167ec
and dword [ebp - 0x1c], 0
jmp 0x416757
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1be
jge 0x4167e7
and dword [ebp - 0x28], 0
jmp 0x416771
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xa7e
jge 0x4167e2
and dword [ebp - 0x14], 0
jmp 0x416787
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3f73
jge 0x4167e0
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x14]
and eax, edx
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xb8]
call fcn.00401a1e
pop ecx
pop ecx
mov ecx, eax
call fcn.0043542e
push eax
call fcn.004a9457
pop ecx
lea ecx, [ebp - 0xb8]
call fcn.00435424
jmp 0x416780
jmp 0x41676a
jmp 0x416750
jmp 0x416736
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x4c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x3708
jge 0x41680b
push dword [ebp - 0x44]
call fcn.004a9457
pop ecx
jmp 0x416827
or dword [ebp - 4], 0xffffffff
jmp 0x416831
push 1
push 0x1305
push dword [ebp - 0x74]
push dword [ebp - 0x4c]
push 0x79de
call fcn.004169fa
add esp, 0x14
jmp 0x416985
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x416974
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x30], 0x5af7
mov dword [ebp - 0x48], str.dufxb_nukjt_xqbuj_roffg_wxphu_clbgna_rxzpeg_spjqdnghs_jroyjdms_jguasetrn_iti_nfdcndh_dfz
cmp dword [ebp - 0x30], 0x5c3e
jle 0x41691a
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x18], 0
jmp 0x4168b2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xb53
jge 0x41691a
and dword [ebp - 0x20], 0
jmp 0x4168c8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x40f5
jge 0x416918
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xd0]
call fcn.00401a1e
pop ecx
pop ecx
mov ecx, eax
call fcn.0043542e
push eax
call fcn.004a9457
pop ecx
lea ecx, [ebp - 0xd0]
call fcn.00435424
jmp 0x4168c1
jmp 0x4168ab
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x574c
jge 0x41694c
push dword [ebp - 0x48]
call fcn.004a9457
pop ecx
jmp 0x416968
or dword [ebp - 4], 0xffffffff
jmp 0x416972
jmp 0x416985
push 0x47f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x4169e9
lea eax, [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x4169c3
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
push 0x1fed
push 0
call fcn.00408c18
add esp, 0xc
jmp 0x4169e9
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
push 0
push 0x391
push dword [ebp - 0x78]
push 0x75dd
push dword [ebp - 0x80]
call fcn.00414f5b
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