Function at 0x45a700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp + 0x10], 1
jne 0x45a80e
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
cmp eax, 0x4e
jne 0x45a817
cmp dword [esi + 4], 0x40e
jne 0x45a78c
cmp dword [esi + 8], 0xfffffdd9
jne 0x45a757
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
call fcn.00449050
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45a9e7
cmp dword [esi + 4], 0x40e
jne 0x45a78c
cmp dword [esi + 8], 0xfffffdd8
jne 0x45a78c
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.00449050
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45a9e7
cmp dword [esi + 8], 0xffffff94
jne 0x45a7b5
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004470d0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45a9e7
cmp dword [esi + 8], 0x7d3
jne 0x45a7e1
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004490c0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45a9e7
cmp dword [esi + 8], 0xfffffffd
jne 0x45a921
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push esi
push ebx
mov ecx, edi
call fcn.004472f0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45a9e7
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
cmp eax, 0x110
jne 0x45a830
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 0x110
call fcn.004475b0
jmp 0x45a7ff
cmp eax, 2
jne 0x45a844
lea eax, [ebp + 0x10]
push eax
push esi
push ebx
push 2
call fcn.004471d0
jmp 0x45a7ff
cmp eax, 0x111
jne 0x45a924
movzx eax, bx
mov edx, 2
mov ecx, eax
cmp dx, ax
mov dword [ebp + 0x1c], ecx
mov eax, ebx
jne 0x45a8b6
lea ecx, [ebp + 0x10]
shr eax, 0x10
push ecx
push esi
push edx
push eax
mov ecx, edi
mov dword [ebp + 0x14], eax
call fcn.0041c950
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45a9e7
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
movzx eax, ax
mov edx, 0x418
movzx eax, ax
cmp dx, cx
jne 0x45a8d9
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00447590
jmp 0x45a7ff
mov edx, 1
shr eax, 0x10
cmp dx, cx
jne 0x45a88f
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], edx
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00447920
jmp 0x45a7ff
mov edx, 0x9c68
cmp dx, cx
jne 0x45a8fd
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00447170
jmp 0x45a7ff
mov edx, 0x449
cmp dx, cx
jne 0x45a921
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.00448fc0
jmp 0x45a7ff
mov eax, dword [ebp + 0xc]
lea edx, [edi + 0x20]
cmp eax, 5
jne 0x45a9bd
xor eax, eax
test edx, edx
cmove edi, eax
cmp byte [edx + 0x1c], al
je 0x45a99b
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x45a99b
cmp ebx, 2
jne 0x45a977
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [edi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], 0
lea eax, [ebx - 1]
pop ebx
pop ebp
ret 0x18
test ebx, ebx
jne 0x45a99b
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [edi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], ebx
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0x18
cmp ebx, 1
je 0x45a9de
lea ecx, [edi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x45a80e
cmp dword [edx + 0x14], 0xffffffff
je 0x45a9de
cmp dword [edx + 0x18], 0xffffffff
je 0x45a9de
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18