Function at 0x415e10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fb81
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push dword [ebx + 4]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], esi
mov byte [ebx + 0x30], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415e87
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0xc0]
mov eax, esi
and esi, 0x800
shr eax, 0xb
and eax, 2
mov dword [ebp - 0xbc], esi
or eax, 0x42000000
mov edi, eax
or edi, 1
test esi, esi
cmove edi, eax
mov eax, dword [ebp - 0xb4]
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub esi, 2
mov ecx, dword [eax + 4]
sub edx, 3
mov eax, dword [eax]
add ecx, 2
add eax, 3
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], eax
mov ecx, str.SysDateTimePick32
mov eax, dword [0x5866d0]
test eax, eax
mov dword [ebp - 0x58], edx
cmovne ecx, eax
mov dword [ebp - 0x54], esi
lea eax, [ebx + 0x20]
mov dword [0x5866d0], ecx
push eax
push 0x5866a0
push 0x593dd4
push 0x594af8
call fcn.00411840
add esp, 0x14
movzx eax, ax
mov ecx, ebx
push 0
push eax
push 0
push 0
push edi
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0xb8]
call fcn.004d6f00
test eax, eax
jne 0x415f32
xor eax, eax
jmp 0x41617d
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
and ecx, 0xfffffdff
cmp eax, ecx
je 0x415f6a
push ecx
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x37
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x3c
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.0041eec0
cmp dword [ebx + 0x34], 0
je 0x415fa2
push dword [ebx + 0x34]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x415fa2
mov dword [ebx + 0x34], 0
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebx + 0x34], eax
test eax, eax
je 0x415f2b
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x1009
push dword [ebx + 4]
call edi
push 1
push dword [ebx + 0x34]
push 0x30
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x50]
push 0x20
push eax
push 0x1f
push 0x400
call esi
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x1003
push 0x400
call esi
test dword [ebp + 0x18], 0x400
je 0x41601e
lea eax, [ebp - 0x50]
push eax
push 0
push 0x1005
push dword [ebx + 4]
call edi
jmp 0x41611c
cmp dword [ebp - 0xbc], 0
lea eax, [ebp - 0x30]
push eax
je 0x41603c
push 0
push 0x1005
push dword [ebx + 4]
call edi
jmp 0x41611c
lea ecx, [ebp - 0xc0]
call fcn.00412f00
mov esi, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc4]
call fcn.00412f00
push 0x54dba4
push eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 1
push eax
call fcn.004143d0
push esi
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push eax
call fcn.00414270
add esp, 0x18
push dword [eax]
push 0
push 0x1005
push dword [ebx + 4]
call edi
mov edx, dword [ebp - 0xb8]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4160b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb4]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4160d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xc4]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4160fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41611c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xbc], 0
je 0x41619b
lea eax, [ebp - 0x70]
push eax
push 0
push 0x1001
push dword [ebx + 4]
call edi
mov ecx, dword [ebp - 0xb0]
test eax, eax
jne 0x416156
movzx eax, word [ebp - 0x70]
mov word [ecx], ax
movzx eax, word [ebp - 0x6e]
mov word [ecx + 2], ax
movzx eax, word [ebp - 0x6a]
mov word [ecx + 6], ax
xor eax, eax
push ecx
push eax
push 0x1002
push dword [ebx + 4]
call edi
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0xb0]
cmp word [ecx], 0
jne 0x416156
mov eax, 1
jmp 0x416158