Function at 0x1000a280
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020989
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x650
mov eax, dword [0x10030014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x640], ecx
sub esp, 0x18
lea esi, [ebx + 8]
mov edx, esp
mov dword [ebp - 0x63c], esp
mov ecx, 0xb2
lea edi, [ebp - 0x638]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x3cc]
lea ecx, [ebp - 0x589]
mov dword [ebp - 0x644], edi
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a308
sub ecx, esi
lea eax, [ebp - 0x589]
push ecx
push eax
mov ecx, edx
call fcn.10001e60
mov ecx, edi
mov dword [ebp - 4], 0
lea esi, [ebp - 0x3b]
mov dword [ebp - 0x364], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x364]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x364], eax
test eax, eax
jne 0x1000a332
lea eax, [ebp - 0x3b]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp esi, eax
je 0x1000a387
sub eax, esi
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10001e60
sub esp, 0x18
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x364], esi
push 5
push str.lv
push ecx
lea ecx, [ebp - 0x30]
call fcn.10001fc0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x640]
mov byte [ebp - 4], 2
call fcn.10009510
mov dword [ebp - 4], 0xffffffff
add esp, 0x30
mov edx, dword [ebp - 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x1000a424
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a41a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a8dc
push edx
push ecx
call fcn.10011e02
add esp, 8
test esi, esi
jne 0x1000a8a9
push 0x104
lea eax, [ebp - 0x158]
push esi
push eax
call fcn.100140b0
add esp, 0xc
mov word [ebp - 0x18], si
xorps xmm0, xmm0
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.10004f00
lea eax, [ebp - 0x158]
push eax
push esi
push esi
push 0x1a
push esi
call dword [0x100319b0]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x158]
push 0x1002c4c0
push eax
call esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x158]
push eax
call esi
push 0
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x1002c4c0
lea eax, [ebp - 0x158]
push eax
call esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x158]
push eax
call esi
xor eax, eax
cmp byte [ebp - 0x158], al
je 0x1000a4ce
inc eax
cmp byte [ebp + eax - 0x158], 0
jne 0x1000a4c3
push 0x104
lea ecx, [ebp - 0x360]
push ecx
push eax
lea eax, [ebp - 0x158]
push eax
push 0
push 0
call dword [0x10031a3c]
xor ecx, ecx
cmp eax, 0x104
cmovge eax, ecx
mov word [ebp + eax*2 - 0x360], cx
lea eax, [ebp - 0x360]
push eax
call dword [0x10031980]
cmp eax, 0xffffffff
je 0x1000a8bc
test al, 0x10
jne 0x1000a8bc
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x360]
push eax
call dword [0x10031a58]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a5fe
lea eax, [ebp - 0x370]
push eax
push edi
call dword [0x10031a18]
test eax, eax
je 0x1000a5f7
cmp dword [ebp - 0x36c], 0
jne 0x1000a5f7
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x63c], eax
test eax, eax
jne 0x1000a57a
xor esi, esi
jmp 0x1000a5b9
push 4
push 0x3000
push eax
push 0
call dword [0x10031a60]
mov esi, eax
test esi, esi
je 0x1000a5f7
push 0
lea eax, [ebp - 0x364]
push eax
push dword [ebp - 0x63c]
push esi
push edi
call dword [0x10031978]
test eax, eax
je 0x1000a5e9
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x364], eax
jne 0x1000a5e9
lea ecx, [ebp - 0x51d]
mov edx, esi
push ecx
push eax
lea ecx, [ebp - 0x63c]
call fcn.10003590
add esp, 8
test esi, esi
je 0x1000a5e3
push 0x8000
push 0
push esi
call dword [0x100319a4]
test edi, edi
je 0x1000a5fe
jmp 0x1000a5f7
push 0x8000
push 0
push esi
call dword [0x100319a4]
push edi
call dword [0x1003199c]
mov edi, dword [ebp - 0x63c]
xor eax, eax
push ecx
mov edx, 0x4e25
mov dword [ebp - 0x364], eax
mov ecx, edi
call fcn.10003170
mov esi, eax
add esp, 4
test esi, esi
je 0x1000a6bf
mov eax, dword [esi + 0xc]
xor edx, edx
mov dword [ebp - 0x364], edx
test eax, eax
je 0x1000a6b6
add eax, 2
jne 0x1000a646
mov dword [ebp - 0x364], edx
jmp 0x1000a6b6
add eax, 4
push eax
push 8
push dword [0x10031d24]
call dword [0x10031a10]
mov edx, eax
mov dword [ebp - 0x364], edx
test edx, edx
je 0x1000a6bf
test byte [esi + 4], 1
lea ecx, [esi + 0x10]
je 0x1000a6a3
lea eax, [ebp - 0x63c]
push eax
push edx
mov edx, dword [esi + 8]
call fcn.100042f0
add esp, 8
test al, al
jne 0x1000a6b0
mov eax, dword [ebp - 0x364]
push eax
push 0
push dword [0x10031d24]
call dword [0x10031a20]
xor edx, edx
mov dword [ebp - 0x364], edx
jmp 0x1000a6b6
push dword [esi + 0xc]
push ecx
push edx
call fcn.100135b0
add esp, 0xc
mov edx, dword [ebp - 0x364]
test edx, edx
je 0x1000a6bf
mov esi, dword [esi + 0xc]
jmp 0x1000a6c5
mov esi, dword [ebp - 0x660]
test edi, edi
je 0x1000a6d8
push edi
push 0
push dword [0x10031d24]
call dword [0x10031a20]
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x1000a8a9
cmp esi, 2
jb 0x1000a896
cmp byte [eax + esi - 1], 0
jne 0x1000a896
cmp byte [eax + esi - 2], 0
jne 0x1000a896
mov edi, eax
sub esp, 0x18
mov ecx, edi
mov edx, esp
mov dword [ebp - 0x36c], esp
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000a728
sub ecx, esi
push ecx
push edi
mov ecx, edx
call fcn.10001e60
mov ecx, dword [ebp - 0x644]
lea esi, [ebp - 0x3b]
mov dword [ebp - 4], 3
mov dword [ebp - 0x63c], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x63c]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x63c], eax
test eax, eax
jne 0x1000a750
lea eax, [ebp - 0x3b]
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0xf
mov byte [ebp - 0x65c], 0
cmp esi, eax
je 0x1000a7b1
sub eax, esi
lea ecx, [ebp - 0x65c]
push eax
push esi
call fcn.10001e60
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x63c], esi
push 5
push str.lv
push ecx
lea ecx, [ebp - 0x65c]
call fcn.10001fc0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x640]
mov byte [ebp - 4], 5
call fcn.10009510
mov dword [ebp - 4], 0xffffffff
add esp, 0x30
mov edx, dword [ebp - 0x648]
mov esi, eax
cmp edx, 0x10
jb 0x1000a857
mov ecx, dword [ebp - 0x65c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a84d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a8dc
push edx
push ecx
call fcn.10011e02
add esp, 8
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x648], 0xf
mov byte [ebp - 0x65c], 0
test esi, esi
jne 0x1000a890
xor eax, eax
inc edi
cmp byte [edi - 1], 0
jne 0x1000a878
cmp byte [edi], 0
je 0x1000a890
inc eax
cmp eax, 1
je 0x1000a707
jmp 0x1000a878
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x1000a8a9
push eax
push 0
push dword [0x10031d24]
call dword [0x10031a20]
mov eax, dword [ebp - 0x640]
cmp dword [eax + 4], 0
je 0x1000a8bc
mov eax, 1
jmp 0x1000a8be
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10011dc1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10015c3a
int3