Function at 0x536938
Capabilities:
Print debug messages

Disassembly:
jmp 0x5a9a04
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xec
push ebx
push esi
mov esi, dword [ebp + 0x78]
push edi
xor edi, edi
push esi
lea ecx, [ebp - 8]
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x5c], edi
mov dword [ebp + 0x58], edi
call fcn.0053d805
cmp esi, edi
je 0x5a9bf7
and esi, 0xffffffaf
cmp dword [ebp + 0x10], edi
mov ebx, esi
seta al
cmp dword [ebp + 0x10], edi
movzx eax, al
mov dword [ebp + 0x78], eax
jbe 0x5a9a6f
push edi
lea ecx, [ebp - 8]
call fcn.0053c3a1
cmp eax, 8
jne 0x5a9a6f
mov eax, ebx
and eax, 0xffff
shr ebx, 2
sub eax, 0x100
and ebx, 0x3fffc000
or ebx, eax
mov dword [ebp + 0x78], edi
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 8]
call fcn.005360dc
push ebx
lea ecx, [ebp - 0x88]
call fcn.0053d805
push 0x10
mov esi, eax
pop ecx
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff4
xor edi, edi
cmp eax, edi
je 0x5a9bf7
test al, 3
je 0x5a9ab1
mov dword [ebp + 0x60], 0x8876086c
jmp 0x5a9bf7
mov esi, eax
imul esi, dword [ebp + 0x74]
lea eax, [esi + 8]
push eax
mov dword [ebp + 0x60], eax
call fcn.00537b1c
pop ecx
mov ecx, eax
cmp ecx, edi
mov dword [ebp + 0x58], ecx
jne 0x5a9ad7
mov eax, 0x8007000e
jmp 0x5a9c03
mov edx, dword [ebp + 0x70]
shr esi, 2
lea eax, [ecx + 4]
mov dword [ecx], ebx
push 4
mov dword [eax], esi
mov esi, dword [ebp + 0x74]
pop ebx
add eax, ebx
cmp esi, edi
jbe 0x5a9ba3
mov dword [ebp + 0x70], esi
jmp 0x5a9afc
push 4
pop ebx
mov ecx, dword [ebp + 0x30]
add edx, 0xc
cmp ecx, edi
jbe 0x5a9b11
mov esi, dword [edx]
mov dword [eax], esi
add eax, ebx
add edx, ebx
dec ecx
jne 0x5a9b06
cmp dword [ebp], edi
jbe 0x5a9b19
add edx, 0xc
cmp dword [ebp + 8], edi
jbe 0x5a9b2b
cmp dword [ebp - 0x38], edi
jbe 0x5a9b29
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp dword [ebp + 0xc], edi
jbe 0x5a9b38
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp dword [ebp + 0x78], edi
je 0x5a9b5a
mov ecx, dword [ebp + 0x38]
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 0x5a9b5d
add edx, dword [ebp + 0x38]
xor ecx, ecx
inc ecx
cmp dword [ebp + 0x34], ecx
jbe 0x5a9b97
mov dword [ebp + 0x74], ecx
mov ecx, dword [ebp + 0x74]
mov ecx, dword [ebp + ecx*4 + 0x38]
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 + 0x74]
mov ecx, dword [ebp + esi*4 + 0x38]
add eax, ecx
add edx, ecx
inc esi
cmp esi, dword [ebp + 0x34]
mov dword [ebp + 0x74], esi
jb 0x5a9b68
xor edi, edi
dec dword [ebp + 0x70]
jne 0x5a9af9
mov ecx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x6c]
mov edx, dword [eax]
lea esi, [ebp + 0x5c]
push esi
push ecx
push dword [ebp + 0x60]
push edi
push edi
push 0x7d849c
push eax
call dword [edx + 0x10]
cmp eax, edi
mov dword [ebp + 0x60], eax
jge 0x5a9bc9
push str.Failed_to_create_x_file_data_object_
jmp 0x5a9be1
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, edi
mov dword [ebp + 0x60], eax
jge 0x5a9be7
push str.Failed_to_add_x_file_data_object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0x5c]
cmp eax, edi
je 0x5a9bf7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0x5c], edi
push dword [ebp + 0x58]
call fcn.0053732e
mov eax, dword [ebp + 0x60]
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14