Function at 0x10001290
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004d86
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x10008004]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x64], 0
push 1
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x14], 0x5c
call fcn.10003370
mov esi, eax
lea ecx, [ebp + 0xc]
push esi
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.10003050
mov byte [ebp - 4], 1
lea eax, [ebp - 0x48]
push dword [ebp + 0x1c]
lea ecx, [ebp + 0xc]
push esi
push eax
call fcn.10003050
push eax
lea ecx, [ebp + 0xc]
call fcn.100031a0
lea ecx, [ebp - 0x48]
call fcn.10003130
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
nop
push 1
push 1
push 0x1000620c
lea ecx, [ebp + 0xc]
call fcn.10003370
mov esi, eax
cmp esi, 0xffffffff
je 0x1000153d
push esi
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0xc]
call fcn.10003050
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.10003bc0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x100013cc
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100013b1
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x100013a8
test cl, 0x1f
jne 0x10001537
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10001537
sub ecx, eax
cmp ecx, 4
jb 0x10001537
cmp ecx, 0x23
ja 0x10001537
mov ecx, eax
push ecx
call fcn.10003ee5
add esp, 4
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.100038a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x10001416
mov ecx, dword [ebp - 0x60]
inc eax
cmp eax, 0x1000
jb 0x1000140d
test cl, 0x1f
jne 0x10001537
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10001537
sub ecx, eax
cmp ecx, 4
jb 0x10001537
cmp ecx, 0x23
ja 0x10001537
mov ecx, eax
push ecx
call fcn.10003ee5
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp eax, 0x10
jb 0x10001472
mov ecx, dword [ebp - 0x48]
inc eax
cmp eax, 0x1000
jb 0x10001469
test cl, 0x1f
jne 0x10001537
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10001537
sub ecx, eax
cmp ecx, 4
jb 0x10001537
cmp ecx, 0x23
ja 0x10001537
mov ecx, eax
push ecx
call fcn.10003ee5
add esp, 4
push dword [ebp + 0x1c]
lea eax, [ebp - 0x48]
push esi
push eax
lea ecx, [ebp + 0xc]
call fcn.10003050
mov esi, eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x100014e8
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100014cd
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, 0x1000
jb 0x100014c4
test cl, 0x1f
jne 0x10001537
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10001537
sub ecx, eax
cmp ecx, 4
jb 0x10001537
cmp ecx, 0x23
ja 0x10001537
mov ecx, eax
push ecx
call fcn.10003ee5
add esp, 4
push esi
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
call fcn.100038a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10001522
mov ecx, dword [ebp - 0x48]
inc eax
cmp eax, 0x1000
jb 0x10001519
test cl, 0x1f
jne 0x10001537
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10001537
sub ecx, eax
cmp ecx, 4
jb 0x10001537
cmp ecx, 0x23
ja 0x10001537
mov ecx, eax
push ecx
call fcn.10003ee5
add esp, 4
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
jmp 0x10001320
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.10003bf0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.10003130
lea ecx, [ebp + 0xc]
call fcn.10003130
mov eax, dword [ebp - 0x30]
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.10003e9c
mov esp, ebp
pop ebp
ret 0x1c