Function at 0x402530
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4279f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push 0x4296e4
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00402380
add esp, 0xc
mov ebp, dword [esp + 0x2c]
test ebp, ebp
mov dword [esp + 0x24], 0
jl 0x4028ac
cmp ebp, dword [esi + 0x48]
jge 0x4028ac
mov ecx, dword [esi + 0x44]
push edi
lea edi, [ebp*4]
add ecx, edi
push ecx
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004022d0
add esp, 0xc
push eax
mov ecx, 0x436544
mov byte [esp + 0x2c], 1
call fcn.00402440
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4025cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4025f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
lea eax, [esi + 8]
push 0x4296e0
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402380
add esp, 0xc
cmp ebp, dword [esi + 0x48]
mov ebx, 2
mov dword [esp + 0x2c], ebx
jge 0x4028a7
mov ecx, dword [esi + 0x44]
add ecx, edi
push ecx
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.004022d0
add esp, 0xc
push eax
mov ecx, 0x436548
mov byte [esp + 0x30], 3
call fcn.00402440
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x2c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402664
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40268a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x5c
push 0x2f
mov ecx, 0x436548
call fcn.00402210
cmp ebp, dword [esi + 0x48]
jge 0x4028a7
mov esi, dword [esi + 0x44]
add esi, edi
mov esi, dword [esi]
sub esi, 0x10
push esi
call fcn.00401e50
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 4
call fcn.00402210
xor ebp, ebp
mov esi, dword [esp + 0x10]
mov ecx, dword [esi - 0xc]
lea eax, [ebp + 1]
test eax, eax
jl 0x402823
cmp eax, ecx
jge 0x402823
add eax, esi
push 0x5c
push eax
call fcn.00409ea6
add esp, 8
test eax, eax
je 0x402823
sub eax, esi
mov ebp, eax
test ebp, ebp
jle 0x402823
push ebp
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.00401ff0
mov ecx, dword [esp + 0x18]
push 0x4296e0
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x38], 5
call fcn.00402380
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x44], 6
call fcn.004022d0
add esp, 0x18
mov ecx, dword [eax]
mov edi, dword [esp + 0x34]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
mov byte [esp + 0x2c], 7
je 0x4027ac
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x40279a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40279a
push eax
call fcn.00401e50
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x402791
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov dword [esp + 0x34], edi
jmp 0x4027ac
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.004020e0
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4026d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4026d2
push 0x4296dc
push 0
push 0x401d70
call fcn.0040a42d
add esp, 0xc
push eax
call fcn.00401320
mov eax, dword [0x436540]
or edx, 0xffffffff
test eax, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
jge 0x40287f
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402868
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebx
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402890
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 4
call fcn.00418d8f
call fcn.00418d8f
int3