Function at 0x4a1ca8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a1f8a
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.004a1c54
pop ecx
test al, al
je 0x4a1f65
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a1f5e
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00406814
cmp dword [eax + 0x10], 0
jne 0x4a1d1b
mov dl, 1
mov eax, dword [0x419c28]
call fcn.004035cc
mov dword [ebp - 8], eax
call fcn.00406814
mov edx, dword [ebp - 8]
mov dword [eax + 0x10], edx
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x90]
cmp dword [ebp - 8], 0
je 0x4a1f35
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
jle 0x4a1f35
mov dl, 1
mov eax, dword [0x419c28]
call fcn.004035cc
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x419c28]
call fcn.004035cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a1f2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x419c28]
call fcn.004035cc
mov ebx, eax
call fcn.00406814
mov dword [eax + 0x10], ebx
xor eax, eax
push ebp
push 0x4a1eda
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4a1ea8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a1e76
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.0041c470
mov esi, eax
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0041c4d4
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a1dde
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0041c470
cmp eax, 0x1e
jge 0x4a1e17
mov eax, esi
call fcn.00448304
cmp ebx, 0xffffffff
je 0x4a1e01
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0041c470
mov ecx, eax
inc ecx
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0041c5d4
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.0041c300
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0041c300
jmp 0x4a1e6c
inc ebx
je 0x4a1e6c
mov eax, dword [0x4acd50]
cmp byte [eax], 0
je 0x4a1e6c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x124]
mov eax, dword [esi]
call fcn.0040354c
lea eax, [ebp - 0x124]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 4
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4a1fa0
call fcn.004098a4
mov eax, dword [ebp - 0x14]
call fcn.004048bc
push eax
call sub.kernel32.dll_OutputDebugStringA
dec edi
cmp edi, 0xffffffff
jne 0x4a1db2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1eaf
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 8]
call fcn.00406814
mov ebx, dword [eax + 0x10]
call fcn.00406814
mov edx, dword [ebp - 8]
mov dword [eax + 0x10], edx
mov dword [ebp - 8], ebx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1f74
cmp dword [ebp - 8], 0
je 0x4a1f5d
call fcn.00406814
xor edx, edx
mov dword [eax + 0x10], edx
lea eax, [ebp - 8]
call fcn.0040e538
ret
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1f91
lea eax, [ebp - 0x14]
call fcn.004043fc
ret