Function at 0x5a0f08
Capabilities:
Access peb ldr_data
Delete file
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x5a0f11
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
mov eax, dword [ebp - 8]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x5a127c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5a121f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x5a0f6b
lea ecx, [ebp - 0xc]
mov edx, 0x5a1298
mov eax, dword [ebp - 4]
call fcn.005a0a10
jmp 0x5a0f95
lea ecx, [ebp - 0x2c]
mov edx, 0xd3
mov eax, ebx
call fcn.0056b6c4
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.0040812c
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xc]
mov edx, 0x5a1298
call fcn.005a0a10
mov eax, dword [ebp + 8]
mov edx, 0x5a12a8
call fcn.00407eb4
mov dl, 1
mov eax, dword [0x462e44]
call fcn.0046c89c
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
mov edx, 0xcb
mov eax, ebx
call fcn.0056b200
mov eax, dword [ebp - 0x30]
call fcn.0057dcb0
test al, al
je 0x5a108e
lea eax, [ebp - 0x10]
call fcn.0040b140
push eax
push 0x5a12bc
lea ecx, [ebp - 0x34]
mov edx, 0xcb
mov eax, ebx
call fcn.0056b200
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [eax]
call dword [eax]
cmp dword [ebp - 0x10], 0
je 0x5a108e
xor eax, eax
push ebp
push 0x5a1087
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebx + 0x48]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0043e3fc
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0046d1bc
call fcn.00467584
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push 1
push 8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a108e
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 8]
ret
xor esi, esi
xor edi, edi
mov dl, 1
mov eax, dword [0x462e44]
call fcn.0046c89c
mov ebx, eax
mov eax, edi
sub eax, esi
test eax, eax
jg 0x5a10bb
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x5a10c6
mov edx, edi
sub edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
sub edi, esi
test edi, edi
jg 0x5a111c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0046d1bc
call fcn.00467584
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, ebx
call fcn.0046d1bc
call fcn.00467584
push eax
call sub.gdi32.dll_BitBlt
jmp 0x5a1158
push 0xcc0020
push 0
push esi
mov eax, dword [ebp - 0x14]
call fcn.0046d1bc
call fcn.00467584
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, ebx
call fcn.0046d1bc
call fcn.00467584
push eax
call sub.gdi32.dll_BitBlt
mov dl, 1
mov eax, dword [0x5500f8]
call fcn.00550954
mov esi, eax
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [esi + 0x3f], 0x64
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x5a12d8
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040847c
mov edx, dword [ebp - 0x38]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, esi
call fcn.004059f4
mov eax, dword [ebp - 0x14]
call fcn.004059f4
mov eax, ebx
call fcn.004059f4
xor eax, eax
push ebp
push 0x5a11fb
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x5a12f0
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.0040847c
mov eax, dword [ebp - 0x40]
call fcn.00407f40
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00408070
mov eax, dword [ebp - 0x3c]
call fcn.00407f40
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a1205
mov eax, dword [ebp + 8]
mov ecx, 0x5a12d8
mov edx, dword [ebp - 0xc]
call fcn.00408398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a1229
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a1283
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00407eac
lea eax, [ebp - 0x34]
mov edx, dword [0x401cd4]
mov ecx, 2
call fcn.00408df0
lea eax, [ebp - 0x2c]
call fcn.0040789c
lea eax, [ebp - 0x28]
call fcn.00407ea4
lea eax, [ebp - 0x10]
call fcn.0040b140
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407eac
ret