Function at 0x1000d175
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065c4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000d359
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x1000d1f2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1000d354
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
add ecx, 0x9d43467
cmp dword [eax], ecx
jge 0x1000d283
mov dword [ebp - 0x50], 1
jmp 0x1000d287
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1000d29c
mov dword [ebp - 0x74], 1
jmp 0x1000d2a0
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
sub eax, 0x64afb241
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
je 0x1000d2b8
mov dword [ebp - 0x7c], 1
jmp 0x1000d2bc
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp - 0x7c]
cmp eax, 1
jl 0x1000d2d2
mov dword [ebp - 0x3c], 1
jmp 0x1000d2d6
and dword [ebp - 0x3c], 0
imul eax, dword [ebp - 0x3c], 0x94b7
test eax, eax
jne 0x1000d2ef
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x1000d2ef
and dword [ebp - 0x68], 0
jmp 0x1000d2f6
mov dword [ebp - 0x68], 1
cmp dword [ebp - 0x68], 0xfffffffc
jne 0x1000d308
mov dword [ebp - 0xc0], 1
jmp 0x1000d30f
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 1
cmp dword [ebp - 0x50], 1
jle 0x1000d340
mov dword [ebp - 0xd4], 1
jmp 0x1000d347
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1000d70d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xf4], 0xbac64a68
mov dword [ebp - 0xf0], 0xbac64a68
mov dword [ebp - 0xec], 0xbac64a68
mov dword [ebp - 0xe8], 0xbac64a68
lea ecx, [ebp - 0x29]
call fcn.100244fb
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x108]
call fcn.100244fe
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x48]
call fcn.1002447e
and dword [ebp - 4], 0
mov dword [ebp - 0x100], 0xfffffffc
mov dword [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.100244e6
and dword [eax], 0
jmp 0x1000d3fe
push 0
lea ecx, [ebp - 0x48]
call fcn.100244e6
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x48]
call fcn.100244e6
cmp dword [eax], 0xffffffe6
je 0x1000d6da
push 3
lea ecx, [ebp - 0x8c]
call fcn.100243cd
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0x5043c4ab
mov dword [ebp - 0x18], 0
jmp 0x1000d439
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1000d455
push dword [ebp - 0x18]
lea ecx, [ebp - 0x8c]
call fcn.100244e6
mov dword [eax], 0xa3399244
jmp 0x1000d432
mov dword [ebp - 0x10], 2
jmp 0x1000d465
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1000d6c6
mov dword [ebp - 0x9c], 0xbd085c9e
mov dword [ebp - 0x98], 0xbd085c9e
mov dword [ebp - 0x94], 0xbd085c9e
mov dword [ebp - 0x90], 0xbd085c9e
mov dword [ebp - 0x14], 0xc4a87fce
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x9c], 2
jmp 0x1000d4cc
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x9c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0
jl 0x1000d581
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.100244e6
cmp dword [eax], 0
jne 0x1000d51a
push 0
lea ecx, [ebp - 0x48]
call fcn.100244e6
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.100244e6
imul eax, dword [eax], 9
cmp dword [esi], eax
jne 0x1000d51a
and dword [ebp - 0x58], 0
jmp 0x1000d521
mov dword [ebp - 0x58], 1
cmp dword [ebp - 0x58], 0xfffffffe
je 0x1000d530
mov dword [ebp - 0x70], 1
jmp 0x1000d534
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0x1f145ba1
jle 0x1000d546
mov dword [ebp - 0x60], 1
jmp 0x1000d54a
and dword [ebp - 0x60], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x9c]
lea ecx, [ebp - 0x8c]
call fcn.100244e6
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov esi, dword [ebp - 0x10]
neg esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x8c]
call fcn.100244e6
mov dword [eax], esi
jmp 0x1000d4b1
mov dword [ebp - 0x14], 0
jmp 0x1000d591
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x1000d6c1
mov dword [ebp - 0xa4], 0x1ef4
cmp dword [ebp - 0xa4], 0x10d5
mov eax, 0x4a93
test eax, eax
je 0x1000d5d3
push 1
lea ecx, [ebp - 0x8c]
call fcn.100244e6
cmp dword [eax], 0
je 0x1000d5d3
mov dword [ebp - 0x4c], 1
jmp 0x1000d5d7
and dword [ebp - 0x4c], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.100244e6
mov esi, eax
push 2
lea ecx, [ebp - 0x48]
call fcn.100244e6
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1000d5fc
mov dword [ebp - 0x80], 1
jmp 0x1000d600
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0x1d976d9
je 0x1000d612
mov dword [ebp - 0x38], 1
jmp 0x1000d616
and dword [ebp - 0x38], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.100244e6
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jle 0x1000d630
mov dword [ebp - 0x54], 1
jmp 0x1000d634
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x54]
jne 0x1000d645
mov dword [ebp - 0x5c], 1
jmp 0x1000d649
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x5c], eax
je 0x1000d663
mov eax, 0xe708
test eax, eax
je 0x1000d663
mov dword [ebp - 0x64], 1
jmp 0x1000d667
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x9c]
cmp eax, dword [ebp - 0x64]
jle 0x1000d67f
mov dword [ebp - 0x6c], 1
jmp 0x1000d683
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
neg eax
inc eax
cmp eax, 0xac8e
jle 0x1000d699
mov dword [ebp - 0x30], 1
jmp 0x1000d69d
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x98], ecx
push 0
lea ecx, [ebp - 0x8c]
call fcn.100244e6
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x1000d58a
jmp 0x1000d45e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.100244a4
jmp 0x1000d3e6
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100244a4
push dword [ebp - 0xac]
push 0
push dword [ebp - 0xb4]
push 0x72d3
push 0x782c
call fcn.100094b4
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret