Function at 0x40a5c0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x50
mov eax, dword [0x4946c0]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push edi
push ebp
mov ebx, ecx
push str.title_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
call fcn.00450be9
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x10
push esi
push ebx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.path_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push esi
add ecx, 4
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.startfolder_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
add esp, 0x10
push esi
lea ecx, [ebx + 0x156]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.launchpath_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
add esp, 0x10
push esi
lea ecx, [ebx + 0x51]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
add ebx, 0x570
cmp dword [ebx], 0
je 0x40a6ce
push ebp
push str.icon_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov eax, dword [ebx]
sub eax, 0x10
add esp, 0x10
cmp dword [eax + 0xc], 1
jle 0x40a6c3
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
call fcn.00401aa0
mov edx, dword [ebx]
push esi
push edx
lea eax, [esp + 0x20]
push eax
jmp 0x40a6d6
push esi
push 0
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.module_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
mov ebx, dword [esp + 0x1c]
add esp, 0x10
push esi
lea eax, [ebx + 0x109]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.opengllib_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
add esp, 0x10
push esi
add ebx, 0x146
push ebx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.notes_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x568]
add esp, 0x10
push esi
lea ebx, [esp + 0x18]
call fcn.00407610
push eax
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.registry_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x56c]
add esp, 0x10
push esi
call fcn.00407610
push eax
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.ver_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebx + 0x15c]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.monitorid_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [ebx + 0x1a0]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.filterid_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
movsx eax, word [ebx + 0x1c2]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.renderer_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
movsx edx, word [ebx + 0x1c0]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.coord_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [ebx + 0x160]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.flag_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
mov eax, dword [ebx + 0x164]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.flagg_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov edx, dword [ebx + 0x168]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.flagh_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [ebx + 0x16c]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.flagi_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
mov eax, dword [ebx + 0x170]
push eax
push 0x472768
push 0x20
lea ecx, [esp + 0x54]
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.flagj_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov edx, dword [ebx + 0x174]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.flagk_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [ebx + 0x178]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.flagl_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
mov eax, dword [ebx + 0x17c]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.flagm_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov edx, dword [ebx + 0x180]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.flagn_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [ebx + 0x184]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.flago_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
mov eax, dword [ebx + 0x188]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.flagp_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov edx, dword [ebx + 0x18c]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.flagq_i
push 0x20
lea eax, [esp + 0x24]
push eax
call fcn.00450be9
mov ecx, dword [ebx + 0x190]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.tflag_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
mov eax, dword [ebx + 0x194]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.dflag_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov edx, dword [ebx + 0x198]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.dflagb_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [ebx + 0x19c]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.posx_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
movsx eax, word [ebx + 0x1a4]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.posy_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
movsx edx, word [ebx + 0x1a6]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.sizx_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
movsx ecx, word [ebx + 0x1a8]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.sizy_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
movsx eax, word [ebx + 0x1aa]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.maxfps_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
movsx edx, word [ebx + 0x1b0]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.initts_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
movsx ecx, word [ebx + 0x1b2]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.winver_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
movsx eax, word [ebx + 0x1b4]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.maxres_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
movsx edx, word [ebx + 0x1b6]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.swapeffect_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
movsx ecx, word [ebx + 0x1b8]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.maxddinterface_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
movsx eax, word [ebx + 0x1ba]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.slowratio_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
movsx edx, word [ebx + 0x1bc]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.scanline_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
movsx ecx, word [ebx + 0x1be]
push ecx
push 0x472768
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.initresw_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
movsx eax, word [ebx + 0x1ac]
push eax
push 0x472768
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.initresh_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
movsx edx, word [ebx + 0x1ae]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.fakehddrive_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
movsx ecx, byte [ebx + 0x1ca]
push ecx
push 0x474974
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.fakecddrive_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
movsx eax, byte [ebx + 0x1cb]
push eax
push 0x474974
push 0x20
lea ecx, [esp + 0x54]
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.cdvol_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
movsx edx, word [ebx + 0x1c8]
push edx
push 0x472768
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.fakehd_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, 0x25b
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40b0f5
sub eax, dword [esp + 0xc]
push esi
je 0x40b10b
push ecx
lea eax, [esp + 0x20]
push eax
jmp 0x40b112
push 0
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.fakecd_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
mov edx, dword [esp + 0x20]
add esp, 0x10
add edx, 0x360
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0xc], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b141
sub eax, dword [esp + 0xc]
push esi
je 0x40b157
push edx
lea edx, [esp + 0x20]
push edx
jmp 0x40b15e
push 0
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.fakecdlabel_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov edx, dword [esp + 0x20]
add esp, 0x10
add edx, 0x465
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0xc], ecx
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b190
sub eax, dword [esp + 0xc]
push esi
je 0x40b1a6
push edx
lea edx, [esp + 0x20]
push edx
jmp 0x40b1ad
push 0
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.codepage_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
movsx edx, word [ebx + 0x1ce]
push edx
push 0x47276c
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.lang_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
movsx ecx, word [ebx + 0x1d0]
push ecx
push 0x47276c
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
push ebp
push str.country_i
lea edx, [esp + 0x20]
push 0x20
push edx
call fcn.00450be9
movsx eax, word [ebx + 0x1cc]
push eax
push 0x47276c
lea ecx, [esp + 0x50]
push 0x20
push ecx
call fcn.00450be9
add esp, 0x20
push esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x20]
push eax
push str.target
call edi
push ebp
push str.commitaddress_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00450be9
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x57c]
push edx
push 0x47276c
lea eax, [esp + 0x50]
push 0x20
push eax
call fcn.00450be9
add esp, 0x20
push esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.target
call edi
push ebp
push str.commitlength_i
lea eax, [esp + 0x20]
push 0x20
push eax
call fcn.00450be9
mov ecx, dword [ebx + 0x580]
push ecx
push 0x47276c
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.00450be9
add esp, 0x20
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.target
call edi
mov edx, dword [esp + 0x14]
push edx
call fcn.00453c5c
mov ecx, dword [esp + 0x5c]
add esp, 4
pop edi
pop ebp
mov dword [ebx + 0x578], 0
pop ebx
xor ecx, esp
call fcn.00450c28
add esp, 0x50
ret