Function at 0x481764
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4e
push 0
push 0
dec ecx
jne 0x48176d
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004049e0
xor eax, eax
push ebp
push 0x481a5f
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040a250
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x12]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xe]
call fcn.0040a208
lea eax, [ebp - 0x1f4]
mov edx, dword [ebp - 4]
add edx, 0x1fa
call fcn.0040479c
mov eax, dword [ebp - 0x1f4]
call fcn.00408d74
test al, al
jne 0x4817f3
lea eax, [ebp - 0x1f8]
mov edx, dword [ebp - 4]
add edx, 0x1fa
call fcn.0040479c
mov eax, dword [ebp - 0x1f8]
call fcn.00408f0c
lea eax, [ebp - 0x1fc]
mov edx, dword [ebp - 4]
add edx, 0x1fa
call fcn.0040479c
push dword [ebp - 0x1fc]
lea edx, [ebp - 0x200]
movzx eax, word [ebp - 0xe]
call fcn.00408abc
push dword [ebp - 0x200]
push 0x481a78
lea edx, [ebp - 0x204]
movzx eax, word [ebp - 0x10]
call fcn.0046ab64
push dword [ebp - 0x204]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004048b8
mov eax, dword [ebp - 0x18]
call fcn.00408d74
test al, al
jne 0x481865
push 0
mov eax, dword [ebp - 0x18]
call fcn.004049f0
push eax
call sub.kernel32.dll_CreateDirectoryA
push dword [ebp - 0x18]
push 0x481a84
lea edx, [ebp - 0x208]
movzx eax, word [ebp - 0x12]
call fcn.0046ab64
push dword [ebp - 0x208]
push 0x481a94
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004048b8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1f0]
call fcn.00402db0
mov eax, dword [ebp - 0x1c]
call fcn.00408d64
test al, al
jne 0x4818c0
lea eax, [ebp - 0x1f0]
call fcn.00402b40
call fcn.00402894
jmp 0x4818d0
lea eax, [ebp - 0x1f0]
call fcn.00402b4c
call fcn.00402894
lea eax, [ebp - 0x20]
mov edx, 0x481aa4
call fcn.004045d8
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x270], eax
mov byte [ebp - 0x26c], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x268], eax
mov byte [ebp - 0x264], 4
mov eax, dword [ebp - 0xc]
add eax, 0xb
mov dword [ebp - 0x260], eax
mov byte [ebp - 0x25c], 4
mov eax, dword [ebp - 0xc]
add eax, 0x16
mov dword [ebp - 0x258], eax
mov byte [ebp - 0x254], 4
mov eax, dword [ebp - 0xc]
add eax, 0x2b
mov dword [ebp - 0x250], eax
mov byte [ebp - 0x24c], 4
mov eax, dword [ebp - 0xc]
add eax, 0x49
mov dword [ebp - 0x248], eax
mov byte [ebp - 0x244], 4
mov eax, dword [ebp - 0xc]
add eax, 0x5e
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x23c], 4
mov eax, dword [ebp - 0xc]
add eax, 0x6b
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x234], 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 4
mov eax, dword [ebp + 8]
add eax, 0x15
mov dword [ebp - 0x228], eax
mov byte [ebp - 0x224], 4
mov eax, dword [ebp + 8]
add eax, 0x22
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x21c], 4
mov eax, dword [ebp + 8]
add eax, 0x2d
mov dword [ebp - 0x218], eax
mov byte [ebp - 0x214], 4
call fcn.0040a2b0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x274]
call fcn.0040aedc
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x210], eax
mov byte [ebp - 0x20c], 0xb
lea edx, [ebp - 0x270]
mov ecx, 0xc
mov eax, dword [ebp - 0x20]
call fcn.0040969c
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x1f0]
call fcn.00404c0c
call fcn.0040321c
call fcn.00402894
lea eax, [ebp - 0x1f0]
call fcn.00402e78
call fcn.00402894
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481a66
lea eax, [ebp - 0x274]
call fcn.00404540
lea eax, [ebp - 0x208]
mov edx, 6
call fcn.00404564
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404564
lea eax, [ebp - 8]
call fcn.00404540
ret