Function at 0x4767c6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xec
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
push esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.0044d906
cmp esi, edi
je 0x4769a8
and esi, 0xffffffaf
cmp dword [ebp - 0x54], edi
mov ebx, esi
seta al
cmp dword [ebp - 0x54], edi
movzx eax, al
mov dword [ebp + 0x14], eax
jbe 0x476831
push edi
lea ecx, [ebp - 0x6c]
call fcn.0044d9db
cmp eax, 8
jne 0x476831
mov eax, ebx
and eax, 0xffff
shr ebx, 2
sub eax, 0x100
and ebx, 0x3fffc000
or ebx, eax
mov dword [ebp + 0x14], edi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004763ab
push ebx
lea ecx, [ebp - 0xec]
call fcn.0044d906
push 0x10
mov esi, eax
pop ecx
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff4
xor edi, edi
cmp eax, edi
je 0x4769a8
test al, 3
je 0x476879
mov dword [ebp - 4], 0x8876086c
jmp 0x4769a8
mov esi, eax
imul esi, dword [ebp + 0x10]
lea eax, [esi + 8]
push eax
mov dword [ebp - 4], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
cmp ecx, edi
mov dword [ebp - 8], ecx
jne 0x47689f
mov eax, 0x8007000e
jmp 0x4769b4
mov edx, dword [ebp + 0xc]
shr esi, 2
lea eax, [ecx + 4]
mov dword [ecx], ebx
push 4
mov dword [eax], esi
mov esi, dword [ebp + 0x10]
pop ebx
add eax, ebx
cmp esi, edi
jbe 0x47696e
mov dword [ebp + 0xc], esi
jmp 0x4768c4
push 4
pop ebx
mov ecx, dword [ebp - 0x34]
add edx, 0xc
cmp ecx, edi
jbe 0x4768d9
mov esi, dword [edx]
mov dword [eax], esi
add eax, ebx
add edx, ebx
dec ecx
jne 0x4768ce
cmp dword [ebp - 0x64], edi
jbe 0x4768e1
add edx, 0xc
cmp dword [ebp - 0x5c], edi
jbe 0x4768f6
cmp dword [ebp - 0x9c], edi
jbe 0x4768f4
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp dword [ebp - 0x58], edi
jbe 0x476903
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp dword [ebp + 0x14], edi
je 0x476925
mov ecx, dword [ebp - 0x2c]
mov ebx, ecx
shr ecx, 2
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, ebx
add edx, ebx
xor edi, edi
jmp 0x476928
add edx, dword [ebp - 0x2c]
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x30], ecx
jbe 0x476962
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ebp + ecx*4 - 0x2c]
mov ebx, ecx
shr ecx, 2
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + esi*4 - 0x2c]
add eax, ecx
add edx, ecx
inc esi
cmp esi, dword [ebp - 0x30]
mov dword [ebp + 0x10], esi
jb 0x476933
xor edi, edi
dec dword [ebp + 0xc]
jne 0x4768c1
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
lea esi, [ebp - 0xc]
push esi
push ecx
push dword [ebp - 4]
push edi
push edi
push 0x401a50
push eax
call dword [edx + 0x1c]
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x476998
push 0x405eb8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x4769a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xc], edi
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x14