Function at 0x401c50
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x210c
call fcn.00416b20
mov eax, dword [0x432ebc]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x34
mov dword [esp + 0x211c], eax
lea ebp, [esi + 0x468]
lea eax, [esp + 0xe8]
push ebp
push eax
call fcn.00416550
lea eax, [esi + 0x4f0]
push 0xa0
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x34], eax
call fcn.00416550
push 0x20
lea ebx, [esi + 0x4d0]
lea edx, [esp + 0xe0]
push ebx
push edx
call fcn.00416550
lea eax, [esi + 0x2314]
push 0x2000
push eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x144]
push eax
call fcn.00416550
lea eax, [esi + 0x448]
mov edx, eax
mov ecx, 0x20202020
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
push 9
mov dword [edx + 0x10], ecx
push str.ADCLABFFS
push eax
mov dword [edx + 0x14], ecx
call fcn.00416550
xor edi, edi
mov dword [esi + 0x460], edi
mov dword [esi + 0x464], edi
mov eax, 0x20202020
mov ecx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push 0xe
mov dword [ecx + 0x10], eax
push str.SAMPLES_FORMAT
push ebp
mov dword [ecx + 0x14], eax
call fcn.00416550
fld dword [esi + 0x1b00]
mov dword [esi + 0x484], edi
mov edi, dword [esp + 0x216c]
mov dword [esi + 0x480], 0x14
mov dword [esi + 0x488], 7
mov edx, dword [edi]
fstp qword [esi + 0x490]
mov dword [esi + 0x48c], edx
lea eax, [esi + 0x49c]
mov byte [esi + 0x498], 1
mov byte [esi + 0x499], 0
mov byte [esi + 0x49a], 0
mov ecx, 0x20202020
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
add esp, 0x48
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
push 0x14
mov dword [edx + 0x10], ecx
push str.CHANNELS_INFO_HEADER
push eax
mov dword [edx + 0x14], ecx
call fcn.00416550
xor ecx, ecx
mov dword [esi + 0x4b4], 0x14
mov dword [esi + 0x4b8], ecx
mov dword [esi + 0x4bc], 3
mov eax, dword [edi]
add esp, 0xc
cmp eax, ecx
jle 0x401def
lea edx, [edi + 0x184]
lea eax, [esi + 0x4f4]
inc ecx
mov dword [eax - 4], ecx
fld dword [edx - 0x80]
fstp qword [eax]
add edx, 4
fld dword [edx - 4]
add eax, 0x14
fstp qword [eax - 0xc]
cmp ecx, dword [edi]
jl 0x401dd6
mov eax, 0x20202020
mov ecx, ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
push 0xd
mov dword [ecx + 0x10], eax
push str.CHANNELS_INFO
push ebx
mov dword [ecx + 0x14], eax
call fcn.00416550
mov eax, dword [esi + 0x48c]
and eax, 0x1ff
lea eax, [eax + eax*4]
mov dword [esi + 0x4314], 8
shl eax, 2
cdq
mov dword [esi + 0x4ec], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x4e8], eax
mov eax, dword [0x42b4dc]
mov dword [edx], eax
mov ecx, dword [0x42b4e0]
mov dword [edx + 4], ecx
mov al, byte [0x42b4e4]
mov byte [edx + 8], al
mov dword [esi + 0x4314], 0xc
mov dword [esi + 0x231c], 1
mov eax, dword [esi + 0x4314]
lea ecx, [eax + 4]
mov dword [esi + 0x4314], ecx
or dword [esi + 0x231c], 2
mov edx, dword [esi + 0x4314]
mov dword [eax + esi + 0x2314], 0
lea ecx, [edx + esi + 0x2314]
mov edx, dword [edi]
add esp, 0xc
xor eax, eax
test edx, edx
jle 0x401ec5
lea edx, [edi + 0x204]
mov dword [esp + 0x10], edx
nop
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov dword [ecx + eax*4], edx
add dword [esp + 0x10], 4
mov edx, dword [edi]
inc eax
cmp eax, edx
jl 0x401eb0
mov eax, dword [edi]
mov ecx, dword [esi + 0x4314]
shl eax, 2
add ecx, eax
mov dword [esi + 0x4314], ecx
or dword [esi + 0x231c], 4
mov edx, dword [edi]
mov ecx, dword [esi + 0x4314]
xor eax, eax
test edx, edx
lea ecx, [ecx + esi + 0x2314]
jle 0x401f15
lea edx, [edi + 0x304]
mov dword [esp + 0x10], edx
mov edi, edi
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov dword [ecx + eax*4], edx
add dword [esp + 0x10], 4
mov edx, dword [edi]
inc eax
cmp eax, edx
jl 0x401f00
mov eax, dword [edi]
mov ecx, dword [esi + 0x4314]
mov edi, dword [esi + 0x4e8]
shl eax, 2
add ecx, eax
push 0
mov eax, ecx
push 0x20
cdq
push 2
mov dword [esi + 0x4314], ecx
mov ecx, dword [esi + 0x4ec]
add edi, eax
push 0
adc ecx, edx
push 0
mov dword [esi + 0x4ec], ecx
mov ecx, dword [esp + 0x2134]
push 0x40000000
push ecx
mov dword [esi + 0x4e8], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x24], eax
jne 0x401f73
xor eax, eax
jmp 0x4020ba
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x18]
push edx
push 0x20
lea ecx, [esi + 0x448]
push ecx
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0
lea eax, [esp + 0x18]
push eax
push 0x34
push ebp
push ecx
call edi
push 0
lea edx, [esp + 0x18]
push edx
push 0x34
lea eax, [esi + 0x49c]
push eax
mov eax, dword [esi + 0x24]
push eax
call edi
mov edx, dword [esi + 0x24]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x20
push ebx
push edx
call edi
test dword [esi + 0x48c], 0x1ff
mov dword [esp + 0x20], 0
jle 0x402018
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov edi, edi
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x14
push edx
push eax
call edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, 0x14
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x48c]
inc eax
and ecx, 0x1ff
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x401fe0
mov eax, dword [esi + 0x4314]
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0x24]
push eax
push ecx
push edx
call edi
mov edx, dword [esi + 0x24]
push 0
lea eax, [esp + 0x18]
push eax
push 0x28
lea ecx, [esi + 0x18f0]
push ecx
push edx
call edi
mov edx, dword [esi + 0x24]
push 0
lea eax, [esp + 0x18]
push eax
push 0x20
lea ecx, [esi + 0x1ac4]
push ecx
push edx
call edi
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x34
lea ecx, [esp + 0xe8]
push ecx
push ebp
call fcn.00416550
mov eax, dword [esp + 0x28]
push 0xa0
lea edx, [esp + 0x34]
push edx
push eax
call fcn.00416550
push 0x20
lea ecx, [esp + 0xe0]
push ecx
push ebx
call fcn.00416550
mov eax, dword [esp + 0x3c]
push 0x2000
lea edx, [esp + 0x140]
push edx
push eax
call fcn.00416550
add esp, 0x30
mov eax, 1
mov ecx, dword [esp + 0x2118]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00416328
add esp, 0x210c
ret 8