Function at 0x45acb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
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 0x45ae70
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x1c], 1
cmp ecx, 0x110
jne 0x45acf9
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ecx
mov ecx, esi
call fcn.0044f150
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x45ae66
cmp ecx, 2
jne 0x45ad18
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ecx
mov ecx, esi
call fcn.0044f030
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x45ae66
cmp ecx, 5
jne 0x45ad44
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ecx
mov ecx, esi
call fcn.0044c750
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
jne 0x45afac
lea edx, [esi + 0x20]
jmp 0x45aef8
cmp ecx, 0x800b
jne 0x45ad66
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ecx
mov ecx, esi
call fcn.0044f050
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x45ae66
mov ebx, dword [ebp + 0x18]
cmp ecx, 0x111
jne 0x45aeec
movzx eax, di
cmp word [ebp + 0x1c], ax
mov edx, eax
mov dword [ebp - 4], edx
mov eax, edi
jne 0x45ade1
lea ecx, [ebp + 0x10]
shr eax, 0x10
push ecx
push dword [ebp + 0x14]
mov ecx, esi
mov dword [ebp + 0x18], eax
push 1
push eax
call fcn.0044c620
cmp dword [ebp + 0x10], 0
mov dword [ebx], eax
jne 0x45afac
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
movzx eax, ax
mov dword [ebp + 0x18], 2
movzx eax, ax
cmp word [ebp + 0x18], dx
jne 0x45ae12
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push 2
push eax
call fcn.0044eff0
jmp 0x45ae64
mov dword [ebp + 0xc], 0x3fc
shr eax, 0x10
cmp word [ebp + 0xc], dx
jne 0x45adb4
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push 0x3fc
push eax
call fcn.0044c620
mov ecx, ebx
mov dword [ecx], eax
jmp 0x45ae66
mov dword [ebp + 0x18], 0x400
cmp word [ebp + 0x18], dx
jne 0x45ae3c
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push 0x400
push eax
call fcn.0044f320
jmp 0x45ae64
mov dword [ebp + 0x18], 0x3f4
cmp word [ebp + 0x18], dx
jne 0x45ae7b
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
push 0x3f4
push eax
mov ecx, esi
call fcn.0044edd0
mov dword [ebx], eax
cmp dword [ebp + 0x10], 0
jne 0x45afac
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp + 0x18], 0x446
cmp word [ebp + 0x18], dx
jne 0x45ae9d
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
push 0x446
jmp 0x45ae5c
mov dword [ebp + 0x18], 0x3fd
cmp word [ebp + 0x18], dx
jne 0x45aec7
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push 0x3fd
push eax
call fcn.0044f2f0
jmp 0x45ae64
mov dword [ebp + 0x18], 0x3f5
cmp word [ebp + 0x18], dx
jne 0x45aeec
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
push 0x3f5
jmp 0x45ae5c
lea edx, [esi + 0x20]
cmp ecx, 5
jne 0x45af82
xor eax, eax
test edx, edx
cmove esi, eax
cmp byte [edx + 0x1c], al
je 0x45af61
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x45af61
cmp edi, 2
jne 0x45af3e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00440cb0
lea eax, [edi - 1]
mov dword [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test edi, edi
jne 0x45af61
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov dword [ebx], edi
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 1
je 0x45afa6
lea ecx, [esi + 0x20]
call fcn.00440cb0
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x24
jne 0x45ae70
cmp dword [edx + 0x14], 0xffffffff
je 0x45afa6
cmp dword [edx + 0x18], 0xffffffff
je 0x45afa6
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 dword [ebx], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18