Function at 0x45aa00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp + 0x10], 1
jne 0x45aa45
mov ebx, dword [ebp + 0xc]
mov edx, 1
cmp ebx, 0x110
jne 0x45aa4e
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0044c460
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45ac9f
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
cmp ebx, 2
jne 0x45aa63
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0044c430
jmp 0x45aa36
cmp ebx, 0x800b
jne 0x45aa7b
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0044c180
jmp 0x45aa36
cmp ebx, 5
jne 0x45aaa5
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0044c750
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45ac9f
lea edx, [esi + 0x20]
jmp 0x45abe5
cmp ebx, 0x111
jne 0x45abd9
movzx eax, di
mov ecx, eax
cmp dx, ax
mov dword [ebp + 0xc], ecx
mov eax, edi
jne 0x45ab18
lea ecx, [ebp + 0x10]
shr eax, 0x10
push ecx
push dword [ebp + 0x14]
mov ecx, esi
mov dword [ebp + 0x1c], eax
push 1
push eax
call fcn.0044c620
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45ac9f
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
movzx eax, ax
mov edx, 0x3f4
movzx eax, ax
cmp dx, cx
jne 0x45ab41
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044c270
jmp 0x45aa36
mov edx, 0x3fc
shr eax, 0x10
cmp dx, cx
jne 0x45aaef
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044c620
jmp 0x45aa36
mov edx, 0x446
cmp dx, cx
jne 0x45ab67
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044c270
jmp 0x45aa36
mov edx, 2
cmp dx, cx
jne 0x45ab8d
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044c3e0
jmp 0x45aa36
mov edx, 0x400
cmp dx, cx
jne 0x45abb3
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044c650
jmp 0x45aa36
mov edx, 0x9cab
cmp dx, cx
jne 0x45abd9
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044c720
jmp 0x45aa36
lea edx, [esi + 0x20]
cmp ebx, 5
jne 0x45ac72
xor eax, eax
test edx, edx
cmove esi, eax
cmp byte [edx + 0x1c], al
je 0x45ac50
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x45ac50
cmp edi, 2
jne 0x45ac2c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
lea eax, [edi - 1]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
test edi, edi
jne 0x45ac50
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp edi, 1
je 0x45ac96
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x45aa45
cmp dword [edx + 0x14], 0xffffffff
je 0x45ac96
cmp dword [edx + 0x18], 0xffffffff
je 0x45ac96
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18