Function at 0x4cfe9f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0xc], edi
call fcn.0044dbe1
test al, al
je 0x4cfeca
push 0x517834
mov ecx, edi
call fcn.004a0fd9
mov eax, edi
jmp 0x4d0193
cmp dword [esi], 0
je 0x4cfeb7
push ebx
lea ecx, [ebp - 8]
call fcn.004a0e93
mov edi, dword [esi]
lea eax, [ebp - 0x14]
mov ebx, 0x88ddec
push eax
mov ecx, ebx
call fcn.00409044
lea ecx, [edi + 8]
call fcn.004a0ff9
mov ecx, dword [ebp - 0x14]
mov edi, eax
call fcn.0043a7f8
mov edx, edi
mov ecx, eax
call fcn.004b7a3f
push eax
lea ecx, [ebp - 8]
call fcn.004a0c86
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 1], 0
call fcn.004a0ea5
test eax, eax
je 0x4cff28
mov ecx, dword [ebp + 0xc]
call fcn.004a0e99
jmp 0x4cff2d
mov eax, 0x510d20
xor edi, edi
push edi
lea ecx, [ebp - 1]
push ecx
push edi
push eax
lea ecx, [ebp - 0x7c]
call fcn.00483188
xor al, al
cmp byte [ebp - 1], al
je 0x4cff69
mov ecx, dword [ebp - 0x7c]
mov edx, 0x518f90
call fcn.0049fb01
test al, al
jne 0x4cff67
mov ecx, dword [ebp - 0x7c]
mov edx, 0x5180c4
call fcn.0049fb01
test al, al
je 0x4cff69
mov al, 1
cmp byte [ebp + 0x10], 0
je 0x4d00d0
test al, al
jne 0x4d00d0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 4
call fcn.004a0e93
cmp dword [ebp - 0x7c], edi
je 0x4cffaf
push dword [ebp - 0x7c]
push dword [0x895394]
call fcn.0049f9e2
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.004a0c86
mov eax, dword [esi]
lea ecx, [eax + 0x24]
call fcn.004a1005
push 0x40
pop edi
mov ecx, eax
cmp eax, edi
jb 0x4cffc4
mov ecx, edi
mov eax, dword [esi]
push ecx
lea ecx, [eax + 0x24]
call fcn.004a0ff9
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.004a09d2
mov eax, dword [esi]
cmp dword [eax + 0x58], 0
je 0x4cffeb
mov ecx, dword [eax + 0x58]
call fcn.004a038d
jmp 0x4cfff0
mov eax, 0x510d20
push eax
lea ecx, [ebp + 0xc]
call fcn.004a0e73
lea ecx, [ebp + 0xc]
call fcn.004a0ea5
cmp eax, edi
jb 0x4d0007
mov eax, edi
push eax
lea ecx, [ebp + 0xc]
call fcn.004a0e99
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.004a0640
push dword [eax]
lea ecx, [ebp + 0xc]
call fcn.004a0eb9
lea ecx, [ebp - 0x18]
call fcn.004a0c7d
mov eax, dword [esi]
mov ecx, dword [eax + 0x34]
call fcn.004a038d
push eax
lea ecx, [ebp + 0x10]
call fcn.004a0e73
lea ecx, [ebp + 0x10]
call fcn.004a0ea5
cmp eax, edi
jb 0x4d004d
mov eax, edi
push eax
lea ecx, [ebp + 0x10]
call fcn.004a0e99
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.004a0640
push dword [eax]
lea ecx, [ebp + 0x10]
call fcn.004a0eb9
lea ecx, [ebp - 0x18]
call fcn.004a0c7d
mov edi, dword [0x8953a0]
lea ecx, [ebp + 0x10]
call fcn.004a0e99
push eax
lea ecx, [ebp + 0xc]
call fcn.004a0e99
push eax
lea ecx, [ebp - 0x10]
call fcn.004a0ff9
push eax
push 0x512da8
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00477c73
add esp, 0x18
lea ecx, [ebp + 0x10]
mov edi, eax
call fcn.004a0c7d
lea ecx, [ebp + 0xc]
call fcn.004a0c7d
lea ecx, [ebp - 0x10]
call fcn.004a0c7d
lea ecx, [ebp - 0x14]
call fcn.004a0c7d
cmp edi, 6
jne 0x4d0172
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
call fcn.00409044
mov ecx, dword [ebp + 0x10]
push 0
call fcn.0043a7f8
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 8]
call fcn.004082d7
test al, al
jne 0x4d0199
mov edi, dword [esi]
push 1
push 1
push 0
lea ecx, [ebp - 8]
call fcn.004a0ff9
lea ecx, [edi + 4]
mov dword [ebp + 0x10], eax
call fcn.004a0ff9
mov ecx, dword [ebp + 0x10]
mov edx, ecx
mov ecx, eax
call fcn.004b7926
test eax, eax
jne 0x4d0199
lea eax, [ebp + 0x10]
push eax
mov ecx, ebx
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0x10
call fcn.00409044
mov ecx, dword [ebp + 0x10]
mov esi, dword [esi]
mov edi, dword [0x895390]
call fcn.0043a7f8
push eax
lea ecx, [esi + 0x24]
call fcn.004a0ff9
push eax
push 0x52776c
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00477c73
add esp, 0x14
mov ecx, dword [ebp - 0xc]
push 0x517834
call fcn.004a0fd9
lea ecx, [ebp - 0x7c]
call fcn.00483177
lea ecx, [ebp - 8]
call fcn.004a0c7d
mov eax, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
leave
ret 0xc
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.004a1682
jmp 0x4d017f