Function at 0x41cf10
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x6c
cmp eax, 0xf020
push ebp
push esi
mov ebp, ecx
je 0x41d0f2
cmp eax, 0xf120
je 0x41cf3c
push 0
call fcn.0041add0
pop esi
pop ebp
add esp, 0x6c
ret 0xc
mov eax, dword [ebp + 0x18]
xor esi, esi
cmp eax, esi
je 0x41cf5f
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push edx
call dword [0x4ab65c]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call dword [0x4ab5b0]
cmp dword [esp + 0x30], esi
jg 0x41d169
mov edx, dword [ebp + 4]
push ebx
push edi
push 0xfffffffffffffff0
push edx
call dword [0x4ab5b8]
mov edi, dword [0x4ab6a8]
mov ebx, eax
and ebx, 0x40000000
je 0x41cfae
mov eax, dword [ebp + 4]
push eax
call edi
jmp 0x41cfba
mov ecx, dword [ebp + 4]
push 4
push ecx
call dword [0x4ab5b4]
mov esi, eax
mov eax, dword [ebp + 4]
lea edx, [esp + 0x40]
push edx
push eax
call dword [0x4ab5b0]
test ebx, ebx
jne 0x41d031
test esi, esi
je 0x41cfec
push 0xfffffffffffffff0
push esi
call dword [0x4ab5b8]
test eax, 0x10000000
je 0x41cfea
test eax, 0x20000000
je 0x41cfec
xor esi, esi
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
push 0x30
call dword [0x4ab5ac]
test esi, esi
jne 0x41d023
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x41d05e
lea eax, [esp + 0x10]
push eax
push esi
call dword [0x4ab5b0]
jmp 0x41d05e
mov ecx, dword [ebp + 4]
push ecx
call edi
mov ebx, dword [0x4ab5a8]
lea edx, [esp + 0x20]
mov edi, eax
push edx
push edi
call ebx
lea eax, [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x10]
push 2
push ecx
push edi
push esi
call dword [0x4ab5a4]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
sub ebx, edx
mov edx, dword [esp + 0x18]
sub edi, esi
add eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar ecx, 1
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov esi, eax
mov eax, ebx
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x20]
cmp ecx, eax
jl 0x41d0bb
mov eax, dword [esp + 0x28]
lea edx, [ecx + edi]
cmp edx, eax
jle 0x41d0bd
sub eax, edi
mov ecx, eax
mov eax, dword [esp + 0x24]
cmp esi, eax
jl 0x41d0d2
mov eax, dword [esp + 0x2c]
lea edx, [esi + ebx]
cmp edx, eax
jle 0x41d0d4
sub eax, ebx
mov esi, eax
mov eax, dword [ebp + 4]
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push ecx
push 0
push eax
call dword [0x4ab5a0]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x6c
ret 0xc
mov ecx, dword [ebp + 0x3b0]
push ecx
call dword [0x4ab67c]
test eax, eax
je 0x41d111
mov edx, dword [ebp + 4]
push 0
push edx
call dword [0x4ab5d0]
jmp 0x41d132
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41d132
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push edx
call dword [0x4ab65c]
mov eax, dword [ebp + 0x5c4]
test eax, eax
je 0x41d169
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [0x4ab638]
mov dword [ebp + 0x5c4], 0
xor edx, edx
add ebp, 0x5c8
mov dword [ebp], edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
pop esi
pop ebp
add esp, 0x6c
ret 0xc