Function at 0x41dea0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0b20
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4fe280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, 0x5030e5
call fcn.004b99c5
cmp dword [esi + 0x10], 0
jne 0x41dee5
xor al, al
jmp 0x41e21b
mov ecx, esi
call fcn.0041dce0
test al, al
je 0x41def7
mov al, 1
jmp 0x41e21b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41df01
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call ebx
test eax, eax
jne 0x41dfb7
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004351b0
test al, al
je 0x41df94
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x41df94
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004048c0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
jmp 0x41dfb0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.004048c0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0041dce0
test al, al
jne 0x41def0
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x41e112
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x41dfe2
mov eax, dword [esi]
mov edx, 0x2f
cmp dx, word [eax + edi*2]
mov edx, 0x5c
je 0x41e005
mov eax, esi
cmp ecx, 8
jb 0x41dffb
mov eax, dword [esi]
cmp dx, word [eax + edi*2]
jne 0x41e108
push edi
push 0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040eb50
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x30], 0
jne 0x41e041
mov dword [ebp - 4], 0xe
lea ecx, [ebp - 0x40]
call fcn.004048c0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
jmp 0x41e101
lea eax, [ebp - 0x40]
push eax
call fcn.0041dad0
add esp, 4
test al, al
jne 0x41e0e5
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
jne 0x41e0e5
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0x15
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x16
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004351b0
test al, al
je 0x41e1ba
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x41e1ba
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
call fcn.004048c0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 4], 0x23
lea ecx, [ebp - 0x40]
call fcn.004048c0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
inc edi
cmp edi, dword [ebp - 0x4c]
jb 0x41dfd6
push esi
call fcn.0041dad0
add esp, 4
test al, al
jne 0x41e214
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41e12d
mov eax, dword [esi]
push 0
push eax
call ebx
test eax, eax
jne 0x41e214
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0x2a
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0x2b
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004351b0
test al, al
je 0x41e1f1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x41e1f1
mov dword [ebp - 4], 0x2c
lea ecx, [ebp - 0x28]
call fcn.004048c0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
jmp 0x41e20d
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x28]
call fcn.004048c0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x1f
lea ecx, [ebp - 0x40]
call fcn.004048c0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], eax
jmp 0x41e101
mov dword [ebp - 4], 0x30
lea ecx, [ebp - 0x28]
call fcn.004048c0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0041dce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448da0
mov esp, ebp
pop ebp
ret