Function at 0x4caba0
Capabilities:
Create directory
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549518
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x594584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004cb4d0
mov ecx, dword [ebx + 0x2e4]
lea eax, [ebx + 0x2d4]
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x4cac06
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f4c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebx + 0x220], 8
lea eax, [ebx + 0x20c]
jb 0x4cac37
mov eax, dword [eax]
movzx eax, word [eax]
lea ecx, [ebp - 0x28]
push eax
call fcn.004c79b0
push 5
push str..ntdb
lea ecx, [ebp - 0x28]
call fcn.0040f4c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x566b68
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005277cc
mov esi, eax
add esp, 8
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x4cade7
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
jb 0x4cac8c
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4caddc
push esi
call fcn.004cb2d0
add esp, 4
cmp eax, 1
jne 0x4caddc
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.00527f45
add esp, 8
cmp eax, 0xffffffff
je 0x4caddc
mov edi, dword [ebp - 0x44]
cmp edi, 0x11
jb 0x4caddc
mov eax, dword [ebx + 0x274]
test eax, eax
je 0x4cacdd
push eax
call fcn.004cc2ad
add esp, 4
mov dword [ebx + 0x274], 0
push 0x59b6d0
push edi
call fcn.004cc2b2
add esp, 8
mov dword [ebx + 0x274], eax
test eax, eax
je 0x4caddc
push dword [ebp - 0x5c]
push edi
push 1
push eax
call fcn.0052856b
mov ecx, dword [ebx + 0x274]
add esp, 0x10
mov eax, dword [ecx + 1]
lea esi, [ecx + 1]
mov dword [ebx + 0x2a0], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x2a4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x290], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
mov dword [ebx + 0x294], eax
lea eax, [ecx + edi]
cmp esi, eax
jae 0x4caddc
push 0xc
call fcn.004cbef6
mov ecx, eax
add esp, 4
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x4cad6c
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
jmp 0x4cad6e
xor ecx, ecx
mov eax, dword [esi]
mov dword [ebp - 0x60], ecx
mov dword [ecx], eax
test eax, eax
je 0x4cad9f
mov eax, dword [esi + 4]
add esi, 8
mov edx, esi
mov dword [ecx + 4], eax
mov dword [ecx + 8], esi
lea eax, [edx + 1]
mov dword [ebp - 0x64], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4cad90
sub edx, dword [ebp - 0x64]
inc esi
add esi, edx
jmp 0x4cada2
add esi, 4
mov eax, dword [ebx + 0x26c]
cmp dword [ebx + 0x270], eax
je 0x4cadbb
mov dword [eax], ecx
add dword [ebx + 0x26c], 4
jmp 0x4cadcb
lea ecx, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebx + 0x268]
call fcn.00419d20
mov eax, dword [ebx + 0x274]
add eax, dword [ebp - 0x44]
cmp esi, eax
jb 0x4cad43
push dword [ebp - 0x5c]
call fcn.00527fc6
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4cae1d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4cae13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cae39
push edx
push ecx
call fcn.004cbf26
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret
call fcn.005127d9
int3