Function at 0x451bd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov dword [ebp + 0x18], 1
jne 0x451f0c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
cmp eax, 0x110
jne 0x451c10
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push 0x110
call fcn.004d89e0
jmp 0x451e55
cmp eax, 0x7b
jne 0x451c29
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push 0x7b
call fcn.004d7df0
jmp 0x451e55
cmp eax, 0xde0
jne 0x451c47
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push 0xde0
call fcn.004d9140
jmp 0x451e55
cmp eax, 0xf70
jne 0x451c65
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push 0xf70
call fcn.004d9140
jmp 0x451e55
cmp eax, 0xc6b
jne 0x451c83
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push 0xc6b
call fcn.004d9140
jmp 0x451e55
cmp eax, 0xdfb
jne 0x451ca1
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push 0xdfb
call fcn.004d9140
jmp 0x451e55
cmp eax, 0xf8b
jne 0x451cbf
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
push 0xf8b
call fcn.004d9140
jmp 0x451e55
cmp eax, 0x4e
jne 0x451d1f
cmp dword [esi + 4], 0x6c
jne 0x451e61
cmp dword [esi + 8], 0xfffffffd
jne 0x451ced
lea eax, [ebp + 0x18]
push eax
push esi
push dword [ebp + 0x10]
call fcn.004d8250
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x451f00
cmp dword [esi + 4], 0x6c
jne 0x451e61
cmp dword [esi + 8], 0xffffff6a
jne 0x451e61
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004d87d0
jmp 0x451e55
cmp eax, 0x111
jne 0x451e61
mov eax, dword [ebp + 0x10]
mov edx, 0x8057
movzx ecx, ax
shr eax, 0x10
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x451d63
lea ecx, [ebp + 0x18]
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004d7f10
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x451f00
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, 0x80a2
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x451e99
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004d80b0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
movzx eax, ax
jne 0x451f00
mov ecx, dword [ebp + 0x1c]
mov edx, 0x8058
movzx eax, ax
mov dword [ebp + 0x14], eax
cmp dx, cx
jne 0x451dd8
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004d8420
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x451f00
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov edx, 0x8059
cmp dx, cx
jne 0x451e06
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.004d8270
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x451f00
mov ecx, dword [ebp + 0x1c]
mov eax, 2
cmp ax, cx
jne 0x451e37
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 1
push eax
push esi
push 2
push dword [ebp + 0x14]
mov ecx, edi
call fcn.0041b0a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x451f00
mov ecx, dword [ebp + 0x1c]
mov eax, 1
cmp ax, cx
jne 0x451e61
mov dword [ebp + 0x18], eax
mov ecx, edi
lea eax, [ebp + 0x18]
push eax
push esi
push 1
push dword [ebp + 0x14]
call fcn.0041b0a0
cmp dword [ebp + 0x18], 0
mov dword [ebx], eax
jne 0x451f00
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 0x48]
cmp eax, 5
jne 0x451edd
xor eax, eax
test ecx, ecx
cmove edi, eax
cmp byte [ecx + 0x1c], al
je 0x451eb0
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jne 0x451ea1
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x451eb8
movzx eax, ax
jmp 0x451da1
test ecx, ecx
jne 0x451eb3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x451eb8
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x451efa
mov eax, esi
lea ecx, [edi + 0x48]
shr eax, 0x10
cwde
push eax
movsx eax, si
push eax
call fcn.00444be0
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x451f0c
cmp dword [ecx + 0x14], 0xffffffff
je 0x451efa
cmp dword [ecx + 0x18], 0xffffffff
je 0x451efa
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x1c], eax
mov dword [ebx], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18