Function at 0x45fd90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
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 - 0x18], ebx
mov dword [ebp - 8], 1
jne 0x45fded
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], 1
cmp eax, 0x110
jne 0x45fe02
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.0044f0c0
cmp dword [ebp - 8], 0
mov dword [ebx], eax
jne 0x4600df
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
cmp eax, 2
jne 0x45fe1b
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push 2
mov ecx, esi
call fcn.0044ef70
jmp 0x45fde1
cmp eax, 5
jne 0x45fe44
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 0x4600df
lea edx, [esi + 0x20]
jmp 0x460010
cmp eax, 0x800b
jne 0x45fe65
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push 0x800b
mov ecx, esi
call fcn.0044efa0
jmp 0x45fde1
cmp eax, 0x111
jne 0x460001
mov ecx, dword [ebp + 0x10]
movzx eax, cx
cmp word [ebp - 0xc], ax
mov edx, eax
mov dword [ebp - 0x14], edx
mov eax, ecx
jne 0x45fedb
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 0x4600df
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
movzx eax, ax
mov dword [ebp - 0xc], 2
movzx eax, ax
movzx ecx, dx
cmp word [ebp - 0xc], dx
jne 0x45ff06
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push edi
push 2
push eax
mov ecx, esi
call fcn.0044ef30
jmp 0x45fde1
mov ecx, 0x3fc
shr eax, 0x10
cmp cx, dx
jne 0x45fead
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push edi
push 0x3fc
push eax
mov ecx, esi
call fcn.0044c4a0
jmp 0x45fde1
mov edx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov ecx, eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], 0x400
mov dword [ebp - 0x1c], ecx
cmp word [ebp - 0xc], dx
jne 0x45ff44
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push edi
push 0x400
push eax
mov ecx, esi
call fcn.0044f2a0
jmp 0x45fde1
mov edx, dword [ebp - 0x1c]
mov ebx, 0x3f4
cmp bx, word [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
movzx ecx, cx
movzx edx, dx
jne 0x45ff79
lea ecx, [ebp - 8]
mov dword [ebp - 8], 1
push ecx
push edi
push 0x3f4
push eax
mov ecx, esi
call fcn.0044ed00
jmp 0x45fde1
mov eax, dword [ebp - 0x24]
mov ebx, 0x446
cmp bx, word [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
movzx eax, ax
jne 0x45ffab
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push edi
push 0x446
push edx
mov ecx, esi
call fcn.0044ed00
jmp 0x45fde1
mov dword [ebp - 0x10], 0x3fd
mov edx, ecx
cmp word [ebp - 0x10], ax
jne 0x45ffd8
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push edi
push 0x3fd
push ecx
mov ecx, esi
call fcn.0044f270
jmp 0x45fde1
mov ecx, edx
mov edx, 0x3f5
cmp dx, ax
jne 0x45fffe
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push edi
push edx
push ecx
mov ecx, esi
call fcn.0044ed00
jmp 0x45fde1
mov eax, dword [ebp + 0xc]
lea edx, [esi + 0x20]
cmp eax, 5
jne 0x4600b8
mov edi, dword [ebp + 0x10]
xor eax, eax
test edx, edx
cmove esi, eax
cmp byte [edx + 0x1c], al
je 0x46008d
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46008d
cmp edi, 2
jne 0x460060
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 0x46008d
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 0x4600d9
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 0x45fded
cmp dword [edx + 0x14], 0xffffffff
je 0x4600d9
cmp dword [edx + 0x18], 0xffffffff
je 0x4600d9
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