Function at 0x45cae0
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 0x45cb34
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp + 0x1c], 1
cmp ecx, 0x4e
jne 0x45cb3f
cmp dword [ebx + 8], 0xffffff4f
jne 0x45ccaa
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
push ebx
push edi
call fcn.0041d3f0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45cd73
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x113
jne 0x45cb57
lea eax, [ebp + 0x10]
push eax
push ebx
push edi
push ecx
mov ecx, esi
call fcn.0041d940
jmp 0x45cb25
cmp ecx, 0x110
jne 0x45cb6f
lea eax, [ebp + 0x10]
push eax
push ebx
push edi
push ecx
mov ecx, esi
call fcn.0041d420
jmp 0x45cb25
cmp ecx, 2
jne 0x45cb84
lea eax, [ebp + 0x10]
push eax
push ebx
push edi
push ecx
mov ecx, esi
call fcn.0041d3b0
jmp 0x45cb25
cmp ecx, 0x111
jne 0x45ccaa
movzx eax, di
cmp word [ebp + 0x1c], ax
mov edx, eax
mov dword [ebp - 4], edx
mov eax, edi
jne 0x45cbfe
lea ecx, [ebp + 0x10]
shr eax, 0x10
push ecx
push ebx
push 1
push eax
mov ecx, esi
mov dword [ebp + 0x14], eax
call fcn.0041d590
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45cd73
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
movzx eax, ax
mov dword [ebp + 0x14], 0x402
movzx eax, ax
cmp word [ebp + 0x14], dx
jne 0x45cc2c
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push ebx
push 0x402
push eax
mov ecx, esi
call fcn.0041d8e0
jmp 0x45cb25
mov dword [ebp + 0xc], 0x401
shr eax, 0x10
cmp word [ebp + 0xc], dx
jne 0x45cbd0
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push ebx
push 0x401
push eax
mov ecx, esi
call fcn.0041d8e0
jmp 0x45cb25
mov dword [ebp + 0x14], 0x9c4c
cmp word [ebp + 0x14], dx
jne 0x45cc57
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push ebx
push 0x9c4c
push eax
mov ecx, esi
call fcn.0041d6d0
jmp 0x45cb25
mov dword [ebp + 0x14], 0x404
cmp word [ebp + 0x14], dx
jne 0x45cc82
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push ebx
push 0x404
push eax
mov ecx, esi
call fcn.0041d330
jmp 0x45cb25
mov dword [ebp + 0x14], 2
cmp word [ebp + 0x14], dx
jne 0x45ccaa
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push ebx
push 2
push eax
mov ecx, esi
call fcn.0041d3a0
jmp 0x45cb25
lea edx, [esi + 0x20]
cmp ecx, 5
jne 0x45cd49
xor eax, eax
test edx, edx
cmove esi, eax
cmp byte [edx + 0x1c], al
je 0x45cd25
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x45cd25
cmp edi, 2
jne 0x45ccff
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00442570
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
lea eax, [edi - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test edi, edi
jne 0x45cd25
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00442570
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 1
je 0x45cd6a
lea ecx, [esi + 0x20]
call fcn.00442570
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x24
jne 0x45cb34
cmp dword [edx + 0x14], 0xffffffff
je 0x45cd6a
cmp dword [edx + 0x18], 0xffffffff
je 0x45cd6a
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], edx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18