Function at 0x402eb0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x445350
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459930]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x70], ebp
call fcn.00403480
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
push eax
call fcn.00404850
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
push 5
push 0x44c57c
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 1
call fcn.00403c20
mov ebx, dword [esp + 0x20]
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00404850
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00409320
add esp, 4
cmp eax, ebp
jne 0x402f41
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push 0x44c410
lea ecx, [esp + 0x28]
call fcn.00403c20
push 9
push str.unist.xml
lea ecx, [esp + 0x28]
call fcn.00403c20
cmp dword [edi + 0xb8], ebp
jne 0x402f6f
push edi
call fcn.00403480
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
call fcn.0040fb6f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402f95
push 0x80004005
call fcn.004049d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.unist
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 2
call fcn.00404130
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, ebp
jne 0x402fd0
call fcn.004049f0
mov ecx, dword [edi + 0xb8]
mov edx, dword [ecx]
lea ebx, [esp + 0x24]
push ebx
push eax
mov ebp, eax
mov eax, dword [edx + 0xbc]
push ecx
call eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x40301b
add esi, 0xfffffff0
mov byte [esp + 0x6c], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4033f5
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x4033f5
mov eax, dword [edi + 0xb8]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xb8]
call eax
mov ecx, 3
mov word [esp + 0x3c], cx
mov ecx, dword [edi + 0xac]
xor eax, eax
mov dword [esp + 0x2c], eax
test ecx, ecx
jg 0x403074
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x40335a
call fcn.004049f0
mov edi, edi
mov eax, dword [esp + 0x2c]
test eax, eax
jl 0x403355
cmp eax, dword [edi + 0xac]
jge 0x403355
mov edx, dword [edi + 0xa8]
mov esi, dword [edx + eax*8]
mov ecx, dword [esi - 0x10]
lea ebx, [edx + eax*8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4030bb
cmp eax, dword [esi]
jne 0x4030bb
mov ebp, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4030f6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x402fcb
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.0042d6af
add esp, 0x10
mov ecx, dword [ebx + 4]
add ebp, 0x10
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
push 4
push str.Node
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 3
call fcn.004046a0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push ecx
push eax
call ebx
test eax, eax
je 0x402fcb
mov ecx, dword [edi + 0xb8]
mov edx, dword [ecx]
lea esi, [esp + 0x1c]
push esi
mov esi, dword [esp + 0x40]
push 0
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x5c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x64]
mov ebp, 1
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0xe0]
push ecx
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
push 4
push str.Name
lea ecx, [esp + 0x20]
call fcn.004046a0
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
push eax
push esi
call ebx
test eax, eax
je 0x402fcb
mov ecx, dword [edi + 0xb8]
mov edx, dword [ecx]
lea ebx, [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x40]
push 0
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0xe0]
push ecx
call eax
mov ebx, dword [esp + 0x34]
add ebx, 0xfffffff0
lea ebp, [esi - 0x10]
cmp ebx, ebp
je 0x40323f
cmp dword [ebp + 0xc], 0
lea esi, [ebp + 0xc]
jl 0x403229
mov ecx, dword [ebx]
cmp ecx, dword [ebp]
jne 0x403229
push ebx
call fcn.00404850
add esp, 4
mov dword [esp + 0x30], eax
or edx, 0xffffffff
lock xadd dword [esi], edx
dec edx
test edx, edx
jg 0x40321c
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov esi, dword [esp + 0x30]
add esi, 0x10
mov dword [esp + 0x18], esi
jmp 0x40323f
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004046a0
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
push esi
call ebp
test eax, eax
je 0x402fcb
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x6c]
push ecx
call eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
push 4
push str.Type
lea ecx, [esp + 0x20]
call fcn.004046a0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call ebp
test eax, eax
je 0x402fcb
mov ecx, dword [edi + 0xb8]
mov esi, dword [ecx]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x40]
push 0
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, 1
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0xe0]
push ecx
call eax
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push 0x44ca34
push edx
call fcn.00404600
mov esi, dword [esp + 0x24]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
push esi
call ebp
test eax, eax
je 0x402fcb
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push eax
mov ebp, eax
mov eax, dword [edx + 0x6c]
push ecx
call eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov byte [esp + 0x6c], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40333b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [edi + 0xac]
mov dword [esp + 0x2c], eax
jl 0x403070
jmp 0x403047
call fcn.0040fab2
mov edi, dword [edi + 0xb8]
mov ecx, eax
mov edx, 8
mov word [esp + 0x4c], dx
mov ebx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x64], ecx
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
push edi
mov dword [eax + 0xc], ecx
call edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4033a7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4033b7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4033c7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
add esi, 0xfffffff0
mov byte [esp + 0x6c], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4033f5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x6c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40341a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403442
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4