Function at 0x45d3c0
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 0x45d405
mov ebx, dword [ebp + 0xc]
mov edx, 1
cmp ebx, 0x110
jne 0x45d40e
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0044ee70
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45d65f
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
cmp ebx, 2
jne 0x45d423
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0044ee40
jmp 0x45d3f6
cmp ebx, 0x800b
jne 0x45d43b
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0044eb90
jmp 0x45d3f6
cmp ebx, 5
jne 0x45d465
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0044f160
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45d65f
lea edx, [esi + 0x20]
jmp 0x45d5a5
cmp ebx, 0x111
jne 0x45d599
movzx eax, di
mov ecx, eax
cmp dx, ax
mov dword [ebp + 0xc], ecx
mov eax, edi
jne 0x45d4d8
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.0044f030
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45d65f
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
movzx eax, ax
mov edx, 0x3f4
movzx eax, ax
cmp dx, cx
jne 0x45d501
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044ec80
jmp 0x45d3f6
mov edx, 0x3fc
shr eax, 0x10
cmp dx, cx
jne 0x45d4af
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044f030
jmp 0x45d3f6
mov edx, 0x446
cmp dx, cx
jne 0x45d527
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044ec80
jmp 0x45d3f6
mov edx, 2
cmp dx, cx
jne 0x45d54d
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044edf0
jmp 0x45d3f6
mov edx, 0x400
cmp dx, cx
jne 0x45d573
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044f060
jmp 0x45d3f6
mov edx, 0x9cab
cmp dx, cx
jne 0x45d599
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push edx
push eax
call fcn.0044f130
jmp 0x45d3f6
lea edx, [esi + 0x20]
cmp ebx, 5
jne 0x45d632
xor eax, eax
test edx, edx
cmove esi, eax
cmp byte [edx + 0x1c], al
je 0x45d610
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x45d610
cmp edi, 2
jne 0x45d5ec
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
pop ebp
ret 0x18
test edi, edi
jne 0x45d610
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
pop ebp
ret 0x18
cmp edi, 1
je 0x45d656
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
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x45d405
cmp dword [edx + 0x14], 0xffffffff
je 0x45d656
cmp dword [edx + 0x18], 0xffffffff
je 0x45d656
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