Function at 0x42a280
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4419c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 0x14]
mov ecx, dword [eax + 0xc4]
test ecx, ecx
jne 0x42a4cd
mov cl, byte [eax + 0xa]
mov bl, 2
test bl, cl
je 0x42a4cd
mov ecx, dword [edi + 0x64]
xor eax, eax
test ecx, ecx
jle 0x42a2d9
mov dl, byte [eax + 0x4ea2ac]
test dl, dl
jne 0x42a2d9
inc eax
cmp eax, ecx
jl 0x42a2ca
cmp eax, ecx
jge 0x42a4cd
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.00404ef0
mov eax, dword [0x4534e0]
mov dword [ebp - 4], 0
test eax, eax
je 0x42a354
push 0
push 0x4535fc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [edi + 0x14]
push 0x44ed48
add ecx, 0x1d0
lea edx, [ebp - 0x4c]
push ecx
push 0x4535fc
push edx
call fcn.00417a10
add esp, 0x10
mov ecx, dword [0x442360]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404cf0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00404ef0
jmp 0x42a3ae
mov eax, dword [edi + 0x14]
push 0x44ed48
lea edx, [eax + 0x1d0]
add eax, 0xcc
push edx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00417a10
add esp, 0x10
mov ecx, dword [0x442360]
mov byte [ebp - 4], bl
push ecx
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00404cf0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x42a3ae
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42a3a5
cmp al, 0xff
je 0x42a3a5
dec al
mov byte [ecx], al
jmp 0x42a3ae
push ecx
call fcn.00435930
add esp, 4
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 3
test eax, eax
jne 0x42a3be
mov eax, 0x442380
push 0x44ed4c
push eax
call fcn.004365e2
mov esi, eax
add esp, 8
test esi, esi
mov dword [ebp - 0x18], esi
jne 0x42a40f
push 4
call fcn.004011d0
mov ecx, dword [ebp - 0x38]
add esp, 4
test ecx, ecx
jne 0x42a3eb
mov ecx, 0x442380
push ecx
push eax
push 0x453324
call fcn.00436de1
add esp, 0xc
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x453324
push 0x443a58
push edx
call fcn.00436a94
mov eax, dword [edi + 0x64]
push esi
push 1
push eax
push 0x4ea2ac
call fcn.00437856
add esp, 0x10
cmp eax, 1
je 0x42a492
push 6
call fcn.004011d0
add esp, 4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
push 0x443a58
push ecx
call fcn.00436a94
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42a453
push eax
call fcn.004364d2
add esp, 4
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push 0x443a58
push eax
mov dword [ebp - 0x24], edx
call fcn.00436a94
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42a477
push eax
call fcn.004364d2
add esp, 4
push 3
call fcn.004011d0
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
push 0x443a58
push ecx
call fcn.00436a94
push esi
call fcn.004364d2
mov ecx, dword [ebp - 0x38]
add esp, 4
test ecx, ecx
je 0x42a4cd
mov al, byte [ecx - 1]
test al, al
je 0x42a4c3
cmp al, 0xff
je 0x42a4c3
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.00435930
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret