Function at 0x464820
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
push 8
push esi
mov dword [ebp - 0x610], esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x10
push 0x10
push 1
push 1
push dword [0x4c1264]
call edi
push eax
push 0xffffffffffffffde
push esi
mov esi, dword [sym.imp.USER32.dll_SetClassLongW]
call esi
push 0
push 0x20
push 0x20
push 1
push 1
push dword [0x4c1264]
call edi
mov edi, dword [ebp - 0x610]
push eax
push 0xfffffffffffffff2
push edi
call esi
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0046a330
push dword [ebx + 4]
lea eax, [ebp - 0x404]
push 0x100
push eax
push 0x122
push dword [ebx]
call fcn.004510f0
add esp, 0x20
test eax, eax
je 0x4648f9
push 0
push 0x4c2400
push 0x489b1c
lea eax, [ebp - 0x404]
push 0x100
push eax
call fcn.0042f2e0
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x604], ax
lea eax, [ebp - 0x602]
push eax
call fcn.0046a330
push dword [ebx + 4]
lea eax, [ebp - 0x604]
push 0x100
push eax
push 0x123
push dword [ebx]
call fcn.004510f0
add esp, 0x20
test eax, eax
je 0x464949
lea eax, [ebp - 0x604]
push eax
push 0x3eb
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3f1
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x60c], eax
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0046a330
mov ecx, dword [ebx + 0x14]
mov eax, 0x5397829d
sub ecx, dword [ebx + 0x10]
add esp, 0xc
imul ecx
xor esi, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x464ab9
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [ebp - 0x608], ecx
jmp 0x4649b0
mov eax, dword [ebx + 0x10]
cmp dword [eax + ecx + 0x61c], 0
je 0x464a81
push 0x100
lea edx, [ebp - 0x204]
push edx
push 2
push dword [eax + ecx + 0x618]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test byte [ebx + 8], 8
je 0x464a13
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0042e8d0
lea eax, [ebp - 0x204]
push eax
call fcn.0042e820
lea eax, [ebp - 0x204]
push eax
push str.ChoiceLangDlg_InitDialog____szLangName:__s
call fcn.0045f4c0
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
push 0
push 0x143
push dword [ebp - 0x60c]
call edi
cmp eax, 0xffffffff
je 0x464a3d
push esi
push eax
push 0x151
push dword [ebp - 0x60c]
call edi
mov ecx, dword [ebp - 0x608]
mov eax, dword [ebx + 0x10]
add ecx, 0x208
add eax, ecx
push eax
push dword [ebx + 0xc]
push esi
push str.i:__d__lpChoiceLangInfo__uiIndex:__d___LangName:__s
call fcn.0045f4c0
add esp, 0x10
cmp esi, dword [ebx + 0xc]
jne 0x464a7b
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 0x60c]
call edi
mov ecx, dword [ebp - 0x608]
add ecx, 0x620
mov eax, 0x5397829d
mov dword [ebp - 0x608], ecx
inc esi
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0x10]
imul ecx
mov ecx, dword [ebp - 0x608]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4649b0
mov edi, dword [ebp - 0x610]
mov eax, dword [ebx + 8]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push 2
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [ebx + 8], 4
je 0x464af7
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [0x4c0e31], 0
je 0x464b14
cmp dword [0x4c1fc4], 0
je 0x464b14
push 0
push edi
call fcn.00436ed0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret