Function at 0x4c8a74
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4c8a7d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004061d8
mov eax, dword [ebp - 8]
call fcn.004061d8
xor eax, eax
push ebp
push 0x4c93f9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4c93c4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4c9418
push dword [ebp - 8]
push 0x4c9430
mov eax, 0x54df74
mov edx, 3
call fcn.00406694
mov dl, 1
mov eax, dword [0x4206b8]
call fcn.00425fec
mov esi, eax
push esi
mov eax, dword [ebp - 4]
call fcn.0040627c
mov ecx, eax
mov edx, 0x4c9440
mov eax, 0x4c9460
call fcn.004228f8
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
sar eax, 1
jns 0x4c8b16
adc eax, 0
dec eax
test eax, eax
jl 0x4c93ba
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edi, 0x4c9480
cmp ax, 0x100
jae 0x4c8b4d
movzx eax, al
bt dword [edi], eax
jb 0x4c8b51
xor eax, eax
jmp 0x4c8b53
mov al, 1
test al, al
jne 0x4c8b75
push 0x4c94a0
call sub.kernel32.dll_OutputDebugStringW
mov dword [ebp - 0x10], 0xfffffffd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x20]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040bd40
mov eax, dword [ebp - 0x1c]
mov edx, 0x4c94cc
call fcn.0040683c
jne 0x4c8c51
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0x24]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c8c0b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c7b40
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c94cc
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x2c]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c7b40
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c94cc
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x34]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040bd40
mov eax, dword [ebp - 0x30]
mov edx, 0x4c94f0
call fcn.0040683c
jne 0x4c8d2d
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0x38]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c8ce7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c7ce0
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c94f0
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x40]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c7ce0
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c94f0
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x48]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040bd40
mov eax, dword [ebp - 0x44]
mov edx, 0x4c9508
call fcn.0040683c
jne 0x4c8e09
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x50]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0x4c]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c8dc3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c7e84
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9508
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x54]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c7e84
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9508
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x5c]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0040bd40
mov eax, dword [ebp - 0x58]
mov edx, 0x4c951c
call fcn.0040683c
jne 0x4c8ee5
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x64]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0x60]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c8e9f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c8048
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c951c
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x68]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c8048
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c951c
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x70]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0040bd40
mov eax, dword [ebp - 0x6c]
mov edx, 0x4c9530
call fcn.0040683c
jne 0x4c8fc1
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x78]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0x74]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c8f7b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c81f0
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9530
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x7c]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c81f0
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9530
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x84]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.0040bd40
mov eax, dword [ebp - 0x80]
mov edx, 0x4c9544
call fcn.0040683c
jne 0x4c90b5
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x8c]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x8c]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0x88]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c9069
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c8394
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9544
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x90]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c8394
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9544
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0x98]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.0040bd40
mov eax, dword [ebp - 0x94]
mov edx, 0x4c9558
call fcn.0040683c
jne 0x4c91af
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa0]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa0]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0x9c]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c9163
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c8538
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9574
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0xa4]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c8538
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9574
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0xac]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.0040bd40
mov eax, dword [ebp - 0xa8]
mov edx, 0x4c9590
call fcn.0040683c
jne 0x4c92a9
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb4]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xb4]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0xb0]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c925d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c8700
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9590
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0xb8]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c8700
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c9590
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0xc0]
mov edx, ebx
add edx, edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.0040bd40
mov eax, dword [ebp - 0xbc]
mov edx, 0x4c95a4
call fcn.0040683c
jne 0x4c9395
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xc8]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc8]
mov ecx, 1
mov edx, 1
call fcn.00406844
mov eax, dword [ebp - 0xc4]
mov edx, 0x4c94e0
call fcn.0040683c
jne 0x4c9350
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.004c88b0
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c95a4
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
lea ecx, [ebp - 0xcc]
mov edx, ebx
add edx, edx
inc edx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.004c88b0
test al, al
je 0x4c93b0
mov eax, dword [ebp + 0xc]
mov edx, 0x4c95a4
call fcn.004061f0
mov dword [ebp - 0x10], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
push 0x4c95ac
call sub.kernel32.dll_OutputDebugStringW
mov dword [ebp - 0x10], 0xfffffffe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
inc ebx
dec dword [ebp - 0x14]
jne 0x4c8b25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c93ce
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9400
lea eax, [ebp - 0xcc]
mov edx, 0x2e
call fcn.004061e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004061e8
ret