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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fe5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x65b500]
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.004d96a0
mov ecx, dword [ebx + 0x2e4]
lea eax, [ebx + 0x2d4]
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x4d8cb6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0043ec40
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 0x4d8ce7
mov eax, dword [eax]
movzx eax, word [eax]
lea ecx, [ebp - 0x28]
push eax
call fcn.004d52a0
push 5
push 0x61e128
lea ecx, [ebp - 0x28]
call fcn.0043ec40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x61e134
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005ddf6d
mov esi, eax
add esp, 8
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x4d8e97
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
jb 0x4d8d3c
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4d8e8c
push esi
call fcn.004d94a0
add esp, 4
cmp eax, 1
jne 0x4d8e8c
lea eax, [ebp - 0x58]
push eax
push esi
call fcn.005de6e6
add esp, 8
cmp eax, 0xffffffff
je 0x4d8e8c
mov edi, dword [ebp - 0x44]
cmp edi, 0x11
jb 0x4d8e8c
mov eax, dword [ebx + 0x274]
test eax, eax
je 0x4d8d8d
push eax
call fcn.004da3d2
add esp, 4
mov dword [ebx + 0x274], 0
push 0x6682ac
push edi
call fcn.004da5d2
add esp, 8
mov dword [ebx + 0x274], eax
test eax, eax
je 0x4d8e8c
push dword [ebp - 0x5c]
push edi
push 1
push eax
call fcn.005ded0c
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 0x4d8e8c
push 0xc
call fcn.004da3a2
mov ecx, eax
add esp, 4
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x4d8e1c
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
jmp 0x4d8e1e
xor ecx, ecx
mov eax, dword [esi]
mov dword [ebp - 0x60], ecx
mov dword [ecx], eax
test eax, eax
je 0x4d8e4f
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 0x4d8e40
sub edx, dword [ebp - 0x64]
inc esi
add esi, edx
jmp 0x4d8e52
add esi, 4
mov eax, dword [ebx + 0x26c]
cmp dword [ebx + 0x270], eax
je 0x4d8e6b
mov dword [eax], ecx
add dword [ebx + 0x26c], 4
jmp 0x4d8e7b
lea ecx, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebx + 0x268]
call fcn.004d3d70
mov eax, dword [ebx + 0x274]
add eax, dword [ebp - 0x44]
cmp esi, eax
jb 0x4d8df3
push dword [ebp - 0x5c]
call fcn.005de767
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4d8ecd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4d8ec3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d8ee9
push edx
push ecx
call fcn.004da0c6
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.004da36e
mov esp, ebp
pop ebp
ret
call fcn.005c8d19
int3