Function at 0x40ec50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543200
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5a574c]
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
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, edi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x88], edi
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40ec93
sub eax, edx
push eax
push edi
lea ecx, [esi + 0x10]
call fcn.00407f40
mov ecx, esi
call fcn.0040ea30
mov ecx, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x40ecc0
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407f40
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
jbe 0x40ef06
push 1
push ebx
push 0x5545a0
lea ecx, [ebp - 0x2c]
call fcn.004075b0
push eax
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408040
push 1
push ebx
push 0x5545a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004075b0
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00408040
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00408250
cmp dword [ebp - 0x6c], 0x10
jb 0x40ed40
mov edx, dword [ebp - 0x80]
push edx
call fcn.004261b3
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040e4d0
push 1
push 0x5545a0
lea ecx, [ebp - 0x48]
call fcn.0040e5c0
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x40ed7b
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call esi
push 1
push ebx
push 0x5545a0
lea ecx, [ebp - 0x2c]
call fcn.004075b0
mov edi, eax
cmp edi, 0xffffffff
je 0x40eeb2
push edi
push ebx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00408040
mov esi, eax
lea edx, [ebp - 0x64]
cmp edx, esi
je 0x40ee0f
cmp dword [ebp - 0x50], 0x10
jb 0x40edc9
mov eax, dword [ebp - 0x64]
push eax
call fcn.004261b3
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [esi + 0x14], 0x10
jae 0x40edf0
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x64]
push esi
push ecx
call fcn.00526b80
add esp, 0xc
jmp 0x40edf7
mov edx, dword [esi]
mov dword [ebp - 0x64], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x54], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x50], ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x6c], 0x10
mov byte [ebp - 4], 3
jb 0x40ee25
mov edx, dword [ebp - 0x80]
push edx
call fcn.004261b3
add esp, 4
push 0xffffffffffffffff
inc edi
push edi
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408040
mov esi, eax
lea ecx, [ebp - 0x2c]
cmp ecx, esi
je 0x40ee93
cmp dword [ebp - 0x18], 0x10
jb 0x40ee50
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004261b3
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [esi + 0x14], 0x10
jae 0x40ee78
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00526b80
add esp, 0xc
jmp 0x40ee7f
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [ebp - 0x6c], 0x10
mov byte [ebp - 4], 3
jb 0x40ed51
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004261b3
add esp, 4
jmp 0x40ed51
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x48]
call fcn.0040e4d0
mov eax, dword [ebp - 0x48]
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jae 0x40eed1
lea eax, [ebp - 0x48]
push ebx
push eax
call esi
cmp dword [ebp - 0x34], edi
jb 0x40eee6
mov eax, dword [ebp - 0x48]
push eax
call fcn.004261b3
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x50], edi
jb 0x40ef0b
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004261b3
add esp, 4
jmp 0x40ef0b
mov edi, 0x10
mov edx, dword [ebp - 0x88]
push 0x555a90
push edx
call fcn.0052656a
mov ecx, dword [ebp - 0x84]
add esp, 8
mov dword [ecx + 0xc], eax
cmp eax, ebx
jne 0x40ef41
cmp dword [ebp - 0x18], edi
jb 0x40ef3d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004261b3
add esp, 4
xor eax, eax
jmp 0x40ef57
cmp dword [ebp - 0x18], edi
jb 0x40ef52
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004261b3
add esp, 4
mov eax, 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.00525222
mov esp, ebp
pop ebp
ret 4