Function at 0x429e80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
mov eax, dword [0x4af6f0]
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 [0x4b550c]
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 [0x4b550c]
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.0046f6e0
push dword [ebx + 4]
lea eax, [ebp - 0x404]
push 0x100
push eax
push 0x122
push dword [ebx]
call fcn.00467110
add esp, 0x20
test eax, eax
je 0x429f59
push 0
push 0x4c82d0
push 0x48d54c
lea eax, [ebp - 0x404]
push 0x100
push eax
call fcn.00440530
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.0046f6e0
push dword [ebx + 4]
lea eax, [ebp - 0x604]
push 0x100
push eax
push 0x123
push dword [ebx]
call fcn.00467110
add esp, 0x20
test eax, eax
je 0x429fa9
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.0046f6e0
mov ecx, dword [ebx + 0x14]
mov eax, 0x2a4b80c9
sub ecx, dword [ebx + 0x10]
add esp, 0xc
imul ecx
xor esi, esi
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42a119
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [ebp - 0x608], ecx
jmp 0x42a010
mov eax, dword [ebx + 0x10]
cmp dword [eax + ecx + 0x3064], 0
je 0x42a0e1
push 0x100
lea edx, [ebp - 0x204]
push edx
push 2
push dword [eax + ecx + 0x3058]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test byte [ebx + 8], 8
je 0x42a073
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.0043faf0
lea eax, [ebp - 0x204]
push eax
call fcn.0043df30
lea eax, [ebp - 0x204]
push eax
push str.ChoiceLangDlg_InitDialog____szLangName:__s
call fcn.00469290
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
push 0
push 0x143
push dword [ebp - 0x60c]
call edi
cmp eax, 0xffffffff
je 0x42a09d
push esi
push eax
push 0x151
push dword [ebp - 0x60c]
call edi
mov ecx, dword [ebp - 0x608]
mov eax, dword [ebx + 0x10]
add ecx, 0x410
add eax, ecx
push eax
push dword [ebx + 0xc]
push esi
push str.i:__d__lpChoiceLangInfo__uiIndex:__d___LangName:__s
call fcn.00469290
add esp, 0x10
cmp esi, dword [ebx + 0xc]
jne 0x42a0db
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 0x60c]
call edi
mov ecx, dword [ebp - 0x608]
add ecx, 0x306c
mov eax, 0x2a4b80c9
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, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x42a010
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 0x42a157
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]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret