Function at 0x567ce0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports
Write file on windows

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
push edi
mov ebx, edx
je 0x567d70
mov edi, dword [esp + 0x5c]
cmp edi, 0x100
jae 0x567d70
mov eax, dword [ebp + edi*4 + 0x2008]
push 0
push 0
push 0
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + edi*4 + 4]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push edx
push 0
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jne 0x567d70
cmp dword [esi + 0x18], 0x10
jb 0x567d3e
mov esi, dword [esi + 4]
jmp 0x567d41
add esi, 4
push 0x67d754
push esi
call fcn.006262fc
mov esi, eax
add esp, 8
test esi, esi
ja 0x567d7c
mov edx, dword [esp + 0x1c]
mov ebp, dword [ebp + edi*4 + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x4c]
push 0
push 0
push edx
push eax
push ebp
call ecx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
mov edx, dword [esp + 0x24]
push esi
push 4
add edx, 0x24
push 1
push str.RIFF
mov dword [esp + 0x28], edx
call fcn.00627cab
push esi
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.00627cab
push esi
push 4
push 1
push str.WAVE
call fcn.00627cab
mov eax, dword [ebp + edi*4 + 4]
mov ecx, dword [eax]
add esp, 0x30
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00613caa
mov edx, dword [esp + 0x60]
mov edi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
add esp, 4
mov word [edi + 0x10], ax
mov eax, dword [ebp + edx*4 + 4]
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
push 0
push edx
push edi
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [esp + 0x3c], 1
movzx edx, word [edi + 2]
mov dword [esp + 0x44], edx
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], ecx
movzx eax, word [edi + 0xe]
mov dword [esp + 0x40], eax
movzx eax, ax
movzx edx, dx
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
movzx eax, ax
mov dword [esp + 0x38], eax
movzx eax, ax
imul eax, ecx
push edi
mov dword [esp + 0x38], eax
call fcn.0062493b
push esi
push 4
push 1
push str.fmt
mov dword [esp + 0x2c], 0x10
call fcn.00627cab
push esi
push 4
push 1
lea ecx, [esp + 0x38]
push ecx
call fcn.00627cab
push esi
push 1
lea edx, [esp + 0x68]
push 2
push edx
call fcn.00627cab
push esi
push 1
lea eax, [esp + 0x80]
push 2
push eax
call fcn.00627cab
add esp, 0x44
push esi
push 1
lea ecx, [esp + 0x38]
push 4
push ecx
call fcn.00627cab
push esi
push 1
lea edx, [esp + 0x4c]
push 4
push edx
call fcn.00627cab
push esi
push 1
lea eax, [esp + 0x60]
push 2
push eax
call fcn.00627cab
push esi
push 1
lea ecx, [esp + 0x78]
push 2
push ecx
call fcn.00627cab
xor eax, eax
add esp, 0x40
lea edi, [esp + 0x48]
mov ecx, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call fcn.00567c90
movzx eax, word [ebx + 0x14]
push esi
movzx edx, ax
push 4
add edx, 0xa
push 1
push str.dep
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
call fcn.00627cab
push esi
push 1
lea eax, [esp + 0x30]
push 4
push eax
call fcn.00627cab
push esi
push 1
lea ecx, [esp + 0x50]
push 2
push ecx
call fcn.00627cab
add esp, 0x30
cmp dword [ebx + 0x18], 0x10
jb 0x567f37
mov ebx, dword [ebx + 4]
jmp 0x567f3a
add ebx, 4
movzx edx, word [esp + 0x28]
push esi
push edx
push 1
push ebx
call fcn.00627cab
push esi
push 1
lea eax, [esp + 0x60]
push 8
push eax
call fcn.00627cab
push esi
push 4
push 1
push str.xor
mov dword [esp + 0x48], 1
mov byte [esp + 0x47], 0xf7
call fcn.00627cab
push esi
push 1
lea ecx, [esp + 0x50]
push 4
push ecx
call fcn.00627cab
add esp, 0x40
push esi
push 1
lea edx, [esp + 0x1f]
push 1
push edx
call fcn.00627cab
xor eax, eax
add esp, 0x10
cmp dword [esp + 0x1c], eax
jbe 0x567fb4
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x17]
xor byte [eax + ecx], dl
add eax, 1
cmp eax, dword [esp + 0x1c]
jb 0x567fa0
push esi
push 4
push 1
push str.data
call fcn.00627cab
push esi
push 1
lea eax, [esp + 0x3c]
push 4
push eax
call fcn.00627cab
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push esi
push ecx
push 1
push edx
call fcn.00627cab
push esi
call fcn.006261bc
mov ecx, dword [esp + 0x50]
add esp, 0x34
xor eax, eax
test ecx, ecx
jbe 0x568016
jmp 0x568000
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x17]
xor byte [eax + ecx], dl
mov ecx, dword [esp + 0x1c]
add eax, 1
cmp eax, ecx
jb 0x568000
mov eax, dword [esp + 0x5c]
mov ebp, dword [ebp + eax*4 + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [ebp]
push 0
push 0
push ecx
mov ecx, dword [edx + 0x4c]
push eax
push ebp
call ecx
pop edi
pop esi
test eax, eax
pop ebp
sete al
pop ebx
add esp, 0x44
ret 8