Function at 0x47b1d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
or dword [eax + 0x54], 0x80
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x47b40e
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp + 8]
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00472d20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_IntersectClipRect
xor esi, esi
xor ebx, ebx
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
call fcn.0047d8a4
push eax
call sub.KERNEL32.DLL_GetExitCodeThread
test ah, 2
je 0x47b255
mov ebx, 0xa
mov esi, 0x200f
jmp 0x47b276
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
call fcn.0047d8a4
push eax
call sub.KERNEL32.DLL_GetExitCodeThread
test eax, 0x800000
je 0x47b276
mov ebx, 3
mov esi, 0xa00f
cmp ebx, 0xa
jne 0x47b337
call fcn.00489918
call fcn.00489a24
test al, al
je 0x47b337
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
je 0x47b2aa
mov eax, dword [ebp - 4]
call fcn.004898ac
test al, al
jne 0x47b337
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, dword [ebp - 4]
test byte [eax + 0x52], 2
je 0x47b2db
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0047b128
jmp 0x47b30c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
or eax, dword [0x47b428]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0047b128
mov eax, dword [ebp - 4]
mov edx, dword [0x47b428]
not edx
and edx, dword [eax + 0x50]
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00472d20
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_IntersectClipRect
jmp 0x47b38e
test esi, esi
je 0x47b38e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
push esi
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.0040bd94
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00472d20
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_IntersectClipRect
push 0
mov ecx, dword [ebp - 8]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00475e18
push 0
mov ecx, dword [ebp - 8]
mov edx, 0xf
mov eax, dword [ebp - 4]
call fcn.00475e18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
test eax, eax
je 0x47b3f3
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x47b3f3
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
mov edx, esi
call fcn.0043dca4
cmp byte [eax + 0x59], 0
je 0x47b3ef
mov edx, dword [eax + 0x44]
push edx
mov ecx, dword [eax + 0x40]
mov edx, dword [ebp - 8]
call fcn.0047b1d4
inc esi
dec ebx
jne 0x47b3ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b415
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
ret