Function at 0x4a8b10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], edx
xor edx, edx
push eax
mov dword [esi + 0x2c], ecx
mov word [esi + 0x30], dx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a8b6d
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 0x18]
mov ebx, 0x42000000
test eax, 0x1000
je 0x4a8b81
mov ebx, 0x42000002
and eax, 0x800
mov dword [ebp - 0xe4], eax
je 0x4a8b91
or ebx, 1
push 0
push ecx
mov eax, esp
mov dword [eax], 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov edi, dword [edi]
push 0
push ebx
sub ecx, 3
sub eax, 2
push 0
add edx, 2
push ecx
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf8], edx
mov eax, esp
add edi, 3
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0xfc]
mov dword [ebp - 0xfc], edi
mov dword [eax], edx
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, esi
call fcn.004a81c0
test eax, eax
jne 0x4a8c02
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffffdff
cmp eax, ecx
je 0x4a8c3d
mov edx, dword [esi + 4]
push ecx
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0x37
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x5c
lea ecx, [ebp - 0xe0]
push 0
push ecx
call fcn.004eb2d0
add esp, 0xc
lea ecx, [ebp - 0xe0]
call fcn.0049fa30
cmp dword [esi + 0x34], 0
je 0x4a8c76
mov edx, dword [esi + 0x34]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4a8c76
mov dword [esi + 0x34], 0
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esi + 0x34], eax
test eax, eax
je 0x4a8bed
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ecx, eax
push ecx
push 0x1009
push edx
call edi
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 4]
push 1
push eax
push 0x30
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x20
lea edx, [ebp - 0x84]
push edx
push 0x1f
push 0x400
call ebx
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0x1003
push 0x400
call ebx
test dword [ebp + 0x18], 0x400
je 0x4a8d04
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0x1032
push edx
call edi
mov ebx, dword [ebp - 0xe4]
jmp 0x4a8da7
mov ebx, dword [ebp - 0xe4]
test ebx, ebx
je 0x4a8d24
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x44]
push eax
push 0
push 0x1032
push ecx
call edi
jmp 0x4a8da7
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x100]
call fcn.00470300
push eax
push 0x5133c0
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x104]
call fcn.00470300
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.0046d520
add esp, 0xc
push eax
lea edx, [ebp - 0xe8]
push edx
call fcn.004a1530
mov eax, dword [eax]
mov ecx, dword [esi + 4]
add esp, 0xc
push eax
push 0
push 0x1032
push ecx
call edi
lea ecx, [ebp - 0xe8]
call fcn.00492ef0
lea ecx, [ebp - 0xe4]
call fcn.00492ef0
lea ecx, [ebp - 0x104]
call fcn.00492ef0
lea ecx, [ebp - 0x100]
call fcn.00492ef0
test ebx, ebx
je 0x4a8deb
mov eax, dword [esi + 4]
lea edx, [ebp - 0xfc]
push edx
push 0
push 0x1001
push eax
call edi
test eax, eax
jne 0x4a8deb
movzx edx, word [ebp - 0xfc]
mov ecx, dword [ebp - 0xec]
mov ax, word [ebp - 0xfa]
mov word [ecx], dx
movzx edx, word [ebp - 0xf6]
mov word [ecx + 2], ax
mov word [ecx + 6], dx
jmp 0x4a8df1
mov ecx, dword [ebp - 0xec]
test ebx, ebx
jne 0x4a8dff
cmp word [ecx], bx
jne 0x4a8dff
lea eax, [ebx + 1]
jmp 0x4a8e01
xor eax, eax
push ecx
push eax
mov eax, dword [esi + 4]
push 0x1002
push eax
call edi
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x18