Function at 0x570dc0
Capabilities:
Get common file path
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x570dc9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
call fcn.004044a4
xor eax, eax
push ebp
push 0x571520
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
mov edx, 0x57153c
call fcn.00404400
sete byte [ebp - 0x35]
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x4c], edx
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x48], 1
mov dl, 1
mov eax, dword [0x411c80]
call fcn.004032d8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x59], 0
je 0x570e3b
mov dl, 1
mov eax, dword [0x411c80]
call fcn.004032d8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
call fcn.004144dc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x570e7f
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0
push ebp
lea ecx, [ebp - 0x148]
mov edx, dword [ebp - 0x30]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x148]
call fcn.00570a18
pop ecx
inc dword [ebp - 0x30]
dec dword [ebp - 0x44]
jne 0x570e5a
mov eax, dword [ebp - 0x28]
call fcn.00414598
mov byte [ebp - 0x29], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x49], 1
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x62], 0
je 0x570eb3
push 0
mov eax, dword [ebp - 0xc]
add eax, 0x49
push eax
mov ebx, dword [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x571002
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14c]
call fcn.0040a6e8
test al, al
je 0x570ff6
xor eax, eax
push ebp
push 0x570fef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
lea ecx, [ebp - 0x150]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x150]
mov dl, 1
mov eax, dword [0x411e54]
call fcn.00415994
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00415728
mov edx, dword [ebp - 0xc]
add dword [edx + 0x38], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x59], 0
je 0x570fd9
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x158]
push 0x57154c
lea ecx, [ebp - 0x160]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x160]
call fcn.0040a680
lea edx, [ebp - 0x15c]
call fcn.0040a470
push dword [ebp - 0x15c]
push 0x571558
mov eax, dword [ebp - 0x14]
call fcn.00415728
lea edx, [ebp - 0x164]
call fcn.0040a470
push dword [ebp - 0x164]
lea eax, [ebp - 0x154]
mov edx, 5
call fcn.004043b0
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x570ff6
mov eax, dword [ebp - 0x14]
call fcn.00403308
ret
inc dword [ebp - 0x30]
dec dword [ebp - 0x44]
jne 0x570edf
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x59], 0
je 0x5710ba
xor eax, eax
push ebp
push 0x57109f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x144]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x144]
push eax
push 0
push 0x57155c
lea eax, [ebp - 0x144]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x144]
call fcn.0040b080
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x54]
lea edx, [ebp - 0x168]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x168]
call fcn.004042f0
mov edx, dword [ebp - 0xc]
add dword [edx + 0x38], eax
mov eax, dword [ebp - 0x3c]
call fcn.00403308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5710ba
xor eax, eax
push ebp
push 0x57119e
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x16], 1
cmp byte [ebp - 0x35], 0
je 0x5710df
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x54]
mov dword [ebp - 8], eax
jmp 0x571102
push 0xffff
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x411e54]
call fcn.00415994
mov dword [ebp - 8], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x59], 0
je 0x571128
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.004042f0
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.00415798
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
call fcn.004044b4
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00415798
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0x38]
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.00415798
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0x30]
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.00415798
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0x40], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5711b9
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x571401
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x16c]
call fcn.0040a6e8
test al, al
je 0x5713f5
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x49], 0
je 0x5713f5
xor eax, eax
push ebp
push 0x5713ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x59], 0
je 0x571235
cmp dword [ebp - 0x30], 0
jne 0x571235
mov eax, dword [ebp - 0xc]
add eax, 0x44
mov edx, 0x571568
call fcn.004040c4
jmp 0x571268
lea ecx, [ebp - 0x174]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.0040a1bc
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0xc]
add eax, 0x44
call fcn.004040c4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x44]
call fcn.004042f0
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.00415798
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x44]
call fcn.004044b4
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00415798
lea ecx, [ebp - 0x17c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.0040a1bc
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
add eax, 0x44
call fcn.004040c4
xor eax, eax
push ebp
push 0x571367
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x44]
mov dl, 1
mov eax, dword [0x411e54]
call fcn.00415994
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
call fcn.0040a6f8
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x34]
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.00415798
mov eax, dword [ebp - 0x14]
call fcn.00415728
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x49], 0
je 0x57133e
push ebp
call fcn.0057048c
pop ecx
cmp dword [ebp - 0x10], 0
jle 0x57133e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x49], 0
jne 0x571328
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x40]
call fcn.00404400
jne 0x571357
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x59], 0
jne 0x57135d
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x571382
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x49], 0
jne 0x571392
call fcn.00403b40
jmp 0x571401
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5713f5
mov eax, dword [ebp - 0x14]
call fcn.00403308
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x2f], 0
je 0x5713ed
lea ecx, [ebp - 0x180]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x180]
call fcn.0040a7a0
sub eax, 0x20
push eax
lea ecx, [ebp - 0x184]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x184]
pop edx
call fcn.0040a7b4
ret
inc dword [ebp - 0x30]
dec dword [ebp - 0x44]
jne 0x5711d5
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x49], 0
je 0x571456
xor eax, eax
push ebp
push 0x57143b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
mov ecx, 4
mov eax, dword [ebp - 8]
call fcn.00415798
mov byte [ebp - 0x29], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x571456
xor eax, eax
push ebp
push 0x571484
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x28]
call fcn.00403308
cmp byte [ebp - 0x35], 0
jne 0x57147a
mov eax, dword [ebp - 8]
call fcn.00403308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57148e
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x59], 0
je 0x5714b1
cmp dword [ebp - 0x40], 0
je 0x5714b1
mov eax, dword [ebp - 0x40]
call fcn.0040a6e8
test al, al
je 0x5714b1
mov eax, dword [ebp - 0x40]
call fcn.0040a8d0
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x62], 0
je 0x5714d2
push 0x64
mov eax, dword [ebp - 0xc]
add eax, 0x49
push eax
mov ebx, dword [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x5714ed
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00571574
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x571527
lea eax, [ebp - 0x184]
mov edx, 0x10
call fcn.00404094
lea eax, [ebp - 0x40]
call fcn.00404070
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404094
ret