Function at 0x10020bb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004df90
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 0x1005343c
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.100028f0
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 0x10020c20
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.100028f0
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.1002f690
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x50], esi
jb 0x10020c5f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.10032d10
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 0x10020c7c
mov edx, dword [ebp - 0x48]
push edx
call fcn.10032d10
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.10002de0
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 0x10020dbe
dec eax
lea edi, [esi + 0x1c]
mov dword [ebp - 0x68], eax
push 0x1005343c
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.10002440
add esp, 0xc
mov ecx, eax
mov eax, edi
lea ebx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.10002520
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x10020d44
cmp dword [ebp - 0x18], 0x10
jb 0x10020d00
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10032d10
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 0x10020d29
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call fcn.10034e70
add esp, 0xc
jmp 0x10020d30
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 0x10020d46
xor ebx, ebx
cmp dword [ebp - 0x34], 0x10
jb 0x10020d58
mov edx, dword [ebp - 0x48]
push edx
call fcn.10032d10
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 0x10020d7b
mov eax, dword [ebp - 0x64]
push eax
call fcn.10032d10
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10020d87
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.10036e6b
add esp, 8
cmp eax, 0xffffffff
jne 0x10020daa
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10020da2
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add edi, 0x1c
dec dword [ebp - 0x68]
jne 0x10020cc0
mov esi, dword [ebp - 0x78]
xor ebx, ebx
lea edi, [ebx + 0xf]
cmp dword [ebp - 0x18], 0x10
jb 0x10020dd0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10032d10
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x10020e15
mov edi, dword [ebp - 0x74]
cmp dword [ebp - 0x78], edi
je 0x10020e09
cmp dword [esi + 0x14], 0x10
jb 0x10020df6
mov edx, dword [esi]
push edx
call fcn.10032d10
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
add esi, 0x1c
cmp esi, edi
jne 0x10020de5
mov eax, dword [ebp - 0x78]
push eax
call fcn.10032d10
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.10034caa
mov esp, ebp
pop ebp
ret