Function at 0x45e500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, ecx
mov dword [ebp + 0x10], 1
jne 0x45e599
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], 1
cmp ecx, 0x4e
jne 0x45e5a4
cmp dword [edi + 4], 0x3f9
jne 0x45e6a1
cmp dword [edi + 8], 0xffffff94
jne 0x45e55f
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
push edi
push ebx
call fcn.004949d0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45e76a
mov ecx, dword [ebp + 0xc]
cmp dword [edi + 4], 0x3f9
jne 0x45e6a1
cmp dword [edi + 8], 0xfffffffd
jne 0x45e6a1
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push edi
push ebx
mov ecx, esi
call fcn.00494a80
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45e76a
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x110
jne 0x45e5bc
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
push ecx
mov ecx, esi
call fcn.00494cb0
jmp 0x45e58a
cmp ecx, 2
jne 0x45e5d1
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
push ecx
mov ecx, esi
call fcn.00494a40
jmp 0x45e58a
cmp ecx, 0x111
jne 0x45e6a1
movzx eax, bx
mov edx, eax
mov dword [ebp + 0x1c], 0x418
cmp word [ebp + 0x1c], ax
mov eax, ebx
mov dword [ebp - 4], edx
jne 0x45e64b
lea ecx, [ebp + 0x10]
shr eax, 0x10
push ecx
push edi
push 0x418
push eax
mov ecx, esi
mov dword [ebp + 0x14], eax
call fcn.00494c80
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x45e76a
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
movzx eax, ax
movzx eax, ax
cmp word [ebp - 8], dx
jne 0x45e679
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push edi
push 1
push eax
mov ecx, esi
call fcn.00494d60
jmp 0x45e58a
mov dword [ebp + 0xc], 0x449
shr eax, 0x10
cmp word [ebp + 0xc], dx
jne 0x45e627
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push edi
push 0x449
push eax
mov ecx, esi
call fcn.00420090
jmp 0x45e58a
mov dword [ebp + 0x14], 2
cmp word [ebp + 0x14], dx
jne 0x45e6a1
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push ecx
push edi
push 2
push eax
mov ecx, esi
call fcn.0041d3a0
jmp 0x45e58a
lea edx, [esi + 0x20]
cmp ecx, 5
jne 0x45e740
xor eax, eax
test edx, edx
cmove esi, eax
cmp byte [edx + 0x1c], al
je 0x45e71c
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x45e71c
cmp ebx, 2
jne 0x45e6f6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00442570
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], 0
lea eax, [ebx - 1]
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test ebx, ebx
jne 0x45e71c
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00442570
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], ebx
lea eax, [ebx + 1]
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 1
je 0x45e761
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 0x45e599
cmp dword [edx + 0x14], 0xffffffff
je 0x45e761
cmp dword [edx + 0x18], 0xffffffff
je 0x45e761
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [edi + 0x18], ecx
mov dword [edi + 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