Function at 0x45fa60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], 1
jne 0x45fba0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], 1
cmp eax, 0x110
jne 0x45faba
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push pe_nt_image_headers32
mov ecx, esi
call fcn.0044c2d0
jmp 0x45fb94
cmp eax, 2
jne 0x45fad6
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push 2
mov ecx, esi
call fcn.0044c280
jmp 0x45fb94
cmp eax, 0x800b
jne 0x45faf7
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push 0x800b
mov ecx, esi
call fcn.0044bfc0
jmp 0x45fb94
cmp eax, 5
jne 0x45fb20
lea eax, [ebp - 8]
push eax
push edi
mov edi, dword [ebp + 0x10]
push edi
push 5
call fcn.0044c5d0
cmp dword [ebp - 8], 0
mov dword [ebx], eax
jne 0x45fd72
lea edx, [esi + 0x20]
jmp 0x45fca3
cmp eax, 0x111
jne 0x45fc94
mov ecx, dword [ebp + 0x10]
movzx eax, cx
cmp word [ebp - 0xc], ax
mov edx, eax
mov dword [ebp - 0x10], edx
mov eax, ecx
jne 0x45fbb5
lea ecx, [ebp - 8]
shr eax, 0x10
push ecx
push edi
push 1
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.0044c4a0
cmp dword [ebp - 8], 0
mov dword [ebx], eax
jne 0x45fd72
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
movzx eax, ax
mov dword [ebp - 0xc], 0x3f4
movzx eax, ax
movzx ecx, dx
cmp word [ebp - 0xc], dx
jne 0x45fbdd
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push edi
push 0x3f4
push eax
mov ecx, esi
call fcn.0044c0b0
cmp dword [ebp - 8], 0
mov dword [ebx], eax
jne 0x45fd72
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x3fc
shr eax, 0x10
cmp cx, dx
jne 0x45fb68
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push edi
push 0x3fc
push eax
mov ecx, esi
call fcn.0044c4a0
jmp 0x45fb94
mov edx, ecx
mov dword [ebp - 0xc], 0x446
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov ecx, eax
cmp word [ebp - 0xc], dx
jne 0x45fc10
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push edi
push 0x446
jmp 0x45fb8c
mov ebx, 2
mov edx, ecx
cmp bx, word [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
jne 0x45fc3b
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push edi
push 2
push eax
mov ecx, esi
call fcn.0044c230
jmp 0x45fb94
mov eax, dword [ebp - 0x1c]
mov ebx, 0x400
cmp bx, word [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
movzx eax, ax
jne 0x45fc6d
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push edi
push 0x400
push ecx
mov ecx, esi
call fcn.0044c4d0
jmp 0x45fb94
mov ecx, 0x9cab
cmp cx, ax
jne 0x45fc91
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push edi
push ecx
push edx
mov ecx, esi
call fcn.0044c5a0
jmp 0x45fb94
mov eax, dword [ebp + 0xc]
lea edx, [esi + 0x20]
cmp eax, 5
jne 0x45fd4b
mov edi, dword [ebp + 0x10]
xor eax, eax
test edx, edx
cmove esi, eax
cmp byte [edx + 0x1c], al
je 0x45fd20
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x45fd20
cmp edi, 2
jne 0x45fcf3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.0043f1b0
lea eax, [edi - 1]
mov dword [ebx], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x18
test edi, edi
jne 0x45fd20
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.0043f1b0
mov dword [ebx], edi
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 1
je 0x45fd6c
lea ecx, [esi + 0x20]
call fcn.0043f1b0
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x45fba0
cmp dword [edx + 0x14], 0xffffffff
je 0x45fd6c
cmp dword [edx + 0x18], 0xffffffff
je 0x45fd6c
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
mov dword [ebx], 0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x18