Function at 0x4319b0
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482c20
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x496004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [esi + 0x18]
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x431a20
mov eax, 0x80004004
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x431a34
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x4c], 0
push 8
call fcn.00436c01
mov esi, eax
mov dword [ebp - 0x14], 3
xor eax, eax
mov dword [ebp - 0x1c], esi
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x38]
mov word [esi], ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xc]
push edx
push 3
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebx, eax
mov ax, word [ebp - 0x38]
test ebx, ebx
jne 0x431af2
mov edx, 2
test ax, ax
jne 0x431ae7
lea esi, [edi + 0x50]
lea ecx, [ebp - 0x1c]
cmp esi, ecx
je 0x431b68
mov ebx, dword [esi + 4]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
cmp ebx, 3
jbe 0x431ac8
xor ecx, ecx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
call fcn.00436a97
mov ecx, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ebx
lea eax, [ebx*2 + 2]
mov dword [ebp - 0x18], ebx
push eax
push dword [esi]
push ecx
call fcn.00441f60
mov ax, word [ebp - 0x38]
add esp, 0xc
jmp 0x431b6a
cmp ax, 8
je 0x431b08
mov ebx, 0x80004005
test ax, ax
je 0x4322a1
lea ecx, [ebp - 0x38]
call fcn.004116b0
jmp 0x4322a1
mov eax, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 3
jbe 0x431b4b
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
push dword [ebp - 0x1c]
mov esi, eax
call fcn.00436a97
add esp, 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ebx
lea eax, [ebx*2 + 2]
mov dword [ebp - 0x18], ebx
push eax
push dword [ebp - 0x20]
push esi
call fcn.00441f60
mov ax, word [ebp - 0x38]
add esp, 0xc
jmp 0x431b6d
xor ebx, ebx
mov esi, dword [ebp - 0x1c]
lea ecx, [edi + 0x1c]
lea edx, [ebp - 0x1c]
cmp edx, ecx
je 0x431bc7
cmp ebx, dword [ecx + 8]
jbe 0x431bad
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
push dword [edi + 0x1c]
mov esi, eax
call fcn.00436a97
lea ecx, [edi + 0x1c]
add esp, 8
mov dword [ecx], esi
mov esi, dword [ebp - 0x1c]
mov dword [ecx + 8], ebx
lea eax, [ebx*2 + 2]
mov dword [ecx + 4], ebx
push eax
push esi
push dword [ecx]
call fcn.00441f60
mov ax, word [ebp - 0x38]
add esp, 0xc
test ax, ax
je 0x431bd4
lea ecx, [ebp - 0x38]
call fcn.004116b0
cmp dword [ebp + 0x14], 0
jne 0x4322c0
mov esi, dword [ebp + 0xc]
lea edx, [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0xc]
push edx
push 9
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x4321a3
cmp word [ebp - 0x60], ax
jne 0x431c0e
mov eax, dword [edi + 0x64]
jmp 0x431c22
cmp word [ebp - 0x60], 0x13
je 0x431c1f
mov ebx, 0x80004005
jmp 0x4321a3
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x44], eax
lea edx, [ebp - 0x60]
mov eax, dword [edi + 0xc]
push edx
push 6
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x4321a3
cmp word [ebp - 0x58], ax
lea edx, [ebp - 0x38]
push edx
setne al
mov byte [ebp + 0xf], bl
mov byte [edi + 0x40], al
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0xc]
push 0x15
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
je 0x431c82
cmp word [ebp - 0x38], 0
je 0x4321a3
lea ecx, [ebp - 0x38]
call fcn.004116b0
jmp 0x4321a3
mov ax, word [ebp - 0x38]
cmp ax, 0xb
jne 0x431c97
cmp word [ebp - 0x30], 0
setne byte [ebp + 0xf]
jmp 0x431c9c
test ax, ax
je 0x431ca4
lea ecx, [ebp - 0x38]
call fcn.004116b0
mov eax, dword [edi + 0xc]
lea edx, [ebp - 0x60]
push edx
push 0xc
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jne 0x4321a3
movzx eax, word [ebp - 0x60]
test eax, eax
je 0x431cdd
cmp eax, 0x40
je 0x431cd5
mov ebx, 0x80004005
jmp 0x4321a3
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
jmp 0x431ce3
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x60]
mov dword [edi + 0x3c], ecx
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x1c]
mov dword [edi + 0x38], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.0040bec0
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
jne 0x431d1c
mov dword [ebp + 8], 0x80004005
jmp 0x43216c
mov esi, dword [ebp - 0x24]
xor ecx, ecx
inc esi
mov edx, 2
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
lea ecx, [esi + esi]
mov dword [ebp - 0x64], eax
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.00441f60
add esp, 0x10
cmp byte [edi + 0x40], 0
jne 0x431d6f
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + ebx*4 - 4]
test esi, esi
je 0x431d6e
push dword [esi]
call fcn.00436a97
push 0xc
push esi
call fcn.00436bf3
add esp, 0xc
dec ebx
test ebx, ebx
je 0x431eb2
cmp byte [ebp + 0xf], 0
jne 0x431eb2
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov dword [ebp + 0x14], eax
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
mov ecx, dword [edi + 0x14]
mov esi, eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], eax
lea ecx, [ecx*2 + 2]
mov dword [ebp - 0x3c], eax
push ecx
push dword [edi + 0x10]
push esi
call fcn.00441f60
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0x10], ecx
test ebx, ebx
je 0x431ea9
mov edi, esi
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x3c]
sub eax, esi
mov dword [ebp + 0x14], edx
mov ecx, dword [edx + 4]
cmp ecx, eax
jbe 0x431e0b
add ecx, esi
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [ebp - 0x44]
and eax, 0xfffffff0
dec eax
push eax
call fcn.00409aa0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [edi + esi*2]
lea eax, [eax*2 + 2]
push eax
push dword [edx]
push ecx
call fcn.00441f60
mov eax, dword [ebp + 0x14]
add esp, 0xc
add esi, dword [eax + 4]
cmp byte [0x498871], 0
mov dword [ebp - 0x40], esi
jne 0x431e57
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.0040a910
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x34]
call fcn.00436a97
add esp, 4
jmp 0x431e60
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x3c], esi
jne 0x431e81
mov eax, esi
lea ecx, [ebp - 0x44]
shr eax, 1
add esi, 0x10
add eax, esi
and eax, 0xfffffff0
dec eax
push eax
call fcn.00409aa0
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov eax, 0x5c
mov word [edi + esi*2], ax
inc ecx
inc esi
mov dword [ebp - 0x10], ecx
xor eax, eax
mov dword [ebp - 0x40], esi
mov word [edi + esi*2], ax
cmp ecx, ebx
jb 0x431dd5
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x44]
push esi
call fcn.00436a97
add esp, 4
mov esi, dword [edi + 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov edx, 2
mov edi, dword [edi + 0x10]
add eax, esi
mov dword [ebp - 0x10], eax
inc eax
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
add esi, esi
mov dword [ebp + 0x14], eax
push esi
push edi
push eax
call fcn.00441f60
mov eax, dword [ebp - 0x24]
lea ecx, [eax*2 + 2]
mov eax, dword [ebp + 0x14]
push ecx
push dword [ebp - 0x64]
add eax, esi
push eax
call fcn.00441f60
mov edi, dword [ebp + 8]
add esp, 0x1c
cmp byte [edi + 0x40], 0
je 0x43201b
lea ecx, [edi + 0x28]
lea eax, [ebp - 0xb8]
cmp eax, ecx
je 0x431f71
mov eax, dword [ebp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x431f56
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
push dword [edi + 0x28]
mov esi, eax
call fcn.00436a97
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0x28]
add esp, 8
mov dword [ecx], esi
mov dword [ecx + 8], eax
mov dword [ecx + 4], eax
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push dword [ecx]
call fcn.00441f60
add esp, 0xc
lea ecx, [edi + 0x28]
cmp byte [ebp + 0xf], 0
mov eax, dword [ecx]
je 0x431fc0
cmp byte [0x498871], 0
jne 0x431faf
mov edx, eax
lea ecx, [ebp - 0xac]
call fcn.0040a910
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xac]
call fcn.00436a97
add esp, 4
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x432159
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x432159
cmp byte [0x498871], 0
jne 0x431fdb
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x432159
push 0
push 0x2000000
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432011
lea ecx, [edi + 0x38]
push ecx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp + 8], eax
jmp 0x432159
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
push 8
movlpd qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 0
mov word [ebp - 0x7c], 0
call fcn.00436c01
mov esi, dword [ebp + 0x14]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 3
mov word [eax], cx
lea ecx, [ebp - 0xa0]
push esi
call fcn.0040f070
test al, al
je 0x4320c9
mov ecx, esi
call fcn.0040d760
test al, al
jne 0x4320c9
push str.Can_not_delete_output_file
lea ecx, [edi + 0xe4]
call fcn.0040a240
mov dword [ebp + 8], 0x80004005
jmp 0x43214e
cmp byte [ebp + 0xf], 0
jne 0x4321df
push 0x18
call fcn.00436c83
mov esi, eax
add esp, 4
mov dword [esi + 4], 0
mov dword [esi], vtable.COutFileStream.0
mov dword [esi + 8], 0xffffffff
mov dword [edi + 0x48], esi
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x48]
push ecx
push 2
push 1
push 0x40000000
push dword [ebp + 0x14]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
add ecx, 8
call fcn.0040feb0
test al, al
jne 0x4321ba
push str.Can_not_open_output_file
lea ecx, [edi + 0xe4]
call fcn.0040a240
mov dword [ebp + 8], 0x80004005
mov dword [ebp - 4], 1
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x78]
call fcn.00436a97
add esp, 4
push dword [ebp + 0x14]
call fcn.00436a97
push dword [ebp - 0x64]
call fcn.00436a97
add esp, 8
test ebx, ebx
je 0x432195
mov eax, dword [ebp - 0x50]
mov esi, dword [eax + ebx*4 - 4]
dec ebx
test esi, esi
je 0x432191
push dword [esi]
call fcn.00436a97
push 0xc
push esi
call fcn.00436bf3
mov eax, dword [ebp - 0x50]
add esp, 0xc
test ebx, ebx
jne 0x432173
push dword [ebp - 0x50]
call fcn.00436a97
mov ebx, dword [ebp + 8]
add esp, 4
cmp word [ebp - 0x60], 0
je 0x4321b2
lea ecx, [ebp - 0x60]
call fcn.004116b0
mov esi, dword [ebp - 0x1c]
jmp 0x4322a1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x4321cd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x4c], esi
mov dword [eax], esi
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x14]
add edi, 0x28
lea eax, [ebp - 0xb8]
cmp eax, edi
je 0x43223a
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 8]
jbe 0x432224
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00436c01
push dword [edi]
mov esi, eax
call fcn.00436a97
mov eax, dword [ebp - 0x10]
add esp, 8
mov dword [edi], esi
mov esi, dword [ebp + 0x14]
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea eax, [eax*2 + 2]
push eax
push esi
push dword [edi]
call fcn.00441f60
add esp, 0xc
push dword [ebp - 0x78]
call fcn.00436a97
push esi
call fcn.00436a97
push dword [ebp - 0x64]
call fcn.00436a97
add esp, 0xc
test ebx, ebx
je 0x432282
mov eax, dword [ebp - 0x50]
nop word [eax + eax]
mov esi, dword [eax + ebx*4 - 4]
dec ebx
test esi, esi
je 0x43227e
push dword [esi]
call fcn.00436a97
push 0xc
push esi
call fcn.00436bf3
mov eax, dword [ebp - 0x50]
add esp, 0xc
test ebx, ebx
jne 0x432260
push dword [ebp - 0x50]
call fcn.00436a97
add esp, 4
cmp word [ebp - 0x60], 0
je 0x43229c
lea ecx, [ebp - 0x60]
call fcn.004116b0
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
push esi
call fcn.00436a97
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
jmp 0x43229f