Function at 0x100cb2db
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0xa4
mov eax, 0x10113de3
call fcn.10062882
mov edi, edx
mov ebx, ecx
mov eax, dword [edi]
mov esi, dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0xac], esi
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], eax
call fcn.1004abd7
mov esi, eax
mov dword [ebp - 0x88], esi
test esi, esi
js 0x100cb560
xor eax, eax
push ecx
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x81], al
lea eax, [ebp - 0x81]
push eax
push 0x4000
call fcn.1004abd7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x88], 0
jl 0x100cb553
mov ecx, dword [ebp - 0x90]
xor edx, edx
sub ecx, dword [ebp - 0x94]
mov eax, dword [ebx]
push edx
push edx
push ecx
push dword [ebp - 0x94]
lea ecx, [ebp - 0x9c]
push ecx
push edx
push edx
push edx
push dword [eax]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov dword [ebp - 0x88], eax
test eax, eax
js 0x100cb482
mov eax, dword [edi]
lea ecx, [ebp - 0x9c]
xor edx, edx
push edx
push edx
push dword [ebp - 0x98]
push dword [ebp - 0x94]
push ecx
push edx
push edx
push edx
push dword [eax]
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [ebp - 0x88], eax
test eax, eax
jns 0x100cb371
push 0x10039770
lea ecx, [ebp - 0x60]
call fcn.1004abd7
mov dword [ebp - 0x48], 0x185
mov byte [ebp - 4], 6
call fcn.1006c112
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x30], ebx
push 0x100395c0
mov word [ebp - 0x44], ax
call fcn.1004abd7
lea eax, [ebp - 0x44]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1004abd7
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.100924a8
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x1001df58
mov word [ebp - 0x2c], ax
call fcn.1004abd7
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
push 1
lea ecx, [ebp - 0x60]
call fcn.10080cf0
lea ecx, [ebp - 0x2c]
call fcn.1006ab66
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], 0x10002e5c
call fcn.1006ab66
lea ecx, [ebp - 0x44]
jmp 0x100cb533
cmp eax, 0xc0000011
je 0x100cb553
push 0x10039770
lea ecx, [ebp - 0x60]
call fcn.1004abd7
mov dword [ebp - 0x48], 0x178
mov byte [ebp - 4], 2
call fcn.1006c112
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x100396a0
mov word [ebp - 0x2c], ax
call fcn.1004abd7
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1004abd7
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.100924a8
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], ebx
push 0x1001df58
mov word [ebp - 0x44], ax
call fcn.1004abd7
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
push 1
lea ecx, [ebp - 0x60]
call fcn.10080cf0
lea ecx, [ebp - 0x44]
call fcn.1006ab66
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], 0x10002e5c
call fcn.1006ab66
lea ecx, [ebp - 0x2c]
call fcn.1006ab66
lea ecx, [ebp - 0x60]
call fcn.1006b464
mov esi, dword [ebp - 0x88]
lea ecx, [ebp - 0x94]
call fcn.10074a9b
jmp 0x100cb560
lea ecx, [ebp - 0x94]
call fcn.10074a9b
xor esi, esi
lea ecx, [ebp - 0xa8]
call fcn.10074a9b
mov eax, esi
call fcn.1006281a
ret