Function at 0x40ef50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452210
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x476040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp + 0x28]
xor eax, eax
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x10], 0
mov word [ebx], ax
mov eax, dword [ebp + 0x30]
mov byte [eax], 0
cmp edx, 3
ja case.default.0x40ef9d
jmp dword [edx*4 + 0x40f1d0]
mov edi, dword [ebp + 0x1c]
mov ecx, edi
call fcn.0040dd20
mov dword [ebp - 0x10], eax
jmp 0x40f00b
mov edi, dword [ebp + 0x1c]
mov ecx, edi
call fcn.0040dd40
mov dword [ebp - 0x10], eax
jmp 0x40f00b
mov edi, dword [ebp + 0x1c]
test edi, edi
js 0x40efeb
push 0x8007029c
push 2
push dword [ebp + 0x14]
mov edx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040f480
add esp, 0x18
mov edi, 0x8007029c
mov ecx, edi
call fcn.0040dd60
mov dword [ebp - 0x10], eax
jmp 0x40f00b
mov edi, dword [ebp + 0x1c]
push edi
call fcn.0040dd80
add esp, 4
mov dword [ebp - 0x10], eax
jmp 0x40f00b
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x38]
mov eax, dword [ebp + 0x18]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], edi
lock xadd dword [0x47813c], eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x40f034
cmp word [eax], 0
jne 0x40f036
xor eax, eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x4780bc]
xorps xmm0, xmm0
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x28], 0
movq qword [esi + 0x38], xmm0
mov dword [esi + 0x40], 0
movq qword [esi + 0x2c], xmm0
mov dword [esi + 0x34], 0
test edi, edi
je 0x40f0a4
mov ecx, edi
call dword [0x45827c]
call edi
jmp 0x40f0a6
xor eax, eax
mov edi, dword [0x4780a0]
mov dword [esi + 0x44], eax
test edi, edi
je 0x40f0c6
push 0x400
push dword [ebp + 0x30]
mov ecx, edi
push esi
call dword [0x45827c]
call edi
mov edi, dword [0x47809c]
test edi, edi
je 0x40f0db
push esi
mov ecx, edi
call dword [0x45827c]
call edi
mov edi, dword [0x4780b0]
test edi, edi
je 0x40f0f0
push esi
mov ecx, edi
call dword [0x45827c]
call edi
cmp dword [esi + 4], 0
jl 0x40f107
cmp dword [ebp + 0x18], 3
jne 0x40f1ca
mov dword [esi + 4], 0x8000ffff
cmp byte [0x478098], 0
jne 0x40f15a
mov edi, dword [0x478090]
test edi, edi
je 0x40f129
mov ecx, edi
call dword [0x45827c]
call edi
movzx eax, al
jmp 0x40f135
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
jne 0x40f15a
mov edi, dword [0x478094]
test edi, edi
je 0x40f19b
cmp byte [0x47809a], al
jne 0x40f19b
push eax
push eax
push esi
mov ecx, edi
call dword [0x45827c]
call edi
jmp 0x40f19b
mov edi, dword [0x478094]
test edi, edi
je 0x40f17e
cmp byte [0x47809a], 0
jne 0x40f17e
push 0x800
push ebx
push esi
mov ecx, edi
call dword [0x45827c]
call edi
cmp word [ebx], 0
jne 0x40f194
push esi
mov edx, 0x800
mov ecx, ebx
call fcn.0040d960
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x478099], 0
je 0x40f1b8
mov esi, dword [0x4780a4]
test esi, esi
je 0x40f1b8
mov ecx, esi
call dword [0x45827c]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0040f6a0
nop
movsb byte es:[edi], byte [esi]
out dx, eax
inc eax
add byte [ebx - 0x3dffbf11], dh
out dx, eax
inc eax
add bh, dh
out dx, eax
inc eax
add ah, cl
int3