Function at 0x413af0
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.00412f05
cmp esi, edi
je 0x413cd2
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 0x413b5b
push edi
lea ecx, [ebp - 0x6c]
call fcn.00412fd5
cmp eax, 8
jne 0x413b5b
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.00412ffe
push ebx
lea ecx, [ebp - 0xec]
call fcn.00412f05
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 0x413cd2
test al, 3
je 0x413ba3
mov dword [ebp - 4], 0x8876086c
jmp 0x413cd2
mov esi, eax
imul esi, dword [ebp + 0x10]
lea eax, [esi + 8]
push eax
mov dword [ebp - 4], eax
call fcn.00508280
pop ecx
mov ecx, eax
cmp ecx, edi
mov dword [ebp - 8], ecx
jne 0x413bc9
mov eax, 0x8007000e
jmp 0x413cde
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 0x413c98
mov dword [ebp + 0xc], esi
jmp 0x413bee
push 4
pop ebx
mov ecx, dword [ebp - 0x34]
add edx, 0xc
cmp ecx, edi
jbe 0x413c03
mov esi, dword [edx]
mov dword [eax], esi
add eax, ebx
add edx, ebx
dec ecx
jne 0x413bf8
cmp dword [ebp - 0x64], edi
jbe 0x413c0b
add edx, 0xc
cmp dword [ebp - 0x5c], edi
jbe 0x413c20
cmp dword [ebp - 0x9c], edi
jbe 0x413c1e
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp dword [ebp - 0x58], edi
jbe 0x413c2d
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp dword [ebp + 0x14], edi
je 0x413c4f
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 0x413c52
add edx, dword [ebp - 0x2c]
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x30], ecx
jbe 0x413c8c
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 0x413c5d
xor edi, edi
dec dword [ebp + 0xc]
jne 0x413beb
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 0x60c470
push eax
call dword [edx + 0x1c]
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x413cc2
push str.Failed_to_create_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x413cd2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0xc], edi
push dword [ebp - 8]
call fcn.00508050
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x14