Function at 0x4507bb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac6fd
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 0x4506c0
push eax
call ebx
cmp dword [esi], eax
je 0x4506c0
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.0x4506d3.211
jmp dword [eax*4 + 0x45085c]
call fcn.00404500
mov ecx, eax
test ecx, ecx
je 0x450852
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.0044ffd0
mov eax, dword [edi + 0xa0]
mov eax, dword [eax + 0x10]
cmp eax, 0xc4
je 0x450761
cmp eax, 0x6a
jne 0x450771
cmp byte [edi + 0xb8], 0
je 0x450771
mov ecx, 1
jmp 0x450773
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.0x4506d3.213
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor edx, edx
jmp case.0x4506d3.205
or edx, 0xffffffff
jmp case.0x4506d3.205
cmp byte [edi + 0xb8], dl
je case.0x4506d3.207
push 0
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4c4078
push dword [edi + 0xb0]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.004204d0
test al, al
je 0x45081e
mov ebx, dword [edi + 0x90]
lea edx, [edi + 0x88]
test ebx, ebx
je 0x45081e
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.0044f150
push 0
push 0
push dword [eax]
push ebx
call esi
mov ecx, dword [edi + 0xa4]
call fcn.0047b770
mov edx, 0xc4
jmp case.0x4506d3.205
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp case.0x4506d3.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
lodsb al, byte [esi]
pop es
inc ebp
add byte [edi + eax + 0x8370045], ch
inc ebp
add byte [eax], dh
or byte [ebp], al
lodsb al, byte [esi]
pop es
inc ebp
add byte [edi + eax + 0x7b30045], ch
inc ebp
add byte [ebx + 0x3c004507], bh
or byte [ebp], al
aaa
or byte [ebp], al
cmp al, 8
inc ebp
add byte [edi + eax + 0x7ac0045], ch
inc ebp
add dl, bl
push es
inc ebp
add ah, cl
int3