Function at 0x100156e6
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10015719
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10015714
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1001592c
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0xbc5
mov eax, dword [ebp - 4]
cmp dword [eax], 0x5d177cce
jge 0x1001578a
mov dword [ebp - 0x70], 1
jmp 0x1001578e
and dword [ebp - 0x70], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.100187be
mov dword [eax], 0xbebf0a0c
mov eax, 0xbebf0a0c
test eax, eax
jne 0x100157b5
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x100157b5
and dword [ebp - 0x74], 0
jmp 0x100157bc
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x100157e0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.100187be
push 1
mov ecx, dword [ebp - 0xc]
call fcn.100187be
push 0
mov ecx, dword [ebp - 0xc]
call fcn.100187be
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10015806
mov dword [ebp - 0x10], 1
jmp 0x1001580a
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
je 0x10015829
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10015829
mov dword [ebp - 0x1c], 1
jmp 0x1001582d
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0xfffffffe
jl 0x1001583c
mov dword [ebp - 0x20], 1
jmp 0x10015840
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x10015853
mov dword [ebp - 0x24], 1
jmp 0x10015857
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x1001586a
mov dword [ebp - 0x28], 1
jmp 0x1001586e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
sub eax, 0xf34f
cmp eax, 0x90d790f9
je 0x10015886
mov dword [ebp - 0x2c], 1
jmp 0x1001588a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jge 0x1001589d
mov dword [ebp - 0x30], 1
jmp 0x100158a1
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
sub eax, 0x70557c04
jne 0x100158b9
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x100158b9
and dword [ebp - 0x38], 0
jmp 0x100158c0
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jle 0x100158d3
mov dword [ebp - 0x3c], 1
jmp 0x100158d7
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jge 0x100158f3
mov eax, 0x536c745d
test eax, eax
je 0x100158f3
mov dword [ebp - 0x40], 1
jmp 0x100158f7
and dword [ebp - 0x40], 0
imul eax, dword [ebp - 0x40], 0xaf19
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x1001591d
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x1001591d
and dword [ebp - 0x48], 0
jmp 0x10015924
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret