Function at 0x1001ca30
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x180
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x17c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x18c]
push esi
xor eax, eax
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x30], ebp
mov esi, edx
mov byte [esp + 0x13], bl
mov byte [esp + 0x130], bl
mov dword [esp + 0x131], eax
mov dword [esp + 0x135], eax
mov dword [esp + 0x139], eax
mov word [esp + 0x13d], ax
mov byte [esp + 0x13f], al
cmp edi, ebx
jne 0x1001ca98
mov dword [esp + 0x18], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
jmp 0x1001cab1
cmp edi, 1
je 0x1001caa9
cmp edi, 3
je 0x1001caa9
xor al, al
jmp 0x1001ccc4
mov dword [esp + 0x18], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_______:___
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0x2c], eax
cmp byte [ebp + 0xc9], bl
je 0x1001cacf
mov al, 1
jmp 0x1001ccc4
cmp esi, ebx
je 0x1001caa2
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or ebp, 0xffffffff
mov dword [esp + 0x28], esi
cmp esi, ebp
je 0x1001ccc0
cmp edi, ebx
jne 0x1001cb41
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebx
sub eax, 0xd53e8000
push 0x989680
sbb ecx, 0x19db1de
push ecx
push eax
call fcn.100e67b0
mov ebp, eax
mov dword [esp + 0x14], 0x784ce0
jmp 0x1001cb45
mov dword [esp + 0x14], ebp
mov edx, dword [0x101dd388]
push 0x19
push edx
call dword [0x101dd384]
push ebx
lea eax, [esp + 0x38]
push eax
push 0x10
lea ecx, [esp + 0x13c]
push ecx
push esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x51eb851f
mul dword [esp + 0x14]
shr edx, 5
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
cmp dword [esp + 0x14], ebx
jbe 0x1001ccb9
nop
xor eax, eax
push ebp
mov byte [esp + 0x144], bl
mov dword [esp + 0x145], eax
mov dword [esp + 0x149], eax
mov dword [esp + 0x14d], eax
mov word [esp + 0x151], ax
mov byte [esp + 0x153], al
call fcn.100d0bf0
add esp, 4
dec ebp
xor esi, esi
lea esp, [esp]
call fcn.100d0c02
cdq
idiv dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 0x3b
mov cl, byte [edx + eax]
mov byte [esp + esi + 0x14f], cl
jle 0x1001cbd0
push 0xec
lea edx, [esp + 0x40]
push ebx
push edx
mov dword [esp + 0x44], ebx
call fcn.100d4cc0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x160]
push 0x100
push ecx
mov dword [esp + 0x140], ebx
call fcn.1006c040
push ebx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x154]
push ecx
call fcn.100723d0
add esp, 0x28
mov eax, 8
xor ecx, ecx
cmp eax, 4
jb 0x1001cc8c
mov edx, dword [esp + ecx + 0x140]
cmp edx, dword [ecx + 0x1012a094]
jne 0x1001cc61
sub eax, 4
add ecx, 4
jmp 0x1001cc45
inc dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x20]
jne 0x1001cc7c
mov eax, dword [0x101dd388]
push 0x1a
push eax
call dword [0x101dd384]
xor edi, edi
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x14]
jb 0x1001cb90
jmp 0x1001ccb5
mov esi, dword [esp + 0x30]
push 0x3c
lea edx, [esp + 0x154]
push edx
lea eax, [esi + 0xca]
push eax
call fcn.100d0e10
add esp, 0xc
mov byte [esi + 0xc9], 1
mov byte [esp + 0x13], 1
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d0738
add esp, 0x180
ret 4