Function at 0x402b70
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x43cd60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e6f0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x3c], vtable.CArray_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char____const__.0
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov byte [esp + 0x5c], 1
jmp 0x402bc4
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x64]
cmp dword [edi - 0xc], 0
jl 0x402d3e
push 0x444600
push edi
call fcn.00427ab9
add esp, 8
test eax, eax
je 0x402d3e
sub eax, edi
mov esi, eax
js 0x402d3e
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x6c]
call fcn.00403690
mov byte [esp + 0x5c], 2
mov eax, dword [edi - 0xc]
sub eax, esi
sub eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00403610
mov byte [esp + 0x5c], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x402c75
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x402c67
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402c67
push eax
call fcn.00402190
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x402c5e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x64], ebx
jmp 0x402c75
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.00402670
mov byte [esp + 0x5c], 2
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 0x402c9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
mov edi, ebp
jl 0x402d39
lea eax, [ebp + 1]
lea esi, [esp + 0x3c]
call fcn.00403950
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov esi, dword [ecx + edi*4]
lea ebp, [ecx + edi*4]
lea edi, [eax - 0x10]
sub esi, 0x10
cmp edi, esi
je 0x402d12
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x402d06
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x402d06
push edi
call fcn.00402190
mov dword [esp + 0x20], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x402cfa
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x1c]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x402d12
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebp
call fcn.00402670
mov byte [esp + 0x5c], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x402bc0
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
jmp 0x402bc0
call fcn.0040c4cb
test ebp, ebp
jle 0x402d39
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00402190
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], esi
cmp ebp, 1
mov byte [esp + 0x5c], 4
mov dword [esp + 0x1c], 1
jle 0x402ef7
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ebx, 0x444600
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
mov dword [esp + 0x20], ebx
sub eax, edi
sub ebx, esi
or eax, ecx
jge 0x402da1
push edi
lea ecx, [esp + 0x1c]
call fcn.00402030
mov esi, dword [esp + 0x18]
cmp ebx, ebp
ja 0x402dab
add ebx, esi
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x20]
push 1
push edx
push 1
add ebp, esi
push ebp
call fcn.00427413
add esp, 0x10
test edi, edi
jl 0x4030b6
cmp edi, dword [esi - 8]
jg 0x4030b6
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
jl 0x402d39
cmp eax, dword [esp + 0x44]
jge 0x402d39
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax - 0xc]
mov edx, dword [esi - 0xc]
mov ebp, eax
mov dword [esp + 0x20], eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [edx + ebx]
sub eax, edi
sub ebp, esi
or eax, ecx
mov dword [esp + 0x28], edx
jge 0x402e2c
push edi
lea ecx, [esp + 0x1c]
call fcn.00402030
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp ebp, edx
ja 0x402e36
add ebp, esi
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x20]
push ebx
push eax
add edx, esi
push ebx
push edx
call fcn.00427413
add esp, 0x10
test edi, edi
jl 0x4030b6
cmp edi, dword [esi - 8]
jg 0x4030b6
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea edi, [esi - 0x10]
mov dword [esp + 0x2c], esp
mov ebp, esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x402e8e
cmp eax, dword [edi]
jne 0x402e8e
mov ebx, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x402ec4
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4030b1
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
add eax, 1
push eax
add edi, 0x10
push edi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00427413
add esp, 0x10
add ebx, 0x10
mov dword [ebp], ebx
call fcn.004028f0
add esp, 4
test eax, eax
jne 0x402ede
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
jl 0x402d71
mov edi, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
call fcn.0040b9f6
mov byte [esp + 0x5c], 5
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ebp, 0x444600
mov ecx, 1
sub ecx, dword [esi - 4]
lea ebx, [edx + 1]
mov dword [esp + 0x20], ebp
sub eax, ebx
sub ebp, esi
or eax, ecx
mov dword [esp + 0x28], edx
jge 0x402f3d
push ebx
lea ecx, [esp + 0x1c]
call fcn.00402030
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
cmp ebp, edx
ja 0x402f47
add ebp, esi
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x20]
push 1
push eax
add edx, esi
push 1
push edx
call fcn.00427413
add esp, 0x10
test ebx, ebx
jl 0x4030b6
cmp ebx, dword [esi - 8]
jg 0x4030b6
mov dword [esi - 0xc], ebx
mov byte [ebx + esi], 0
mov ebp, dword [esi - 0xc]
mov edx, dword [edi - 0xc]
mov eax, dword [esi - 8]
mov dword [esp + 0x1c], ebp
add ebp, edx
mov ecx, 1
sub ecx, dword [esi - 4]
mov ebx, edi
sub eax, ebp
sub ebx, esi
or eax, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], edi
jge 0x402fae
push ebp
lea ecx, [esp + 0x1c]
call fcn.00402030
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
cmp ebx, eax
ja 0x402fbc
add ebx, esi
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push edx
add eax, esi
push eax
call fcn.00427413
add esp, 0x10
test ebp, ebp
jl 0x4030b6
cmp ebp, dword [esi - 8]
jg 0x4030b6
push 0
push 0x1000
mov dword [esi - 0xc], ebp
push esi
lea ecx, [esp + 0x38]
mov byte [esi + ebp], 0
call fcn.0040bfb4
mov ebp, eax
test ebp, ebp
je 0x403006
lea ecx, [esp + 0x2c]
call fcn.0040b8e4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], 4
call fcn.0040bb64
add esi, 0xfffffff0
mov byte [esp + 0x5c], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x403035
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x5c], 0
xor esi, esi
lea esp, [esp]
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403063
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 1
cmp esi, dword [esp + 0x44]
jl 0x403040
push ebx
call fcn.0040b369
add edi, 0xfffffff0
add esp, 4
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403099
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, ebp
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4
call fcn.00402100
push 0x80070057
call fcn.00401fb0
int3