Function at 0x100103c0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f60e
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x10087040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov eax, dword [0x10089920]
push 0
push 0xa
mov dword [ebp - 0x220], 0
mov dword [ebx + 0x16c], eax
call fcn.10011720
push ecx
lea ecx, [ebx + 4]
call fcn.1000b0a0
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.10011c30
mov esi, eax
test esi, esi
js 0x10010853
cmp dword [ebp + 0x28], 0
je 0x1001044c
call fcn.10011790
push 1
push 0x1e
mov ecx, ebx
call fcn.10011720
mov eax, dword [ebx + 0xb0]
mov ecx, dword [ebx + 0xac]
sub eax, ecx
sar eax, 6
mov dword [ebp - 0x224], 0
test eax, eax
je 0x10010569
xor esi, esi
lea edi, [ebx + 0x10c]
mov dword [ebp - 0x220], esi
nop dword [eax + eax]
lea eax, [ecx + esi]
cmp dword [eax + 0x18], 7
lea esi, [eax + 4]
mov dword [ebp - 0x21c], eax
mov eax, esi
jbe 0x100104a6
mov eax, dword [esi]
push 0x1007c15c
push eax
call fcn.1004d809
add esp, 8
test eax, eax
jne 0x100104c4
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x10010516
mov eax, dword [edi]
jmp 0x10010516
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10043f30
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x100104e4
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1004cfef
add esp, 0xc
cmp dword [esi + 0x14], 7
jbe 0x10010501
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push dword [ebx + 0x16c]
push eax
mov eax, dword [ebp - 0x21c]
push dword [eax]
call fcn.10016f10
mov esi, eax
test esi, esi
js 0x10010853
mov eax, dword [ebx + 0xb0]
mov edx, dword [ebp - 0x224]
mov ecx, dword [ebx + 0xac]
inc edx
mov esi, dword [ebp - 0x220]
sub eax, ecx
add esi, 0x40
sar eax, 6
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x220], esi
cmp edx, eax
jb 0x10010490
push 3
push 0x32
mov ecx, ebx
mov dword [ebp - 0x224], 0
call fcn.10011720
cmp dword [ebx + 0x138], 7
lea esi, [ebx + 0x124]
mov eax, esi
jbe 0x10010591
mov eax, dword [esi]
push ecx
push 1
push eax
call fcn.1000b350
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x100105a4
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [esi + 0x14], 7
jbe 0x100105b7
mov esi, dword [esi]
cmp dword [ebx + 0x120], 7
lea edi, [ebx + 0x10c]
mov eax, edi
jbe 0x100105ca
mov eax, dword [edi]
push esi
push eax
call fcn.1000bbf0
cmp dword [edi + 0x14], 7
jbe 0x100105d9
mov edi, dword [edi]
push ecx
push 0
push edi
call fcn.1000b350
push 2
push 0x3c
mov ecx, ebx
call fcn.10011720
cmp dword [ebp + 0x18], 0
je 0x10010626
push ecx
mov esi, esp
mov dword [ebp - 0x220], esi
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
push ecx
mov ecx, ebx
mov dword [esi], eax
call fcn.10010ae0
mov esi, eax
mov dword [ebp - 0x224], esi
test esi, esi
js 0x10010853
jmp 0x10010631
call fcn.100166b0
mov esi, dword [ebp - 0x224]
push 4
push 0x46
mov ecx, ebx
call fcn.10011720
cmp dword [ebp + 0x1c], 0
je 0x10010649
mov ecx, ebx
call fcn.100114e0
push 5
push 0x50
mov ecx, ebx
call fcn.10011720
cmp dword [ebp + 0x20], 0
je 0x10010661
mov ecx, ebx
call fcn.10011270
push 6
push 0x5a
mov ecx, ebx
call fcn.10011720
cmp dword [ebp + 0x24], 0
je 0x10010679
mov ecx, ebx
call fcn.100108d0
push 9
push 0x5f
mov ecx, ebx
call fcn.10011720
cmp dword [ebp + 0x2c], 0
je 0x10010853
mov eax, dword [0x10089eac]
test al, 1
jne 0x100106c2
push 0x64
or eax, 1
push 0
push 0x10089e48
mov dword [0x10089eac], eax
call fcn.10043f30
add esp, 0xc
call fcn.10005170
push 0x10072aa0
call fcn.1004245d
add esp, 4
mov esi, dword [0x10089e78]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.10043f30
lea eax, [ebx + 0x124]
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x100106ec
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x1007c014
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x23c]
call fcn.100098a0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x23c]
cmp dword [ebp - 0x228], 7
cmova esi, dword [ebp - 0x23c]
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x100108b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push esi
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.10005830
test al, al
jne 0x1001079c
test esi, esi
jne 0x10010773
xor ecx, ecx
jmp 0x1001078f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010780
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x21c]
call fcn.10005aa0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x100107e0
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100107d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100108c1
push ecx
push edx
call fcn.10042472
add esp, 8
mov esi, dword [ebp - 0x21c]
xor eax, eax
push esi
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10010831
push ecx
mov edi, esp
lea ecx, [esi - 0x10]
mov dword [ebp - 0x220], edi
call fcn.10005bd0
add eax, 0x10
mov ecx, 1
mov dword [edi], eax
call fcn.10024d60
add esp, 4
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001084d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x224]
push 0x1007b468
push 0x1007b818
push str.install
call fcn.10026bd0
add esp, 0xc
mov ecx, ebx
push 0xa
push 0x64
call fcn.10011720
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010897
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041e20
mov esp, ebp
pop ebp
ret 0x28
push 0x80004005
call fcn.100013a0
call fcn.10045dc4
int3