Function at 0x4421d0
Capabilities:
Check if file exists
Create directory
Get disk information
Get disk size
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56180c
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x5b0514]
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 dword [ebp - 0x32c], 0
xor edi, edi
mov eax, dword [0x5ba980]
mov dword [ebp - 0x2c0], eax
push 5
push str.Tasks
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x2e0], edi
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.00406610
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x250]
push 6
push str.Config
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.00406610
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x250]
mov ecx, 0x5ba9b8
push eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov ecx, dword [eax + 8]
cmp ecx, 1
jne 0x4422ae
mov eax, dword [eax]
mov esi, dword [eax + 4]
jmp 0x4422bd
cmp ecx, 2
jne 0x4422ba
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
jmp 0x4422bd
or esi, 0xffffffff
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x4422fb
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4422f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
cmp edx, 0x10
jb 0x442357
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44234d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
cmp edi, esi
jge 0x44362b
xor ebx, ebx
mov dword [ebp - 0x2e4], 0xf
push 5
push str.Tasks
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2e8], ebx
mov byte [ebp - 0x2f8], bl
call fcn.00406610
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x250]
push 6
push str.Config
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], bl
call fcn.00406610
push edi
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x250]
mov ecx, 0x5ba9b8
push eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov ecx, eax
call fcn.00401ef0
push eax
lea ecx, [ebp - 0x260]
call fcn.004025c0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x442433
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442429
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x2e4]
cmp edx, 0x10
jb 0x44248c
mov ecx, dword [ebp - 0x2f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442482
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
push 8
push str.tasktype
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0xf
mov byte [ebp - 0x2f8], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.00406610
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x260]
call fcn.004039f0
cmp dword [eax + 8], 7
jne 0x4424f4
mov esi, dword [eax]
jmp 0x4424f6
xor esi, esi
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x224]
cmp edx, 0x10
jb 0x442534
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44252a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
cmp esi, 3
je 0x442557
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x258]
dec eax
cmp eax, 4
ja case.default.0x443571
jmp dword [eax*4 + 0x4439d4]
push edi
push str.keypath
push 2
call fcn.0044e730
test eax, eax
je 0x44285f
push 7
push str.keypath
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
call fcn.00406610
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x260]
call fcn.004039f0
mov ecx, eax
call fcn.00437da0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2a4]
cmp edx, 0x10
jb 0x4425fb
mov ecx, dword [ebp - 0x2b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4425f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
push 0
push 0x58cdd4
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
call fcn.0041a3d0
cmp eax, 0xffffffff
je 0x442691
nop dword [eax]
push 0
push 0x58cdd4
lea ecx, [ebp - 0x280]
call fcn.0041a3d0
push 1
push 0x58bdf0
push 2
push eax
lea ecx, [ebp - 0x280]
call fcn.0041bc50
lea ecx, [ebp - 0x280]
cmp ecx, eax
je 0x44267a
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x44266b
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x280]
call fcn.00410900
push 0
push 0x58cdd4
lea ecx, [ebp - 0x280]
call fcn.0041a3d0
cmp eax, 0xffffffff
jne 0x442630
cmp dword [ebp - 0x26c], 8
lea edx, [ebp - 0x280]
mov dword [ebp - 0x228], 0
cmovae edx, dword [ebp - 0x280]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4426c7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00410900
xor edx, edx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x238]
call fcn.0040b850
mov byte [ebp - 4], 0xa
mov esi, eax
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x44273a
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442730
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
test esi, esi
jne 0x442806
push 1
push str.General
call fcn.0043b1e0
test eax, eax
je 0x442806
cmp dword [ebp - 0x26c], 8
lea edx, [ebp - 0x280]
mov dword [ebp - 0x228], esi
cmovae edx, dword [ebp - 0x280]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442790
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.00410900
mov edx, 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x238]
call fcn.0040b850
mov byte [ebp - 4], 0xa
mov esi, eax
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x442806
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4427fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
xor ebx, ebx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x26c]
test esi, esi
setne bl
mov dword [ebp - 0x2c4], ebx
cmp edx, 8
jb 0x442857
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44284d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
test esi, esi
jne 0x442b42
push edi
push str.rootkey
push 2
call fcn.0044e730
test eax, eax
je 0x442b42
push edi
push str.keyname
push 2
call fcn.0044e730
test eax, eax
je 0x442b42
push 7
push str.keyname
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.00406610
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x260]
call fcn.004039f0
mov ecx, eax
call fcn.00437da0
cmp dword [eax + 0x14], 8
jb 0x4428e2
mov eax, dword [eax]
push str.UninstallString
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov edx, dword [ebp - 0x2fc]
test eax, eax
sete byte [ebp - 0x2b9]
cmp edx, 8
jb 0x442937
mov ecx, dword [ebp - 0x310]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44292d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 7
mov word [ebp - 0x310], ax
cmp edx, 0x10
jb 0x442992
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442988
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
cmp byte [ebp - 0x2b9], 0
je 0x442b42
push 7
push str.rootkey
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
call fcn.00406610
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x260]
call fcn.004039f0
mov ecx, eax
call fcn.00437da0
mov edi, eax
mov byte [ebp - 4], 0xf
cmp dword [edi + 0x14], 8
jb 0x4429fe
mov edi, dword [edi]
mov eax, dword [ebp - 0x2c0]
mov esi, dword [eax + 0x5e0]
mov ebx, dword [eax + 0x5e4]
cmp esi, ebx
je 0x442a8b
push esi
lea ecx, [ebp - 0x238]
call fcn.00402a30
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov edx, dword [ebp - 0x224]
test eax, eax
je 0x443578
cmp edx, 8
jb 0x442a84
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442a7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
add esi, 0x18
cmp esi, ebx
jne 0x442a14
xor esi, esi
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2fc]
cmp edx, 8
jb 0x442ad1
mov ecx, dword [ebp - 0x310]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x442ac7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x314]
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 7
mov word [ebp - 0x310], ax
cmp edx, 0x10
jb 0x442b2c
mov ecx, dword [ebp - 0x328]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442b22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov ebx, dword [ebp - 0x2c4]
test esi, esi
mov edi, dword [ebp - 0x2e0]
mov eax, 1
cmovne ebx, eax
test ebx, ebx
je 0x44355a
push 4
push str.skip
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.00406610
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2dc]
push 5
push str.Tasks
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
call fcn.00406610
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2b8]
push 6
push str.Config
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
call fcn.00406610
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x12
push eax
push edi
lea eax, [ebp - 0x2dc]
mov ecx, 0x5ba9b8
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov ecx, eax
call fcn.00401ef0
mov ecx, eax
call fcn.004039f0
mov esi, eax
cmp dword [esi + 8], 8
je 0x442c28
mov ecx, esi
call fcn.00405260
mov dword [esi + 8], 8
mov byte [esi], 1
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x2a4]
cmp edx, 0x10
jb 0x442c69
mov ecx, dword [ebp - 0x2b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442c5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
cmp edx, 0x10
jb 0x442cc2
mov ecx, dword [ebp - 0x2dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442cb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
cmp edx, 0x10
jb 0x442d1b
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442d11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
push 7
push str.checked
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.00406610
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2b8]
push 5
push str.Tasks
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
call fcn.00406610
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2dc]
push 6
push str.Config
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
call fcn.00406610
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x17
push eax
push edi
lea eax, [ebp - 0x2b8]
mov ecx, 0x5ba9b8
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov ecx, eax
call fcn.00401ef0
mov ecx, eax
call fcn.004039f0
mov esi, eax
cmp dword [esi + 8], 8
je 0x442df9
mov ecx, esi
call fcn.00405260
mov dword [esi + 8], 8
mov byte [esi], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2c8]
cmp edx, 0x10
jb 0x442e3a
mov ecx, dword [ebp - 0x2dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442e30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
cmp edx, 0x10
jb 0x442e93
mov ecx, dword [ebp - 0x2b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442e89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
cmp edx, 0x10
jb 0x442eec
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x442ee2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
push 8
push str.selected
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.00406610
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2b8]
push 5
push str.Tasks
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
call fcn.00406610
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2dc]
push 6
push str.Config
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
call fcn.00406610
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0x1c
push eax
push edi
lea eax, [ebp - 0x2b8]
mov ecx, 0x5ba9b8
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov ecx, eax
call fcn.00401ef0
mov ecx, eax
call fcn.004039f0
mov esi, eax
cmp dword [esi + 8], 8
je 0x442fca
mov ecx, esi
call fcn.00405260
mov dword [esi + 8], 8
mov byte [esi], 0
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x2c8]
cmp edx, 0x10
jb 0x44300b
mov ecx, dword [ebp - 0x2dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
cmp edx, 0x10
jb 0x443064
mov ecx, dword [ebp - 0x2b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44305a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
cmp edx, 0x10
jb 0x4430bd
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4430b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
push 9
push str.taskidstr
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
call fcn.00406610
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2b8]
push 5
push str.Tasks
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
call fcn.00406610
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x2dc]
push 6
push str.Config
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
call fcn.00406610
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x328]
mov ecx, 0x5ba9b8
push eax
push edi
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov ecx, eax
call fcn.00401ef0
mov ecx, eax
call fcn.004039f0
mov ecx, eax
call fcn.00403d30
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x2c8]
cmp edx, 0x10
jb 0x4431d1
mov ecx, dword [ebp - 0x2dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4431c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x2a4]
cmp edx, 0x10
jb 0x44322a
mov ecx, dword [ebp - 0x2b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443220
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0xf
mov byte [ebp - 0x2b8], 0
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x314]
cmp edx, 0x10
jb 0x443283
mov ecx, dword [ebp - 0x328]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443279
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
cmp dword [ebp - 0x284], 0x10
lea edx, [ebp - 0x298]
mov dword [ebp - 0x318], 0
cmovae edx, dword [ebp - 0x298]
mov ecx, edx
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0xf
mov byte [ebp - 0x310], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4432d2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x310]
call fcn.00406610
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x238]
push 6
push str.Repeat
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
call fcn.00406610
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x250]
push 6
push str.Result
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.00406610
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x2f8]
push 6
push str.Config
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0xf
mov byte [ebp - 0x2f8], 0
call fcn.00406610
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x238]
mov ecx, 0x5ba9b8
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov ecx, eax
call fcn.004039f0
mov esi, eax
cmp dword [esi + 8], 8
je 0x4433d0
mov ecx, esi
call fcn.00405260
mov dword [esi + 8], 8
mov byte [esi], 1
mov byte [ebp - 4], 0x28
mov edx, dword [ebp - 0x2e4]
cmp edx, 0x10
jb 0x443411
mov ecx, dword [ebp - 0x2f8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443407
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0xf
mov byte [ebp - 0x2f8], 0
cmp edx, 0x10
jb 0x44346a
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443460
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 0x26
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
cmp edx, 0x10
jb 0x4434c3
mov ecx, dword [ebp - 0x238]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4434b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0xf
mov byte [ebp - 0x238], 0
cmp edx, 0x10
jb 0x44351c
mov ecx, dword [ebp - 0x310]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443512
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x284]
cmp edx, 0x10
jb 0x44355a
mov ecx, dword [ebp - 0x298]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443550
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x258]
dec eax
cmp eax, 4
ja case.default.0x443571
jmp dword [eax*4 + 0x4439e8]
cmp edx, 8
jb 0x4435b2
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4435a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
mov esi, 1
jmp 0x442a8d
mov ecx, dword [ebp - 0x260]
test ecx, ecx
je case.default.0x443571
push ecx
call fcn.00406f80
inc edi
jmp 0x442215
mov ecx, dword [ebp - 0x260]
test ecx, ecx
je case.default.0x443571
push ecx
call fcn.004071f0
inc edi
jmp 0x442215
mov ecx, dword [ebp - 0x260]
test ecx, ecx
je case.default.0x443571
push ecx
call fcn.004072c0
inc edi
jmp 0x442215
mov ecx, dword [ebp - 0x260]
test ecx, ecx
je case.default.0x443571
push 1
call fcn.00407380
inc edi
jmp 0x442215
mov ecx, dword [ebp - 0x260]
test ecx, ecx
je case.default.0x443571
push ecx
call fcn.004074b0
inc edi
jmp 0x442215
push 9
push str.Option
call fcn.0043b1e0
test eax, eax
je 0x44366c
mov edx, dword [ebp - 0x2c0]
add edx, 0x568
mov eax, edx
cmp dword [edx + 0x14], 8
mov dword [edx + 0x10], 0
jb 0x443658
mov eax, dword [edx]
xor ecx, ecx
mov word [eax], cx
mov ecx, 0x10
call fcn.00413450
jmp 0x443968
mov ebx, dword [ebp - 0x2c0]
cmp dword [ebx + 0x628], 0
je 0x4438c4
mov dword [ebp - 4], 0x2c
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov esi, dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
push 0
push 0
call esi
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481079
add esp, 4
mov ebx, eax
mov dword [ebp - 0x2c4], ebx
push ebx
push edi
call esi
xor eax, eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x240], esi
cdq
xor edi, edi
and edx, 3
mov dword [ebp - 0x32c], 1
add eax, edx
sar eax, 2
mov dword [ebp - 0x2e0], eax
test eax, eax
jle 0x4437c7
mov ecx, ebx
mov ax, word [ebx]
mov word [ebp - 0x18], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ecx + edi*8]
push eax
mov dword [ebp - 0x16], 0x5c003a
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
jne 0x4437af
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x4437af
test edi, edi
jne 0x443762
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443755
jmp 0x44378b
mov ecx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x264]
shrd ecx, eax, 0x14
cmp esi, ecx
jge 0x4437af
lea ecx, [ebp - 0x18]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443780
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00410900
mov eax, dword [ebp - 0x264]
mov esi, dword [ebp - 0x268]
shrd esi, eax, 0x14
mov ecx, dword [ebp - 0x2c4]
inc edi
add ebx, 8
cmp edi, dword [ebp - 0x2e0]
jl 0x443701
mov ebx, ecx
push ebx
call fcn.0041f3e0
add esp, 4
cmp dword [ebp - 0x240], 0
jbe 0x4437eb
push 9
push str.Download_
lea ecx, [ebp - 0x250]
call fcn.00411920
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmovae eax, dword [ebp - 0x250]
push eax
call esi
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push eax
call esi
test eax, eax
jne 0x443874
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push 0
cmovae eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x443874
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x250]
add ecx, 0x568
cmp ecx, eax
je 0x443874
cmp dword [ebp - 0x23c], 8
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
call fcn.00410900
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x23c]
cmp edx, 8
jb 0x443968
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4438b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4439cd
push edx
push ecx
call fcn.00497cc1
add esp, 8
jmp 0x443968
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005219d0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x103
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.Downloads
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x443968
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443946
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x568]
call fcn.00410900
mov ecx, dword [ebp - 0x2c0]
add ecx, 0x568
cmp dword [ecx + 0x14], 8
jb 0x44397c
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44398e
mov eax, 1
jmp 0x4439b1
push 0x10
push 0x58d1e8
push 0x58f898
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x2c0]
push 5
call fcn.004452e0
xor eax, eax
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.00497cb0
mov esp, ebp
pop ebp
ret
call fcn.00524999
nop
sal byte [0x35bc0044], cl
inc esp
add al, ch
xor eax, 0x35fe0044
inc esp
add byte [0xd2004436], dl
xor eax, 0x35bc0044
inc esp
add al, ch
xor eax, 0x35fe0044
inc esp
add byte [0xcc004436], dl
int3