Function at 0xc2ba30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xc49a7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov eax, dword [0xc57104]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xb1]
mov dword [ebp - 0xb0], eax
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00c01f20
mov ecx, dword [0xc4b560]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00c01b30
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.00c02840
add esp, 0xc
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 1
mov ecx, dword [0xc4b560]
push ecx
push 0
mov edx, dword [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00c01b30
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00c01f20
cmp dword [ebp - 0x14], 0x10
jb 0xc2baef
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x13c], eax
jmp 0xc2baf8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x13c], ecx
push 0
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0xc2bb3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0xc2bb3a
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00c01f20
mov eax, dword [ebp - 0x68]
jmp 0xc2bd5a
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xbc], ecx
cmp dword [ebp - 0xbc], 0
je 0xc2bd37
lea edx, [ebp - 0xc5]
mov dword [ebp - 0xc4], edx
push 0
push 0
lea ecx, [ebp - 0x48]
call fcn.00c01f20
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0xc2bb86
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x140], edx
jmp 0xc2bb92
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.00c02520
add esp, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 3
mov edx, dword [0xc4b560]
push edx
push 0
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x48]
call fcn.00c023f0
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x84]
call fcn.00c01f20
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xd0], edx
cmp dword [ebp - 0xd0], 0
jne 0xc2bc17
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00c01f20
jmp 0xc2bd37
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0xc2bc46
lea ecx, [ebp - 0x48]
call fcn.00c01a60
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00c01f20
jmp 0xc2bb3a
mov ecx, dword [0xc4b560]
push ecx
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00c023f0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.00c02840
add esp, 0xc
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 4
mov ecx, dword [0xc4b560]
push ecx
push 0
mov edx, dword [ebp - 0xec]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00c01b30
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0xa0]
call fcn.00c01f20
cmp dword [ebp - 0x14], 0x10
jb 0xc2bcc4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14c], eax
jmp 0xc2bccd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14c], ecx
push 0
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0xc2bd22
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0xc2bd22
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00c01f20
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00c01f20
mov eax, dword [ebp - 0xa4]
jmp 0xc2bd5a
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00c01f20
jmp 0xc2bb3a
mov dword [ebp - 0xa8], 1
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00c01f20
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00c32666
mov esp, ebp
pop ebp
ret