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

Disassembly:
push 0xa4
mov eax, 0x10114783
call fcn.10062c32
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.100cd6c8
mov esi, eax
mov dword [ebp - 0x88], esi
test esi, esi
js 0x100cb940
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.1008082d
mov byte [ebp - 4], 1
cmp dword [ebp - 0x88], 0
jl 0x100cb933
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 0x100cb862
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 0x100cb751
push 0x10039700
lea ecx, [ebp - 0x60]
call fcn.1006e757
mov dword [ebp - 0x48], 0x185
mov byte [ebp - 4], 6
call fcn.1006c4b2
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x44]
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x30], ebx
push 0x10039550
mov word [ebp - 0x44], ax
call fcn.1006af70
lea eax, [ebp - 0x44]
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.100811b3
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.10092848
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.1006af70
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
push 1
lea ecx, [ebp - 0x60]
call fcn.10081090
lea ecx, [ebp - 0x2c]
call fcn.1006af06
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], 0x10002e5c
call fcn.1006af06
lea ecx, [ebp - 0x44]
jmp 0x100cb913
cmp eax, 0xc0000011
je 0x100cb933
push 0x10039700
lea ecx, [ebp - 0x60]
call fcn.1006e757
mov dword [ebp - 0x48], 0x178
mov byte [ebp - 4], 2
call fcn.1006c4b2
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x18], ebx
push 0x10039630
mov word [ebp - 0x2c], ax
call fcn.1006af70
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.100811b3
mov esi, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.10092848
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.1006af70
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
push 1
lea ecx, [ebp - 0x60]
call fcn.10081090
lea ecx, [ebp - 0x44]
call fcn.1006af06
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], 0x10002e5c
call fcn.1006af06
lea ecx, [ebp - 0x2c]
call fcn.1006af06
lea ecx, [ebp - 0x60]
call fcn.1006b804
mov esi, dword [ebp - 0x88]
lea ecx, [ebp - 0x94]
call fcn.10074e3b
jmp 0x100cb940
lea ecx, [ebp - 0x94]
call fcn.10074e3b
xor esi, esi
lea ecx, [ebp - 0xa8]
call fcn.10074e3b
mov eax, esi
call fcn.10062bca
ret