Function at 0x10020c80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e040
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1005d500]
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
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 4], ebx
push 1
mov edi, 0xf
push 0x1005344c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.100028b0
mov byte [ebp - 4], 1
mov eax, esi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10020cf0
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.100028b0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.1002f730
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x50], esi
jb 0x10020d2f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10032db0
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], esi
jb 0x10020d4c
mov edx, dword [ebp - 0x48]
push edx
call fcn.10032db0
add esp, 4
mov esi, dword [ebp - 0x78]
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10002da0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x74]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jle 0x10020e8e
dec eax
lea edi, [esi + 0x1c]
mov dword [ebp - 0x68], eax
push 0x1005344c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.10002410
add esp, 0xc
mov ecx, eax
mov eax, edi
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.100024f0
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x10020e14
cmp dword [ebp - 0x18], 0x10
jb 0x10020dd0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10032db0
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x10020df9
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.10034f10
add esp, 0xc
jmp 0x10020e00
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
jmp 0x10020e16
xor ebx, ebx
cmp dword [ebp - 0x34], 0x10
jb 0x10020e28
mov edx, dword [ebp - 0x48]
push edx
call fcn.10032db0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x10020e4b
mov eax, dword [ebp - 0x64]
push eax
call fcn.10032db0
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10020e57
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.10036f0b
add esp, 8
cmp eax, 0xffffffff
jne 0x10020e7a
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10020e72
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add edi, 0x1c
dec dword [ebp - 0x68]
jne 0x10020d90
mov esi, dword [ebp - 0x78]
xor ebx, ebx
lea edi, [ebx + 0xf]
cmp dword [ebp - 0x18], 0x10
jb 0x10020ea0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10032db0
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x10020ee5
mov edi, dword [ebp - 0x74]
cmp dword [ebp - 0x78], edi
je 0x10020ed9
cmp dword [esi + 0x14], 0x10
jb 0x10020ec6
mov edx, dword [esi]
push edx
call fcn.10032db0
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
add esi, 0x1c
cmp esi, edi
jne 0x10020eb5
mov eax, dword [ebp - 0x78]
push eax
call fcn.10032db0
add esp, 4
mov al, 1
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.10034d4a
mov esp, ebp
pop ebp
ret