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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x49de04
push ebx
push esi
push edi
test dl, dl
je 0x49de1a
add esp, 0xfffffff0
call fcn.00403720
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e290
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x118]
mov eax, 2
call fcn.00409464
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
add eax, 0x188
call fcn.00404304
lea edx, [ebp - 0x11c]
mov eax, 3
call fcn.00409464
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 4]
add eax, 0x18c
call fcn.00404304
mov eax, dword [ebp - 4]
mov dword [eax + 0x40], 3
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x31], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x32], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x33], 0
xor eax, eax
push ebp
push 0x49e25e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x49d564]
call fcn.0049db68
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
lea edx, [ebp - 0x120]
mov eax, dword [0x49b0dc]
call fcn.0049c134
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00404304
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, 0x49e2c4
call fcn.004046bc
jne 0x49df0b
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e272
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x49df2b
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e272
lea edx, [ebp - 0x124]
mov eax, dword [0x49b0dc]
call fcn.0049c2b8
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00404304
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, 0x49e2c4
call fcn.004046bc
jne 0x49df75
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e272
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x49df95
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e272
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
cmp byte [eax + 0x10], 0
jne 0x49e055
push 0x104
mov eax, dword [ebp - 4]
add eax, 0x80
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 4]
add edx, 0x80
mov ecx, 0x105
call fcn.00404520
mov eax, dword [ebp - 0x12c]
mov ecx, 3
xor edx, edx
call fcn.004047d0
mov edx, dword [ebp - 0x128]
mov eax, dword [0x49b0dc]
call fcn.0049baa4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7c], 0
jne 0x49e017
cmp dword [eax + 0x78], 0x258
jae 0x49e030
jmp 0x49e019
jge 0x49e030
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e272
mov eax, dword [0x49b0dc]
call fcn.0049b944
test al, al
je 0x49e055
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e272
mov eax, dword [0x49b0dc]
call fcn.0049ba04
test al, al
jne 0x49e07a
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e272
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 2
jge 0x49e254
lea edx, [ebp - 0x130]
mov eax, 1
call fcn.00409464
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00404304
lea edx, [ebp - 0x134]
mov eax, 2
call fcn.00409464
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 4]
add eax, 0x188
call fcn.00404304
lea edx, [ebp - 0x138]
mov eax, 3
call fcn.00409464
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 4]
add eax, 0x18c
call fcn.00404304
lea eax, [ebp - 0xc]
push eax
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x111]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x111]
call fcn.00409b1c
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 4]
add eax, 0x28
mov ecx, 0x49e2d4
call fcn.004045bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.0040960c
test al, al
jne 0x49e164
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.00404770
mov edx, eax
lea eax, [ebp - 0x140]
call fcn.004044a8
mov eax, dword [ebp - 0x140]
call fcn.00409630
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x60
mov ecx, 0x49e2e8
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x64
mov ecx, 0x49e30c
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x68
mov ecx, 0x49e330
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x6c
mov ecx, 0x49e348
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x70
mov ecx, 0x49e378
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0xc
mov ecx, 0x49e390
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x18
mov ecx, 0x49e3a8
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x1c
mov ecx, 0x49e3c8
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x20
mov ecx, 0x49e3e8
call fcn.004045bc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x24
mov ecx, 0x49e404
call fcn.004045bc
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], 0x1c
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0xbb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49e272
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e297
lea eax, [ebp - 0x140]
mov edx, 0xb
call fcn.004042d4
ret