Function at 0x415a80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539aa1
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x583384]
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 0x415af7
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 [0x57f678]
test eax, eax
mov dword [ebp - 0x58], edx
cmovne ecx, eax
mov dword [ebp - 0x54], esi
lea eax, [ebx + 0x20]
mov dword [0x57f678], ecx
push eax
push 0x57f648
push 0x58c7d0
push 0x58d480
call fcn.00412380
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.004d2ae0
test eax, eax
jne 0x415ba2
xor eax, eax
jmp 0x415ded
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
and ecx, 0xfffffdff
cmp eax, ecx
je 0x415bda
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.00517590
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.0041f3f0
cmp dword [ebx + 0x34], 0
je 0x415c12
push dword [ebx + 0x34]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x415c12
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 0x415b9b
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 0x415c8e
lea eax, [ebp - 0x50]
push eax
push 0
push 0x1005
push dword [ebx + 4]
call edi
jmp 0x415d8c
cmp dword [ebp - 0xbc], 0
lea eax, [ebp - 0x30]
push eax
je 0x415cac
push 0
push 0x1005
push dword [ebx + 4]
call edi
jmp 0x415d8c
lea ecx, [ebp - 0xc0]
call fcn.00412a60
mov esi, eax
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xc4]
call fcn.00412a60
push 0x546b80
push eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 1
push eax
call fcn.00414170
push esi
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push eax
call fcn.00414010
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 0x415d28
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 0x415d49
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 0x415d6a
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 0x415d8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xbc], 0
je 0x415e0b
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 0x415dc6
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.00513512
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0xb0]
cmp word [ecx], 0
jne 0x415dc6
mov eax, 1
jmp 0x415dc8