Function at 0x10032941
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb8
mov eax, dword [0x1024bd20]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc8]
push edi
push 0xa
call fcn.10028633
push eax
call fcn.10037ebd
pop ecx
pop ecx
lea ecx, [esp + 0x34]
mov dword [0x10255f54], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x34]
push eax
push esi
call ebx
lea eax, [esp + 0x3c]
push eax
push esi
call ebx
mov ebp, dword [esp + 0x3c]
xor eax, eax
add ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
sub edi, dword [esp + 0x38]
mov dword [esp + 0x3c], ebp
sub ebp, dword [esp + 0x34]
push 6
inc ebp
inc edi
push edi
push ebp
push eax
push eax
push eax
push dword [0x10255f54]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4b5
push dword [0x10255f54]
call esi
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x34]
push 0x4b0
push dword [0x10255f54]
call esi
movd xmm1, ebx
mov esi, eax
cvtdq2pd xmm1, xmm1
movd xmm0, ebp
mulsd xmm1, qword [0x101d64d8]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm1
subsd xmm0, xmm1
cvttsd2si eax, xmm0
push eax
push 0
push esi
mov dword [esp + 0x24], eax
call fcn.10157760
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
cmp ecx, ebx
jle 0x10032b13
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x44]
xor ebp, ebp
push eax
push 0x5c
push ebp
push ebp
push 0x31
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
movd xmm0, dword [esp + 0x44]
mov eax, dword [0x10255f70]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [str.ffffff]
cvttsd2si ecx, xmm0
mov dword [esp + 0x44], ecx
test eax, eax
je 0x10032a94
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x60]
push eax
movzx eax, byte [esp + 0x63]
push eax
movzx eax, byte [esp + 0x66]
push eax
movzx eax, byte [esp + 0x69]
push eax
movzx eax, byte [esp + 0x6c]
push eax
movzx eax, byte [esp + 0x6f]
push eax
movzx eax, byte [esp + 0x72]
push eax
movzx eax, byte [esp + 0x75]
push eax
movzx eax, byte [esp + 0x78]
push eax
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontW]
push ebp
push eax
push 0x30
push esi
mov dword [0x10255f70], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push ebp
push esi
call fcn.10157760
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x14], ebp
cmp ebp, ebx
jg 0x10032a4b
mov ebp, dword [esp + 0x20]
mov ecx, eax
mov edi, dword [esp + 0x1c]
push 4
mov eax, ebx
sub eax, ecx
push ecx
push dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
push eax
cvttsd2si eax, qword [esp + 0x38]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4b5
push dword [0x10255f54]
call esi
push 5
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x4b2
push dword [0x10255f54]
call esi
mov esi, eax
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
push eax
push dword [0x10255f54]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x3c]
push eax
push dword [0x10255f54]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esp + 0x14], ebx
mov eax, ebp
push 5
cmovg ebx, dword [esp + 0x18]
xor ecx, ecx
sub eax, dword [esp + 0x40]
add eax, dword [esp + 0x38]
push ecx
push ecx
push ebx
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
sub ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x40]
push 0x4b1
push dword [0x10255f54]
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x34]
mov dword [0x10255f64], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x34]
push eax
push dword [0x10255f54]
call esi
lea eax, [esp + 0x3c]
push eax
push dword [0x10255f54]
call esi
sub edi, dword [esp + 0x38]
mov eax, ebp
push 6
push edi
sub eax, dword [esp + 0x3c]
xor ebp, ebp
push eax
push ebp
push ebp
push ebp
push dword [0x10255f64]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push 0x1b5b
push eax
call fcn.1002e529
mov eax, dword [esp + 0x18]
pop ecx
pop ecx
cmp dword [eax - 0xc], ebp
je 0x10032c5c
push 0x101d6300
lea ecx, [esp + 0x14]
call fcn.100258ff
test eax, eax
jne 0x10032ce7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov esi, eax
xor eax, eax
push 0x7e
mov word [esp + 0x48], ax
lea eax, [esp + 0x4a]
push ebp
push eax
call fcn.10179250
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [esp + 0x50]
add esp, 0xc
push 0x80
push eax
push 0x59
push esi
call edi
push 0x101d6304
lea eax, [esp + 0x48]
push 0x40
push eax
call fcn.1017c18a
lea ecx, [esp + 0x50]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x10032cab
push 0x7f
pop eax
sub ecx, edx
sar ecx, 1
sub eax, ecx
push eax
lea eax, [esp + 0x48]
lea eax, [eax + ecx*2]
push eax
push 0x5a
push esi
call edi
lea eax, [esp + 0x44]
push eax
call fcn.1000bcd0
pop ecx
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
call fcn.1000bc10
call fcn.10010450
push eax
lea ecx, [esp + 0x18]
call fcn.1000c200
call fcn.10010450
push eax
lea ecx, [esp + 0x1c]
call fcn.1000c200
call fcn.10010450
push eax
lea ecx, [esp + 0x28]
call fcn.1000c200
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], 1
jle 0x10032d2e
push dword [eax - 0xc]
lea ecx, [esp + 0x14]
call fcn.1000ba60
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push 0x101d6308
push eax
call fcn.10028411
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x10032d5b
push dword [eax - 0xc]
lea ecx, [esp + 0x14]
call fcn.1000ba60
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push str.http:__www.google.com_chrome_intl__s_privacy.html
push eax
call fcn.10028411
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x10032d88
push dword [esi - 0xc]
lea ecx, [esp + 0x1c]
call fcn.1000ba60
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
cmp dword [edi - 4], 1
jle 0x10032da2
push dword [edi - 0xc]
lea ecx, [esp + 0x18]
call fcn.1000ba60
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x30]
push 0x278a
push eax
call fcn.1002e529
push esi
push edi
push dword [eax]
lea eax, [esp + 0x38]
push eax
call fcn.10028411
mov ecx, dword [esp + 0x48]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.1000c230
lea eax, [esp + 0x34]
push eax
push dword [0x10255f64]
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
push dword [0x10255730]
mov esi, dword [esp + 0x2c]
push ebp
push dword [0x10255f64]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push 0x50010000
push esi
push 0x101d63d4
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
push ebp
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0x31
push dword [0x10255f64]
mov dword [0x10255f60], eax
call ebp
push eax
push 0x30
push dword [0x10255f60]
call ebp
push 0x10032861
push 0xfffffffffffffffc
push dword [0x10255f64]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x4b3
push dword [0x10255f54]
mov dword [0x10255f6c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
lea eax, [esp + 0x34]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x34]
push eax
push dword [0x10255f54]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x3c]
push eax
push dword [0x10255f54]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
sub eax, ecx
add eax, eax
sub eax, ebx
add eax, dword [esp + 0x1c]
push 3
pop ebx
cdq
idiv ebx
sub ecx, dword [esp + 0x38]
push 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x101d64e0]
cvttsd2si ebx, xmm0
mov eax, dword [esp + 0x2c]
push ecx
push dword [esp + 0x28]
add eax, ebx
push eax
xor eax, eax
push eax
push eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
call ebp
push 0x4b4
push dword [0x10255f54]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
push 4
push ecx
mov ecx, dword [esp + 0x24]
push dword [esp + 0x28]
sub ecx, ebx
sub ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x44]
push ecx
xor ecx, ecx
push ecx
push ecx
push eax
call ebp
push 0x100328e1
push 0xfffffffffffffffc
push dword [0x10255f54]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea ecx, [esi - 0x10]
mov dword [0x10255f68], eax
call fcn.1000c230
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000c230
lea ecx, [edi - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000c230
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1017868e
add esp, 0xb8
ret