Function at 0x440ed0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], ecx
cmp dword [ebp + 0xc], 5
sete al
mov ecx, dword [ebp - 0x34]
mov byte [ecx + 0x16ec], al
mov edx, dword [ebp - 0x34]
mov byte [edx + 0x1785], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x1788], 8
mov ecx, dword [ebp - 0x34]
movzx edx, byte [ecx + 0x16ec]
test edx, edx
je 0x441220
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x159a], 0
mov ecx, dword [ebp - 0x34]
mov byte [ecx + 0x1759], 1
mov edx, dword [0x5eda68]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x440f93
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
push 0
push 0
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [0x5eda68]
add ecx, 0x24
mov edx, dword [0x5eda68]
mov eax, dword [edx + 0x24]
mov edx, dword [eax]
call edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
push ecx
push 0xfffffffffffffff8
mov edx, dword [0x5eda68]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0
push 0x812
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 4], 0
je 0x440ffa
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
je 0x44110f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
je 0x44110f
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x16f8]
cmp dword [edx + 0x288], 0
jne 0x44104d
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0x48]
sub edx, dword [ecx + 0x40]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0x4c]
sub edx, dword [ecx + 0x44]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
jmp 0x4410e5
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x16f8]
cmp dword [ecx + 0x288], 1
jne 0x441087
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0x48]
sub ecx, dword [eax + 0x40]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0x4c]
sub ecx, dword [eax + 0x44]
mov edx, dword [ebp - 0x10]
sub edx, ecx
mov dword [ebp - 0x18], edx
jmp 0x4410e5
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x16f8]
cmp dword [ecx + 0x288], 2
jne 0x4410bf
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0x48]
sub ecx, dword [eax + 0x40]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0x4c]
sub ecx, dword [eax + 0x44]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
jmp 0x4410e5
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0x48]
sub ecx, dword [eax + 0x40]
mov edx, dword [ebp - 0x14]
sub edx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0x4c]
sub edx, dword [ecx + 0x44]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 0x54]
call eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [edx + 0x20]
call ecx
push 4
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x16f8]
cmp dword [edx + 0x288], 0
je 0x441150
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x16f8]
cmp dword [ecx + 0x288], 1
jne 0x441184
mov edx, dword [ebp - 0x34]
mov byte [edx + 0x1784], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x40]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x48]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
jmp 0x4411b6
mov edx, dword [ebp - 0x34]
mov byte [edx + 0x1784], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x44]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x4c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 6
idiv ecx
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x1780], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x1780], 8
jge 0x4411eb
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x1780], 8
push 0
push 0x21
push 0x64
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0042c510
push 0
push 0xa
push 0x65
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0042c510
push 0
push 8
push 0x66
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0042c510
jmp 0x44126b
push 0x64
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0042c540
push 0x65
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0042c540
push 0x66
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.0042c540
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x1780], 0
mov ecx, dword [ebp - 0x34]
call fcn.004479e0
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10