Function at 0x4e0474
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3bd
push 0
push 0
dec ecx
jne 0x4e047c
push ecx
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x1a40]
mov ecx, 0x68d
rep movsd dword es:[edi], dword [esi]
mov esi, eax
xor eax, eax
push ebp
push 0x4e075c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1dba]
call fcn.004a7620
cmp byte [ebp - 0x193c], 1
jne 0x4e05a7
push 0x4e076c
call sub.kernel32.dll_OutputDebugStringA
lea edx, [ebp - 0x1dc0]
mov eax, dword [0x4e703c]
mov eax, dword [eax]
call fcn.0046aa30
mov eax, dword [ebp - 0x1dc0]
lea edx, [ebp - 0xc]
call fcn.0040a3dc
lea eax, [ebp - 0x1dc4]
mov ecx, 0x4e077c
mov edx, dword [ebp - 0xc]
call fcn.00404f64
mov eax, dword [ebp - 0x1dc4]
call fcn.004050dc
push eax
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 0x1dc8]
mov ecx, 0x4e0794
mov edx, dword [ebp - 0xc]
call fcn.00404f64
mov eax, dword [ebp - 0x1dc8]
call fcn.0040a1d4
test al, al
jne 0x4e0552
lea eax, [ebp - 0x1dcc]
mov ecx, 0x4e07b0
mov edx, dword [ebp - 0xc]
call fcn.00404f64
mov eax, dword [ebp - 0x1dcc]
call fcn.0040a1d4
test al, al
je 0x4e0563
mov bl, 1
push 0x4e07c4
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4e0731
mov esi, dword [ebp - 0x1910]
dec esi
test esi, esi
jl 0x4e0598
inc esi
lea edi, [ebp - 0x190c]
lea edx, [ebp - 0x1d72]
mov eax, edi
mov ecx, 0x10
call fcn.004094c0
test al, al
je 0x4e0592
mov bl, 1
jmp 0x4e0731
add edi, 0x20
dec esi
jne 0x4e0575
mov eax, 0x4e07d8
call fcn.004a6fc0
jmp 0x4e0731
lea ecx, [ebp - 0x1dba]
lea edx, [ebp - 0x1a40]
mov eax, esi
call fcn.004e0344
test al, al
jne 0x4e072f
cmp byte [ebp - 0x193c], 2
jne 0x4e06a8
push 0x4e07fc
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 0x1dd8]
lea edx, [ebp - 0x197c]
mov ecx, 0x20
call fcn.00404ea0
mov eax, dword [ebp - 0x1dd8]
lea edx, [ebp - 0x1dd4]
call fcn.004093d0
mov eax, dword [ebp - 0x1dd4]
lea edx, [ebp - 0x1dd0]
call fcn.004099c0
mov eax, dword [ebp - 0x1dd0]
push eax
lea eax, [ebp - 0x1de4]
lea edx, [ebp - 0x1c82]
mov ecx, 0x20
call fcn.00404ea0
mov eax, dword [ebp - 0x1de4]
lea edx, [ebp - 0x1de0]
call fcn.004093d0
mov eax, dword [ebp - 0x1de0]
lea edx, [ebp - 0x1ddc]
call fcn.004099c0
mov edx, dword [ebp - 0x1ddc]
pop eax
call fcn.00405074
je 0x4e072f
lea eax, [ebp - 8]
lea edx, [ebp - 0x197c]
mov ecx, 0x20
call fcn.00404ea0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1dec], eax
mov byte [ebp - 0x1de8], 0xb
lea edx, [ebp - 0x1dec]
xor ecx, ecx
mov eax, 0x4e0810
call fcn.0040acf0
mov eax, dword [ebp - 4]
call fcn.004a6fc0
jmp 0x4e0731
cmp byte [ebp - 0x1ce2], 0
jne 0x4e06ec
lea eax, [ebp - 8]
lea edx, [ebp - 0x1d62]
mov ecx, 0x80
call fcn.00404ea0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1dec], eax
mov byte [ebp - 0x1de8], 0xb
lea edx, [ebp - 0x1dec]
xor ecx, ecx
mov eax, 0x4e0810
call fcn.0040acf0
jmp 0x4e0725
lea eax, [ebp - 8]
lea edx, [ebp - 0x1ce2]
mov ecx, 0x30
call fcn.00404ea0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1dec], eax
mov byte [ebp - 0x1de8], 0xb
lea edx, [ebp - 0x1dec]
xor ecx, ecx
mov eax, 0x4e0854
call fcn.0040acf0
mov eax, dword [ebp - 4]
call fcn.004a6fc0
jmp 0x4e0731
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0763
lea eax, [ebp - 0x1de4]
mov edx, 0xa
call fcn.00404c54
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c54
ret