Function at 0x4083c0
Capabilities:
Create directory

Disassembly:
sub esp, 0x480
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
call fcn.004104d0
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
push eax
and ecx, 3
lea eax, [esp + 0x48]
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 + 0x149]
mov byte [esp + 0x148], bl
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x494]
push 0x5c
stosw word es:[edi], ax
push esi
stosb byte es:[edi], al
call fcn.00425000
add esp, 8
inc eax
lea ecx, [esp + 0x44]
lea edx, [esp + 0x148]
push eax
push ecx
push str._s_s
push edx
call fcn.00426b7c
xor edi, edi
lea eax, [esp + 0x158]
push edi
push eax
push esi
call fcn.00423550
mov esi, eax
or eax, 0xffffffff
add esp, 0x1c
lea ecx, [esp + 0x350]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x4000
mov dword [esp + 0x40], edi
call fcn.00421c40
cmp esi, edi
je 0x40867b
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x148]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
lea ecx, [esp + 0x35c]
call fcn.00421cf0
test eax, eax
jne 0x408626
lea ecx, [esp + 0x350]
call fcn.00421f10
cmp eax, edi
je 0x40861a
lea ecx, [esp + 0x10]
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 + 0x20], edi
mov dword [esp + 0x28], 1
call dword [edx + 0x4c]
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x40861a
lea eax, [esp + 0x14]
lea edi, [ebp + 0x23c]
mov dword [esp + 0x14], 0x20
mov edx, dword [ecx]
push eax
push edi
push 4
mov dword [esp + 0x28], edi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0xb
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x14]
cmp ebx, 2
push eax
sete cl
mov byte [ebp + 0x221], cl
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x48]
mov dword [esp + 0x18], 0x104
mov edx, dword [ecx]
push eax
push 0x51
call dword [edx + 0x28]
lea ecx, [esp + 0x44]
push 0x40
push ecx
call fcn.00427cb0
lea edx, [esp + 0x4c]
add esp, 8
sub eax, edx
cmp eax, 0x1b
jne 0x4085ff
push eax
lea eax, [esp + 0x48]
lea ebx, [ebp + 0x285]
push eax
push ebx
call fcn.00427d70
lea ecx, [esp + 0x50]
push 0x40
push ecx
call fcn.00427cb0
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
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edx, edx
cmp edx, ecx
sbb ebx, ebx
neg ebx
lea ecx, [esp + 0x350]
call fcn.00421ed0
lea eax, [esp + 0x148]
push eax
call fcn.00423590
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x251]
mov byte [esp + 0x250], 0
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 0x148]
stosw word es:[edi], ax
push ecx
lea edx, [esp + 0x250]
push str._s.bak
push edx
stosb byte es:[edi], al
call fcn.00426b7c
lea eax, [esp + 0x258]
push eax
call fcn.00423590
add esp, 0x10
lea ecx, [esp + 0x350]
call fcn.00421ca0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x480
ret 4