Function at 0x4505e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac68d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi], eax
je 0x450640
push eax
call ebx
cmp dword [esi], eax
je 0x450640
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 8]
xor edx, edx
add eax, 0xd5
cmp eax, 0xd
ja case.0x450653.211
jmp dword [eax*4 + 0x4507dc]
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x4507d2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 1
mov eax, dword [edi + 0xa8]
push dword [eax + 0x34]
lea eax, [ebp + 0x14]
push dword [edi + 0xdc]
push dword [edi + 0xe0]
push eax
call fcn.00408190
add esp, 0x10
push dword [edi + 4]
call ebx
mov esi, dword [ebp + 0x14]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi + 0x78]
lea ecx, [edi + 0x78]
push 0x16
push 4
call dword [eax]
mov eax, dword [edi + 0x78]
lea ecx, [edi + 0x78]
push 4
push 4
call dword [eax + 8]
mov ecx, edi
call fcn.0044ff50
mov eax, dword [edi + 0xa0]
mov eax, dword [eax + 0x10]
cmp eax, 0xc4
je 0x4506e1
cmp eax, 0x6a
jne 0x4506f1
cmp byte [edi + 0xb8], 0
je 0x4506f1
mov ecx, 1
jmp 0x4506f3
xor ecx, ecx
mov eax, dword [edi + 0x78]
push 1
push ecx
lea ecx, [edi + 0x78]
call dword [eax + 8]
mov ecx, dword [edi + 0xa0]
lea eax, [edi + 0x80]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg case.0x450653.213
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor edx, edx
jmp case.0x450653.205
or edx, 0xffffffff
jmp case.0x450653.205
cmp byte [edi + 0xb8], dl
je case.0x450653.207
push 0
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4c4068
push dword [edi + 0xb0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.004204d0
test al, al
je 0x45079e
mov ebx, dword [edi + 0x90]
lea edx, [edi + 0x88]
test ebx, ebx
je 0x45079e
mov eax, dword [ebx]
mov ecx, edi
mov esi, dword [eax + 0x48]
lea eax, [ebp + 0x14]
push eax
xor eax, eax
test edx, edx
cmove ecx, eax
add ecx, 4
call fcn.0044f0d0
push 0
push 0
push dword [eax]
push ebx
call esi
mov ecx, dword [edi + 0xa4]
call fcn.0047b700
mov edx, 0xc4
jmp case.0x450653.205
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp case.0x450653.205
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004027c0
sub al, 7
inc ebp
add byte [edi + eax], ch
inc ebp
add byte [edi - 0x4fffbaf9], dh
pop es
inc ebp
add byte [edi + eax], ch
inc ebp
add byte [edi + eax], ch
inc ebp
add byte [ebx], dh
pop es
inc ebp
add byte [ebx], bh
pop es
inc ebp
add byte [edi + eax + 0x7b70045], bh
inc ebp
add byte [edi + eax + 0x72c0045], bh
inc ebp
add byte [edi + eax], ch
inc ebp
add byte [edx + 6], bl
inc ebp
add ah, cl
int3