Function at 0x40ece0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450620
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x473018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 0x28]
xor eax, eax
mov edx, dword [ebp + 0x18]
mov dword [ebp + 0x28], 0
mov word [ebx], ax
mov eax, dword [ebp + 0x30]
mov byte [eax], 0
cmp edx, 3
ja case.default.0x40ed2d
jmp dword [edx*4 + 0x40ef1c]
mov edi, dword [ebp + 0x1c]
mov ecx, edi
call fcn.0040dae0
mov dword [ebp + 0x28], eax
jmp 0x40ed9b
mov edi, dword [ebp + 0x1c]
mov ecx, edi
call fcn.0040db00
mov dword [ebp + 0x28], eax
jmp 0x40ed9b
mov edi, dword [ebp + 0x1c]
test edi, edi
js 0x40ed7b
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.0040f1b0
add esp, 0x18
mov edi, 0x8007029c
mov ecx, edi
call fcn.0040db20
mov dword [ebp + 0x28], eax
jmp 0x40ed9b
mov edi, dword [ebp + 0x1c]
push edi
call fcn.0040db40
add esp, 4
mov dword [ebp + 0x28], eax
jmp 0x40ed9b
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 [0x4750fc], eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x40edc4
cmp word [eax], 0
jne 0x40edc6
xor eax, eax
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x10], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x28]
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 - 0x14]
mov dword [esi + 0x4c], eax
mov eax, dword [0x475074]
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 eax, eax
je 0x40ee2b
call eax
jmp 0x40ee2d
xor eax, eax
mov dword [esi + 0x44], eax
mov eax, dword [0x47505c]
test eax, eax
je 0x40ee44
push 0x400
push dword [ebp + 0x30]
push esi
call eax
mov eax, dword [0x475058]
test eax, eax
je 0x40ee50
push esi
call eax
mov eax, dword [0x475068]
test eax, eax
je 0x40ee5c
push esi
call eax
cmp dword [esi + 4], 0
jl 0x40ee73
cmp dword [ebp + 0x18], 3
jne 0x40ef15
mov dword [esi + 4], 0x8000ffff
cmp byte [0x475048], 0
jne 0x40eeb7
mov eax, dword [0x47504c]
test eax, eax
je 0x40ee8c
call eax
movzx eax, al
jmp 0x40ee98
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
jne 0x40eeb7
mov eax, dword [0x475050]
test eax, eax
je 0x40eeef
cmp byte [0x475055], 0
jne 0x40eeef
push 0
push 0
push esi
call eax
jmp 0x40eeef
mov eax, dword [0x475050]
test eax, eax
je 0x40eed2
cmp byte [0x475055], 0
jne 0x40eed2
push 0x800
push ebx
push esi
call eax
cmp word [ebx], 0
jne 0x40eee8
push esi
mov edx, 0x800
mov ecx, ebx
call fcn.0040d720
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x475054], 0
je 0x40ef03
mov eax, dword [0x475064]
test eax, eax
je 0x40ef03
call eax
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.0040f3d0
nop
xor al, 0xed
inc eax
add byte [ebx - 0x13], al
inc eax
add byte [edx - 0x13], dl
inc eax
add byte [edi - 0x33ffbf13], al
int3