Function at 0x50e9ac
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4e
push 0
push 0
dec ecx
jne 0x50e9b5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040575c
xor eax, eax
push ebp
push 0x50ec72
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040fd84
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x1e]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1a]
call fcn.0040fd3c
lea eax, [ebp - 0x1f8]
lea edx, [edi + 0x248]
call fcn.00405540
mov eax, dword [ebp - 0x1f8]
call fcn.0040e6a0
test al, al
jne 0x50ea38
lea eax, [ebp - 0x1fc]
lea edx, [edi + 0x248]
call fcn.00405540
mov eax, dword [ebp - 0x1fc]
call fcn.0040e9a8
lea eax, [ebp - 0x200]
lea edx, [edi + 0x248]
call fcn.00405540
push dword [ebp - 0x200]
lea edx, [ebp - 0x204]
movzx eax, word [ebp - 0x1a]
call fcn.0040e18c
push dword [ebp - 0x204]
push 0x50ec8c
lea edx, [ebp - 0x208]
movzx eax, word [ebp - 0x1c]
call fcn.00479b6c
push dword [ebp - 0x208]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00405670
mov eax, dword [ebp - 8]
call fcn.0040e6a0
test al, al
jne 0x50eaa7
push 0
mov eax, dword [ebp - 8]
call fcn.0040576c
push eax
call sub.kernel32.dll_CreateDirectoryA
push dword [ebp - 8]
push 0x50ec98
lea edx, [ebp - 0x20c]
movzx eax, word [ebp - 0x1e]
call fcn.00479b6c
push dword [ebp - 0x20c]
push 0x50eca8
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00405670
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x1f4]
call fcn.0040392c
mov eax, dword [ebp - 0xc]
call fcn.0040e67c
test al, al
jne 0x50eb02
lea eax, [ebp - 0x1f4]
call fcn.004036bc
call fcn.00403280
jmp 0x50eb12
lea eax, [ebp - 0x1f4]
call fcn.004036c8
call fcn.00403280
lea eax, [ebp - 0x10]
mov edx, 0x50ecb8
call fcn.00405374
call fcn.0040fde4
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov edx, dword [0x523614]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
call fcn.004109e4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x274], eax
mov byte [ebp - 0x270], 0xb
mov dword [ebp - 0x26c], ebx
mov byte [ebp - 0x268], 4
lea eax, [ebx + 0x11]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 4
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 4
lea eax, [ebx + 0x31]
mov dword [ebp - 0x254], eax
mov byte [ebp - 0x250], 4
lea eax, [ebx + 0x4f]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 0x248], 4
lea eax, [ebx + 0x64]
mov dword [ebp - 0x244], eax
mov byte [ebp - 0x240], 4
lea eax, [ebx + 0x71]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 0x238], 4
mov dword [ebp - 0x234], esi
mov byte [ebp - 0x230], 4
lea eax, [esi + 0x15]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 0x228], 4
lea eax, [esi + 0x22]
mov dword [ebp - 0x224], eax
mov byte [ebp - 0x220], 4
lea eax, [esi + 0x2d]
mov dword [ebp - 0x21c], eax
mov byte [ebp - 0x218], 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x214], eax
mov byte [ebp - 0x210], 0xb
lea edx, [ebp - 0x274]
mov ecx, 0xc
mov eax, dword [ebp - 0x10]
call fcn.0040f0f4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1f4]
call fcn.00405a8c
call fcn.00403e1c
call fcn.00403280
lea eax, [ebp - 0x1f4]
call fcn.004039f4
call fcn.00403280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50ec79
lea eax, [ebp - 0x20c]
mov edx, 6
call fcn.00405300
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405300
ret