Function at 0x108465a
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov eax, 0x1276061
call fcn.01160118
sub esp, 0x28c
mov eax, dword [0x12cf8c8]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x230], ecx
je 0x10846e5
mov byte [eax], bl
xor eax, eax
mov al, byte [ebp + 0x18]
push ebx
mov ecx, esi
and eax, 0xffffff01
push eax
push 1
call fcn.010829df
cmp eax, ebx
jl 0x1084d58
lea eax, [ebp - 0x240]
lea ecx, [esi + 0xc]
push eax
mov dword [ebp - 0x240], ebx
call fcn.0117e9a2
cmp eax, ebx
jl 0x1084d58
cmp dword [ebp - 0x240], ebx
jne 0x10846ef
mov eax, 0x80004003
jmp 0x1084d58
push esi
lea ecx, [ebp - 0x25c]
call fcn.0116ae34
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x25c]
call fcn.0116ab24
cmp eax, ebx
jl 0x1084d45
push edi
lea ecx, [esi + 0x5c]
call fcn.01044f8b
test byte [ebp + 0x18], 2
je 0x1084a28
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x238], ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x238]
push eax
mov ecx, 0x12d2398
call fcn.0107d32f
mov edi, eax
cmp edi, ebx
jge 0x108479b
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
cmp eax, ebx
je 0x108476d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x1084781
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x1084794
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, edi
jmp 0x1084d47
mov eax, dword [ebp - 0x238]
cmp eax, ebx
jne 0x10847ea
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
cmp eax, ebx
je 0x10847b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x10847cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x10847e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, 0x80004003
jmp 0x1084d47
mov ecx, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push eax
call dword [ecx + 0x58]
mov edi, eax
cmp edi, ebx
jl 0x1084759
cmp dword [ebp - 0x22c], ebx
je 0x10847a5
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x238]
cmp eax, ebx
je 0x108481d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x22c]
call fcn.01045691
mov edi, eax
cmp edi, ebx
jl 0x108476d
cmp dword [ebp - 0x21c], ebx
je 0x10847b9
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x1084859
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x100355c
lea ecx, [ebp - 0x220]
call fcn.01045e8e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push eax
call dword [ecx + 0x138]
mov edi, eax
cmp edi, ebx
jl 0x10849e3
lea ecx, [ebp - 0x220]
call fcn.0104502b
mov edi, eax
cmp edi, ebx
jl 0x10849e3
mov eax, dword [ebp - 0x220]
cmp dword [eax - 8], ebx
jne 0x1084901
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jne 0x10848ef
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.0104508a
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x10848e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, 0x80004005
jmp 0x1084d47
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.01044f8b
lea ecx, [ebp - 0x220]
call fcn.01082b0a
mov edi, eax
cmp edi, ebx
jl 0x10849e3
mov dword [ebp - 0x234], ebx
lea ecx, [ebp - 0x228]
call fcn.01044f5e
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x220]
push 0x104
lea ecx, [ebp - 0x228]
call fcn.01032987
push eax
push ebx
push 0x10094fc
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, eax
cmp edi, ebx
jl 0x10849d4
push 0xffffffffffffffff
lea ecx, [ebp - 0x228]
call fcn.010329f4
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1084994
lea ecx, [ebp - 0x228]
call fcn.0104502b
mov edi, eax
cmp edi, ebx
jl 0x10849d4
push ebx
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10849bb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x228]
call fcn.0104508a
inc dword [ebp - 0x234]
cmp dword [ebp - 0x234], 0x186a0
jl 0x108491c
jmp 0x1084a06
mov ecx, dword [ebp - 0x240]
push 1
push dword [ebp - 0x228]
call fcn.0117c766
mov edi, eax
cmp edi, ebx
jge 0x10849f7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x228]
call fcn.0104508a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.0104508a
jmp 0x1084781
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x228]
call fcn.0104508a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.0104508a
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x1084a28
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebp + 0x18], 1
je 0x1084add
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa4]
mov ecx, dword [0x12d28f8]
lea edi, [esi + 0x58]
push edi
push 0x101b0a8
push 0x17
push eax
push 0x101b3d8
call fcn.0116b761
cmp eax, ebx
jl 0x1084d45
push dword [edi]
lea ecx, [ebp - 0x234]
call fcn.010829b6
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x250]
call fcn.0126ddaa
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x250]
call fcn.01206691
mov edi, eax
cmp edi, ebx
jl 0x1084abc
push dword [ebp - 0x248]
mov eax, dword [ebp - 0x234]
push dword [ebp - 0x24c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov edi, eax
cmp edi, ebx
jge 0x1084aca
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x234]
jmp 0x108478a
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x234]
cmp eax, ebx
je 0x1084add
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x230], ebx
push 0x17
lea edi, [esi + 0x3c]
push ebx
mov ecx, edi
je 0x1084af5
push dword [ebp - 0x230]
jmp 0x1084afa
push 0x101b868
call fcn.01082965
cmp eax, ebx
jl 0x1084d45
cmp dword [ebp - 0x224], ebx
je 0x1084c02
push dword [ebp - 0x244]
lea ecx, [ebp - 0x298]
call fcn.0119205f
mov byte [ebp - 4], 7
push dword [ebp - 0x224]
lea ecx, [ebp - 0x298]
call fcn.011924f8
mov edi, eax
cmp edi, ebx
jge 0x1084b52
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x298]
call fcn.01191c3c
jmp 0x1084794
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esi + 0x2c]
and eax, ecx
push eax
push 0x17
lea eax, [ebp - 0x298]
push eax
call fcn.01192ce5
mov edi, eax
cmp edi, ebx
jl 0x1084b3f
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.01190a80
mov edi, eax
cmp edi, ebx
jl 0x1084b3f
cmp dword [ebp - 0x244], 0xfbc
jae 0x1084ba0
mov eax, dword [ebp - 0x23c]
mov byte [eax], 1
push dword [ebp - 0x240]
lea ecx, [ebp - 0x298]
call fcn.01190f67
mov edi, eax
cmp edi, ebx
jl 0x1084b3f
push dword [ebp - 0x224]
lea ecx, [ebp - 0x23c]
call fcn.01257a53
mov byte [ebp - 4], 8
push dword [eax]
mov ecx, esi
call fcn.010828ef
mov edi, eax
mov byte [ebp - 4], 7
push dword [ebp - 0x23c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, ebx
jl 0x1084b3f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x298]
call fcn.01191c3c
jmp 0x1084d3a
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x240]
lea ecx, [esi + 0x40]
mov dword [ebp - 0x224], ebx
call fcn.0108460d
cmp eax, ebx
jl 0x1084d45
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x10847e0
add eax, 0x1c
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
cmp eax, ebx
jl 0x1084d45
cmp dword [esi + 0x58], ebx
je 0x1084cce
mov dword [ebp - 0x230], ebx
mov byte [ebp - 4], 9
mov eax, dword [esi + 0x58]
lea ecx, [ebp - 0x230]
push ecx
push eax
call fcn.010630b7
cmp eax, ebx
mov dword [ebp - 0x23c], eax
jge 0x1084c8f
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x1084c84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0x23c]
jmp 0x1084d47
mov eax, dword [ebp - 0x230]
cmp eax, ebx
jne 0x1084ca7
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x230]
jmp 0x10847d6
mov ecx, dword [esi + 0xc]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x48]
cmp eax, ebx
mov dword [ebp - 0x23c], eax
jl 0x1084c71
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x1084cce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [edi], ebx
je 0x1084d3a
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], 0xa
mov edi, dword [edi]
lea eax, [ebp - 0x224]
push eax
push edi
call fcn.010630b7
mov edi, eax
cmp edi, ebx
jl 0x1084d19
mov eax, dword [ebp - 0x224]
cmp eax, ebx
jne 0x1084d09
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x224]
jmp 0x10847d6
mov ecx, dword [esi + 0xc]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x48]
mov edi, eax
cmp edi, ebx
jge 0x1084d27
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x224]
jmp 0x108478a
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x1084d3a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x44]
cmp eax, ebx
jge 0x1084d47
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.0116aa37
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret 0x14