Function at 0x452de0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x577d88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, edi
jne 0x452e2a
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 0x2c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
jle 0x452f2c
mov ebx, dword [ebp + 0xc]
jmp 0x452e42
mov eax, ecx
test edi, edi
jl 0x45301c
cmp edi, dword [eax + 0x2c]
jge 0x45301c
mov eax, dword [eax + 0x28]
mov esi, dword [eax + edi*4]
cmp dword [esi + 0x1c], 0
lea eax, [eax + edi*4]
push 0x5958a8
push ebx
je 0x452f43
lea ecx, [esp + 0x24]
push ecx
call fcn.00401ba0
add esp, 0xc
lea edx, [esi + 8]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x44], 0
call fcn.00401ae0
add esp, 0xc
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452eb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov edi, ecx
call fcn.004600b0
test eax, eax
jne 0x452ed3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x452eed
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.00452de0
mov edx, dword [esp + 0x18]
lea eax, [edx + eax + 1]
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452f15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
add edi, 1
cmp edi, dword [ecx + 0x2c]
mov dword [esp + 0x18], edi
jl 0x452e40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x30]
push ecx
call fcn.00401ba0
add esp, 0xc
lea edx, [esi + 8]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x44], 3
call fcn.00401ae0
add esp, 0xc
push str..url
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x44], 4
call fcn.00401ba0
add esp, 0xc
mov byte [esp + 0x38], 5
mov esi, dword [esi + 0xc]
mov eax, dword [eax]
push esi
push eax
call fcn.004b9c80
mov esi, eax
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452fbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452fe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45300a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x452f19
add dword [esp + 0x10], 1
jmp 0x452f19
jmp fcn.00530cad