Function at 0x407ac0
Capabilities:
Enumerate files on windows
Get number of processors
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x416e5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x444
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], al
call fcn.00401d10
mov edi, str.GetInfFile____key:__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.GetInfFile____key:__
lea ecx, [esp + 0x24]
call fcn.00402330
mov edx, dword [esp + 0x464]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x45c], ebx
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0040e4f0
mov edi, str.____dir:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.____dir:
lea ecx, [esp + 0x24]
call fcn.0040e4f0
mov ebp, dword [esp + 0x468]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x24]
call fcn.0040e4f0
mov edi, 0x41b2a0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41b2a0
lea ecx, [esp + 0x24]
call fcn.0040e4f0
mov cl, byte [esp + 0x1c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x40], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00401d10
mov edx, dword [0x418218]
lea eax, [esp + 0x2c]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00401b10
call fcn.00405060
add esp, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x45c], 0xffffffff
push 1
call fcn.00401d10
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], bl
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x46c]
push str.Windows_Millenium
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
call fcn.0040f5c7
add esp, 8
test eax, eax
je 0x407c26
push str.Windows_98
push ebx
call fcn.0040f5c7
add esp, 8
test eax, eax
jne 0x407c4f
mov edi, str._Chicago_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.Windows_Whistler
push ebx
call fcn.0040f5c7
add esp, 8
test eax, eax
je 0x407c73
push str.Windows_2000
push ebx
call fcn.0040f5c7
add esp, 8
test eax, eax
jne 0x407c9c
mov edi, str._Windows_NT_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x13]
xor ebx, ebx
mov byte [esp + 0x54], cl
push ebx
lea ecx, [esp + 0x58]
call fcn.00401d10
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x5c]
call fcn.00402330
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x45c], 1
lea esi, [eax - 1]
cmp eax, esi
jb 0x407cf4
cmp dword [esp + 0x58], ebx
je 0x407cf4
lea ecx, [esp + 0x54]
call fcn.0040e270
mov edx, dword [esp + 0x58]
add esi, edx
jmp 0x407cf9
mov esi, 0x41821c
cmp byte [esi], 0x5c
je 0x407d1c
mov edi, 0x41b1cc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41b1cc
lea ecx, [esp + 0x5c]
call fcn.0040e4f0
lea eax, [esp + 0x54]
push str..inf
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.0040e650
add esp, 0xc
mov eax, dword [esp + 0x78]
mov byte [esp + 0x45c], 2
cmp eax, ebx
jne 0x407d48
mov eax, 0x41821c
lea edx, [esp + 0x120]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
je 0x408233
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, ebx
jne 0x408233
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.00401d10
mov edi, str.processing:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.processing:
lea ecx, [esp + 0x24]
call fcn.00402330
lea edi, [esp + 0x14c]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x45c], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x150]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040e4f0
mov edi, 0x41b2a0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x41b2a0
lea ecx, [esp + 0x24]
call fcn.0040e4f0
mov dl, byte [esp + 0x1c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00401d10
mov eax, dword [0x418218]
lea ecx, [esp + 0x2c]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00401b10
call fcn.00405060
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x45c], 2
push 1
call fcn.00401d10
lea edx, [esp + 0x14c]
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.0040e650
mov dl, byte [esp + 0x40]
push ecx
mov esi, esp
mov dword [esp + 0x24], esp
push ebx
mov ecx, esi
mov byte [esp + 0x470], 4
mov byte [esi], dl
call fcn.00401d10
mov eax, dword [0x418218]
lea ecx, [esp + 0x44]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00401b10
call fcn.0040d4c0
add esp, 0x10
cmp eax, ebx
je 0x407e8f
mov dword [esp + 0x2c], 1
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xbd]
mov byte [esp + 0xbc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x407eb7
mov eax, 0x41821c
push eax
lea edx, [esp + 0xc0]
push 0x64
push edx
push 0x41e9d0
push str.Signature
push str.Version
call ebp
lea eax, [esp + 0x84]
lea ecx, [esp + 0xbc]
push eax
push ecx
call fcn.0040f5c7
add esp, 8
test eax, eax
jne 0x408173
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x407f00
mov eax, 0x41821c
push eax
lea edx, [esp + 0xc0]
push 0x64
push edx
push str.Manufacturer
push ebx
push str.Manufacturer
call ebp
lea eax, [esp + 0xbc]
mov dword [esp + 0x14], ebx
test eax, eax
lea ebp, [esp + 0xbc]
je 0x4081af
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jne 0x407ff4
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x407f4b
mov eax, 0x41821c
push eax
lea ecx, [esp + 0x264]
push 0x1f4
push ecx
push 0x41e9d0
push ebp
push str.Manufacturer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x260]
push 0x41b75c
push edx
call fcn.0040f750
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x407fd0
mov edi, dword [esp + 0x14]
cmp edi, ebx
jne 0x407fcc
push str.Intel
push esi
call fcn.0040f5c7
add esp, 8
test eax, eax
je 0x407fc3
push str.INTEL
push esi
call fcn.0040f5c7
add esp, 8
test eax, eax
je 0x407fc3
push 0x41b75c
push ebx
call fcn.0040f750
add esp, 8
mov esi, eax
jmp 0x407fc8
mov edi, 1
cmp esi, ebx
jne 0x407f89
mov dword [esp + 0x14], edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebp, [ecx + ebp + 1]
cmp ebp, ebx
jne 0x407f34
cmp dword [esp + 0x14], ebx
je 0x4081af
xor ebx, ebx
mov ecx, dword [esp + 0x58]
cmp ecx, ebx
jne 0x408001
mov ecx, 0x41821c
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x40800e
mov eax, 0x41821c
push ecx
push eax
call fcn.004077a0
mov al, byte [esp + 0x1b]
mov dword [esp + 0x50], ebx
mov byte [esp + 0x4c], al
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x464], 5
push ecx
call fcn.00405cf0
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp ebp, eax
mov esi, 1
jae 0x408134
xor ebx, ebx
cmp esi, ebx
je 0x408134
mov dl, byte [ebp]
push ebx
lea ecx, [esp + 0x68]
mov byte [esp + 0x68], dl
call fcn.00401d10
mov eax, dword [0x418218]
lea ecx, [esp + 0x64]
push eax
push ebx
push ebp
call fcn.00401b10
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x45c], 6
cmp ecx, ebx
jne 0x408094
mov ecx, 0x41821c
mov eax, dword [esp + 0x68]
cmp eax, ebx
jne 0x4080a1
mov eax, 0x41821c
push ecx
mov ecx, dword [esp + 0x468]
push eax
push ecx
call fcn.00406f40
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x4080ec
mov edi, dword [esp + 0x38]
cmp edi, ebx
jne 0x4080c8
mov edi, 0x41821c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x470]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov eax, dword [esp + 0x68]
mov byte [esp + 0x45c], 5
cmp eax, ebx
je 0x408119
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x408110
cmp al, 0xff
je 0x408110
dec al
mov byte [ecx], al
jmp 0x408119
push ecx
call fcn.0040e98e
add esp, 4
mov eax, dword [esp + 0x4c]
add ebp, 0x10
cmp ebp, eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
jb 0x408055
mov esi, dword [esp + 0x48]
mov byte [esp + 0x45c], 4
cmp esi, eax
mov edi, eax
je 0x408156
push 1
mov ecx, esi
call fcn.00401d10
add esi, 0x10
cmp esi, edi
jne 0x408146
mov eax, dword [esp + 0x48]
push eax
call fcn.0040e98e
add esp, 4
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
jmp 0x4081af
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, str.signature_section_match_for_this_OS_not_found_n
xor eax, eax
mov dword [esp + 0x24], esp
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.signature_section_match_for_this_OS_not_found_n
mov ecx, edx
call fcn.00402330
call fcn.00405060
add esp, 0x10
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
je 0x4081bd
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x120]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov ecx, dword [esp + 0x38]
cmp eax, esi
mov byte [esp + 0x45c], 2
je 0x408213
cmp ecx, esi
je 0x408200
mov al, byte [ecx - 1]
test al, al
je 0x4081f6
cmp al, 0xff
je 0x4081f6
dec al
mov byte [ecx - 1], al
jmp 0x408200
dec ecx
push ecx
call fcn.0040e98e
add esp, 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
xor ebx, ebx
jmp 0x407d64
cmp ecx, esi
je 0x408233
mov al, byte [ecx - 1]
test al, al
je 0x408229
cmp al, 0xff
je 0x408229
dec al
mov byte [ecx - 1], al
jmp 0x408233
dec ecx
push ecx
call fcn.0040e98e
add esp, 4
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
xor esi, esi
mov edi, str.done_processing_infs_in_this_directory_n
xor eax, eax
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x40], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00402510
test al, al
je 0x40828f
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.done_processing_infs_in_this_directory_n
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004024f0
xor esi, esi
call fcn.00405060
mov ecx, dword [esp + 0x88]
add esp, 0x10
cmp ecx, esi
je 0x4082be
mov al, byte [ecx - 1]
test al, al
je 0x4082b4
cmp al, 0xff
je 0x4082b4
dec al
mov byte [ecx - 1], al
jmp 0x4082be
dec ecx
push ecx
call fcn.0040e98e
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x78], esi
cmp ecx, esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
je 0x4082f1
mov al, byte [ecx - 1]
test al, al
je 0x4082e7
cmp al, 0xff
je 0x4082e7
dec al
mov byte [ecx - 1], al
jmp 0x4082f1
dec ecx
push ecx
call fcn.0040e98e
add esp, 4
mov ecx, dword [esp + 0x454]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x450
ret