Function at 0x4081d0
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42407d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x434014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004086d0
test al, al
je 0x408220
mov al, 1
jmp 0x4086a6
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403ca0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], 0
nop
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
cmp esi, 8
mov edx, dword [ebp - 0x1c]
cmovae eax, edi
cmp word [eax + edx*2 - 2], 0x5c
jne 0x408303
lea ecx, [edx - 1]
mov dword [ebp - 0x50], 0
cmp edx, ecx
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], 7
cmovb ecx, edx
cmp esi, 8
push ecx
cmovae eax, edi
lea ecx, [ebp - 0x50]
push eax
call fcn.00404100
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4082e8
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4082de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c9
push edx
push ecx
call fcn.0040e74a
add esp, 8
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [ebp - 0x2c], xmm0
mov edi, dword [ebp - 0x2c]
movq xmm0, qword [ebp - 0x40]
movq qword [ebp - 0x1c], xmm0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
lea ecx, [edx - 1]
mov dword [ebp - 0x50], 0
cmp edx, ecx
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], 7
cmovb ecx, edx
cmp esi, 8
push ecx
cmovae eax, edi
lea ecx, [ebp - 0x50]
push eax
call fcn.00404100
sub esp, 8
lea ecx, [ebp - 0x50]
call fcn.00409760
mov edx, dword [ebp - 0x3c]
mov esi, eax
cmp edx, 8
jb 0x40837a
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408370
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c9
push edx
push ecx
call fcn.0040e74a
add esp, 8
cmp esi, 0xffffffff
je 0x4085fa
xor eax, eax
mov dword [ebp - 0x50], 0
lea edx, [esi + 1]
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
cmp eax, edx
jb 0x4086c4
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x50]
lea eax, [eax + edx*2]
push eax
call fcn.00404100
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x34]
push ecx
cmp eax, dword [ebp - 0x30]
je 0x4083ec
mov ecx, eax
call fcn.00403ca0
add dword [ebp - 0x34], 0x18
jmp 0x4083f5
push eax
lea ecx, [ebp - 0x38]
call fcn.00409d50
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x2c]
inc edi
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x58], edi
cmovb esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 8
push esi
cmovae eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
call fcn.00404100
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x408467
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40845d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c9
push edx
push ecx
call fcn.0040e74a
add esp, 8
movups xmm0, xmmword [ebp - 0x80]
lea ecx, [ebp - 0x2c]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [ebp - 0x1c], xmm0
call fcn.004086d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
test al, al
jne 0x4084cc
cmp edx, 8
jb 0x408260
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4084bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c9
push edx
push ecx
call fcn.0040e74a
add esp, 8
jmp 0x408260
cmp edx, 8
jb 0x408503
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4084f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c9
push edx
push ecx
call fcn.0040e74a
add esp, 8
cmp edi, 1
jl 0x4085f4
lea esi, [edi + edi*2]
shl esi, 3
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
cmp eax, 1
jb 0x408547
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [edx + 1]
mov edi, 0x5c
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
mov word [eax + edx*2], di
xor edx, edx
mov edi, dword [ebp - 0x58]
mov word [eax + ecx*2], dx
jmp 0x40855f
push 1
push 0x42fd74
mov byte [ebp - 0x64], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x64]
push 1
call fcn.00404940
mov ecx, dword [ebp - 0x38]
add ecx, 0xffffffe8
add ecx, esi
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x408572
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x5c]
cmp edx, eax
ja 0x4085b7
mov edi, dword [ebp - 0x5c]
lea eax, [edx + edx]
add edi, edx
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push eax
cmovae esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x5c]
push ecx
mov dword [ebp - 0x1c], edi
lea eax, [esi + eax*2]
push eax
call fcn.0040f920
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x60]
jmp 0x4085c9
push edx
push ecx
mov byte [ebp - 0x68], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x68]
push edx
call fcn.00404940
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4085fa
dec edi
sub esi, 0x18
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x60], esi
cmp edi, 1
jge 0x408515
mov byte [ebp - 0x51], 1
jmp 0x4085fe
mov byte [ebp - 0x51], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40866d
mov edx, dword [ebp - 0x34]
push ecx
call fcn.00409f60
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x38]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40864e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c9
push ecx
push esi
call fcn.0040e74a
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4086a3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408699
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4086c9
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov al, byte [ebp - 0x51]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040e3a6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004043a0
call fcn.0041260f
int3