Function at 0x4d7f74
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x188], edx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x184], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x164]
mov edx, dword [0x407f20]
call fcn.00404f54
xor eax, eax
push ebp
push 0x4d82be
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x44]
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4d826c
mov eax, dword [ebp - 4]
call fcn.004d7d58
test al, al
je 0x4d826c
mov dl, 1
mov eax, dword [0x41bcf4]
call fcn.00403514
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], esi
xor eax, eax
push ebp
push 0x4d8265
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
lea eax, [ebp - 0x168]
call fcn.00404680
mov edx, dword [ebp - 0x168]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov edx, 0x4d82d8
call fcn.00404780
jne 0x4d8064
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004d7218
jmp 0x4d8072
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
call fcn.0040440c
cmp dword [ebp - 0xc], 0
je 0x4d824c
push 0
push dword [ebp - 0xc]
push 0x4d82e8
mov eax, dword [ebp - 4]
push dword [eax + 0x58]
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.004046f4
mov eax, dword [ebp - 0x16c]
call fcn.00404834
push eax
call sub.kernel32.dll_CreateDirectoryA
push dword [ebp - 0xc]
push 0x4d82e8
mov eax, dword [ebp - 4]
push dword [eax + 0x58]
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.004046f4
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x164]
mov edx, 0x10
call fcn.004098f0
test eax, eax
jne 0x4d81fb
push dword [ebp - 0xc]
push 0x4d82e8
mov eax, dword [ebp - 4]
push dword [eax + 0x58]
mov eax, dword [ebp - 4]
add eax, 0x68
mov edx, 3
call fcn.004046f4
push dword [ebp - 0xc]
push 0x4d82e8
mov eax, dword [ebp - 4]
push dword [eax + 0x58]
lea eax, [ebp - 0x174]
mov edx, 3
call fcn.004046f4
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 4]
call fcn.004d73bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4d], 0
je 0x4d8163
push 0
lea edx, [ebp - 0x178]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x178]
mov cx, word [0x4d82ec]
mov dl, 2
call fcn.004346d0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x50]
test ebx, ebx
je 0x4d818b
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x17c]
mov eax, ebx
call fcn.004425f0
mov eax, dword [ebp - 4]
mov byte [eax + 0x78], 1
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c], 0
je 0x4d8241
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x5c]
test ebx, ebx
je 0x4d81e4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
lea eax, [ebp - 0x184]
call fcn.00404680
mov edx, dword [ebp - 0x184]
lea eax, [ebp - 0x180]
call fcn.00404c08
mov edx, dword [ebp - 0x180]
mov eax, ebx
call fcn.004862dc
jmp 0x4d8241
push 0
mov cx, word [0x4d82ec]
mov dl, 1
mov eax, 0x4d82f8
call fcn.004346d0
jmp 0x4d8241
mov eax, dword [ebp - 4]
cmp word [eax + 0x72], 0
je 0x4d823a
push 0x68
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
push dword [ebx + 0x10]
push 0x4d8338
push dword [ebx + 0x18]
lea eax, [ebp - 0x188]
mov edx, 3
call fcn.004046f4
mov ecx, dword [ebp - 0x188]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x74]
call dword [ebx + 0x70]
mov eax, dword [ebp - 4]
mov byte [eax + 0x78], 0
lea eax, [ebp - 0x164]
call fcn.00409964
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d826c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00403544
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d82c5
lea eax, [ebp - 0x188]
mov edx, 2
call fcn.00404398
lea eax, [ebp - 0x180]
call fcn.00404a80
lea eax, [ebp - 0x17c]
mov edx, 6
call fcn.00404398
lea eax, [ebp - 0x164]
mov edx, dword [0x407f20]
call fcn.00405024
lea eax, [ebp - 0xc]
call fcn.00404374
ret