Function at 0x4d3668
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4d3670
push ebx
push esi
push edi
mov ebx, 0x4e5908
mov esi, 0x4e591c
mov edi, 0x4e5920
xor eax, eax
push ebp
push 0x4d39b6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d3906
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004d2e80
test eax, eax
je 0x4d36bf
mov eax, 0x4e5914
mov edx, 0x4d39d8
call fcn.0040a888
jmp 0x4d36ce
mov eax, 0x4e5914
mov edx, 0x4d3a44
call fcn.0040a888
lea edx, [ebp - 4]
mov eax, 0x4d3ab0
call fcn.0042a3a4
mov edx, dword [ebp - 4]
mov eax, 0x4e590c
mov ecx, 0x4d3acc
call fcn.0040b190
mov dl, 1
mov eax, dword [0x4e590c]
call fcn.004217e8
test al, al
jne 0x4d3719
mov eax, dword [0x4e590c]
call fcn.0040af44
mov dword [0x4e5924], eax
push 0
mov eax, dword [0x4e5924]
push eax
call sub.kernel32.dll_CreateDirectoryW
mov eax, ebx
mov ecx, 0x4d3af4
mov edx, dword [0x4e590c]
call fcn.0040b190
mov eax, dword [ebx]
push eax
call fcn.004d2c64
mov dword [esi], eax
cmp dword [esi], 1
jne 0x4d3773
mov eax, dword [esi]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0xc]
call fcn.004210b4
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0040b030
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4e5918]
call fcn.0040b030
mov eax, dword [ebp - 0x10]
mov edx, 0x4d3b14
pop ecx
call fcn.004d2ef4
mov edx, dword [ebx]
mov eax, dword [0x4e5914]
call fcn.004d292c
mov dword [esi], eax
mov eax, dword [esi]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.004210b4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.0040b030
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
mov edx, dword [0x4e5918]
call fcn.0040b030
mov eax, dword [ebp - 0x1c]
mov edx, 0x4d3b28
pop ecx
call fcn.004d2ef4
xor edx, edx
mov eax, dword [ebx]
call fcn.004d2b98
mov byte [edi], al
lea ecx, [ebp - 0x24]
mov dl, 1
movzx eax, byte [edi]
call fcn.00421530
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.0040b030
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [0x4e5918]
call fcn.0040b030
mov eax, dword [ebp - 0x28]
mov edx, 0x4d3b3c
pop ecx
call fcn.004d2ef4
mov eax, dword [ebx]
call fcn.004d2a50
mov byte [edi], al
lea ecx, [ebp - 0x30]
mov dl, 1
movzx eax, byte [edi]
call fcn.00421530
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.0040b030
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
mov edx, dword [0x4e5918]
call fcn.0040b030
mov eax, dword [ebp - 0x34]
mov edx, 0x4d3b50
pop ecx
call fcn.004d2ef4
mov eax, 0x4e5914
mov edx, 0x4d3b74
call fcn.0040a888
lea edx, [ebp - 0x38]
mov eax, 0x4d3c08
call fcn.0042a3a4
mov edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.0040a888
mov eax, ebx
mov edx, 0x4d3c20
call fcn.0040b138
mov edx, dword [ebx]
mov eax, dword [0x4e5914]
call fcn.004d292c
mov dword [esi], eax
mov eax, dword [esi]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.004210b4
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
call fcn.0040b030
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [0x4e5918]
call fcn.0040b030
mov eax, dword [ebp - 0x44]
mov edx, 0x4d3c5c
pop ecx
call fcn.004d2ef4
mov dl, 1
mov eax, dword [ebx]
call fcn.004d2b98
mov byte [edi], al
lea ecx, [ebp - 0x4c]
mov dl, 1
movzx eax, byte [edi]
call fcn.00421530
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
call fcn.0040b030
mov eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x50]
mov edx, dword [0x4e5918]
call fcn.0040b030
mov eax, dword [ebp - 0x50]
mov edx, 0x4d3c74
pop ecx
call fcn.004d2ef4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d3912
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d39c0
lea eax, [ebp - 0x50]
call fcn.0040a4e0
lea eax, [ebp - 0x4c]
call fcn.0040a498
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040a568
lea eax, [ebp - 0x40]
call fcn.0040a498
lea eax, [ebp - 0x3c]
call fcn.0040a4e0
lea eax, [ebp - 0x38]
call fcn.0040a498
lea eax, [ebp - 0x34]
call fcn.0040a4e0
lea eax, [ebp - 0x30]
call fcn.0040a498
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040a568
lea eax, [ebp - 0x24]
call fcn.0040a498
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040a568
lea eax, [ebp - 0x18]
call fcn.0040a498
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a568
lea eax, [ebp - 0xc]
call fcn.0040a498
lea eax, [ebp - 8]
call fcn.0040a4e0
lea eax, [ebp - 4]
call fcn.0040a498
pop eax
jmp eax