Function at 0x1001cce0
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 + 0x140], bl
mov dword [esp + 0x141], eax
mov dword [esp + 0x145], eax
mov dword [esp + 0x149], eax
mov word [esp + 0x14d], ax
mov byte [esp + 0x14f], al
cmp edi, ebx
jne 0x1001cd48
mov dword [esp + 0x18], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
jmp 0x1001cd61
cmp edi, 1
je 0x1001cd59
cmp edi, 3
je 0x1001cd59
xor al, al
jmp 0x1001cf69
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 0x1001cd7f
mov al, 1
jmp 0x1001cf69
cmp esi, ebx
je 0x1001cd52
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 0x1001cf65
cmp edi, ebx
jne 0x1001cdf1
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 0x1001cdf5
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 + 0x14c]
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 0x1001cf5e
nop
xor eax, eax
push ebp
mov byte [esp + 0x134], bl
mov dword [esp + 0x135], eax
mov dword [esp + 0x139], eax
mov dword [esp + 0x13d], eax
mov word [esp + 0x141], ax
mov byte [esp + 0x143], 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 0x1001ce80
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 + 0x150]
push eax
lea ecx, [esp + 0x164]
push ecx
call fcn.100723d0
add esp, 0x28
cmp dword [esp + 0x130], 0x46445025
jne 0x1001cf05
cmp byte [esp + 0x134], 0x2d
je 0x1001cf31
inc dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x20]
jne 0x1001cf21
mov edx, dword [0x101dd388]
push 0x1a
push edx
call dword [0x101dd384]
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jb 0x1001ce40
jmp 0x1001cf5a
mov esi, dword [esp + 0x30]
push 0x3c
lea ecx, [esp + 0x154]
push ecx
lea edx, [esi + 0xca]
push edx
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