Function at 0x41fd80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4725f8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x48e900]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x48e900]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
xor ecx, ecx
mov word [esp + 0x50], cx
mov ebx, 7
mov ecx, eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x41fdd5
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x50]
call fcn.00405220
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x60]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x41fe02
call fcn.00458061
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x41fe11
lea eax, [esp + 0x50]
cmp word [eax + esi*2], 0x5c
je 0x41fe23
push 0x5c
lea esi, [esp + 0x50]
call fcn.00420120
lea edx, [esp + 0x18]
push edx
call fcn.00420180
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
mov word [esp + 0x34], ax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], edi
cmp edi, eax
jae 0x41ff92
jbe 0x41fe58
call fcn.00458061
mov eax, dword [esp + 0x50]
mov esi, 8
cmp dword [esp + 0x64], esi
jae 0x41fe6b
lea eax, [esp + 0x50]
cmp word [eax + edi*2], 0x5c
je 0x41fefc
cmp edi, dword [esp + 0x60]
jbe 0x41fe81
call fcn.00458061
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], esi
jae 0x41fe8f
lea eax, [esp + 0x50]
movzx ebx, word [eax + edi*2]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x44]
cmp ecx, 1
ja 0x41fea4
call fcn.0046f012
mov esi, dword [esp + 0x44]
inc esi
cmp esi, 0x7ffffffe
jbe 0x41feb6
call fcn.0046f012
mov eax, dword [esp + 0x48]
cmp eax, esi
jae 0x41fef3
mov edx, dword [esp + 0x44]
push edx
push esi
lea eax, [esp + 0x38]
push eax
call fcn.004055a0
test esi, esi
jbe 0x41ff85
mov eax, dword [esp + 0x34]
mov ecx, 8
cmp dword [esp + 0x48], ecx
jae 0x41fee9
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x44]
mov word [eax + edx*2], bx
jmp 0x41ff6d
test esi, esi
jne 0x41fed0
jmp 0x41fff3
lea edx, [esp + 0x30]
push edx
lea ebx, [esp + 0x1c]
call fcn.00420230
or eax, 0xffffffff
sub eax, dword [esp + 0x44]
cmp eax, 1
ja 0x41ff1b
call fcn.0046f012
mov esi, dword [esp + 0x44]
inc esi
cmp esi, 0x7ffffffe
jbe 0x41ff2d
call fcn.0046f012
mov eax, dword [esp + 0x48]
cmp eax, esi
jae 0x41ffeb
mov ecx, dword [esp + 0x44]
push ecx
push esi
lea edx, [esp + 0x38]
push edx
call fcn.004055a0
test esi, esi
jbe 0x41ff85
mov eax, dword [esp + 0x34]
mov ecx, 8
cmp dword [esp + 0x48], ecx
jae 0x41ff60
lea eax, [esp + 0x34]
mov ebx, dword [esp + 0x44]
mov edx, 0x5c
mov word [eax + ebx*2], dx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
cmp dword [esp + 0x48], ecx
jae 0x41ff7f
lea eax, [esp + 0x34]
xor ecx, ecx
mov word [eax + esi*2], cx
mov eax, dword [esp + 0x60]
inc edi
cmp edi, eax
jb 0x41fe58
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x28]
jbe 0x41ffa1
call fcn.00458061
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x24], edi
jbe 0x41ffb4
call fcn.00458061
test ebx, ebx
je 0x41ffbe
cmp ebx, dword [esp + 0x18]
je 0x41ffc3
call fcn.00458061
cmp esi, edi
je 0x42004d
test ebx, ebx
jne 0x420012
call fcn.00458061
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41ffe0
call fcn.00458061
cmp dword [esi + 0x18], 8
jb 0x420016
mov eax, dword [esi + 4]
jmp 0x420019
test esi, esi
jne 0x41ff4b
cmp eax, 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 0
jae 0x420008
lea eax, [esp + 0x34]
xor ecx, ecx
mov word [eax], cx
jmp 0x41ff85
mov eax, dword [ebx]
jmp 0x41ffd6
lea eax, [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x420049
call fcn.00458061
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x420041
call fcn.00458061
add esi, 0x1c
jmp 0x41ffa5
mov eax, dword [ebx]
jmp 0x420037
cmp dword [esp + 0x48], 8
jb 0x420061
mov edx, dword [esp + 0x34]
push edx
call fcn.00438908
add esp, 4
mov esi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
test esi, esi
je 0x4200cb
mov ebx, dword [esp + 0x28]
cmp esi, ebx
je 0x4200be
add esi, 0x18
jmp 0x420090
cmp dword [esi], 8
jb 0x4200a1
mov ecx, dword [esi - 0x14]
push ecx
call fcn.00438908
add esp, 4
xor edx, edx
mov dword [esi], 7
mov dword [esi - 4], 0
mov word [esi - 0x14], dx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, ebx
jne 0x420090
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00438908
add esp, 4
mov edx, dword [esp + 0x18]
xor eax, eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00438908
add esp, 4
cmp dword [esp + 0x64], 8
jb 0x4200fa
mov eax, dword [esp + 0x50]
push eax
call fcn.00438908
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00456bcf
mov esp, ebp
pop ebp
ret