Function at 0x408950
Capabilities:
Create directory

Disassembly:
sub esp, 0x378
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x45]
mov byte [esp + 0x44], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x44]
push 0x104
push eax
mov dword [esp + 0x18], ebx
call fcn.004114e0
mov edi, str.Temp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x44]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x44]
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x285]
mov byte [esp + 0x284], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x38c]
push 0x5c
push edi
call fcn.004271e0
add esp, 8
inc eax
lea ecx, [esp + 0x44]
lea edx, [esp + 0x284]
push eax
push ecx
push str._s_s
push edx
call fcn.00429590
or esi, 0xffffffff
add esp, 0x10
lea ecx, [esp + 0x148]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x4000
mov dword [esp + 0x40], ebx
call fcn.004238d0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push edi
push eax
push ecx
lea ecx, [esp + 0x154]
call fcn.00423990
test eax, eax
jne 0x408bae
lea ecx, [esp + 0x148]
call fcn.00423d20
cmp eax, ebx
je 0x408b9c
lea ecx, [esp + 0x14]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 1
call dword [edx + 0x4c]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x408b9c
lea eax, [esp + 0x10]
lea edi, [ebp + 0x23c]
mov dword [esp + 0x10], 0x20
mov edx, dword [ecx]
push eax
push edi
push 4
mov dword [esp + 0x28], edi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0xb
mov edx, dword [ecx]
call dword [edx + 0x24]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0x104
cmp eax, 2
lea eax, [esp + 0x10]
sete cl
mov byte [ebp + 0x221], cl
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x48]
mov edx, dword [ecx]
push eax
push 0x51
call dword [edx + 0x28]
lea ecx, [esp + 0x44]
push 0x40
push ecx
call fcn.0042a800
lea edx, [esp + 0x4c]
add esp, 8
sub eax, edx
cmp eax, 0x1b
jne 0x408b74
push eax
lea eax, [esp + 0x48]
lea ebx, [ebp + 0x285]
push eax
push ebx
call fcn.0042a8c0
lea ecx, [esp + 0x50]
push 0x40
push ecx
call fcn.0042a800
mov edi, eax
add esp, 0x14
inc edi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov byte [ebp + 0x220], 1
or esi, 0xffffffff
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edx, edx
cmp edx, ecx
lea ecx, [esp + 0x148]
sbb esi, esi
neg esi
call fcn.00423cf0
jmp 0x408bb2
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x148]
call fcn.00423cf0
jmp 0x408bb2
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x148]
call fcn.00423940
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x378
ret 4