Function at 0x40f480
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad31a
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x627490]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], ebx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov byte [ebp - 4], 5
lea ecx, [edi + 6]
mov edx, dword [edi]
mov dword [ebx], edx
movzx eax, byte [edi + 4]
mov byte [ebx + 4], al
movzx eax, byte [edi + 5]
mov byte [ebx + 5], al
lea eax, [edx + 0x330acf3]
push eax
add edx, 0xfffffffe
call fcn.00447110
movzx eax, byte [edi + 6]
lea ecx, [ebp - 0x48]
mov byte [ebx + 6], al
add esp, 4
mov eax, dword [edi + 7]
mov esi, 0x1a
mov dword [ebx + 8], eax
movzx eax, byte [edi + 0xb]
mov byte [ebx + 0xc], al
movzx eax, byte [edi + 0xc]
mov byte [ebx + 0xd], al
movzx eax, byte [edi + 0xd]
mov byte [ebx + 0xe], al
movzx eax, word [edi + 0xe]
mov word [ebx + 0x10], ax
movzx eax, word [edi + 0x10]
mov word [ebx + 0x20], ax
movzx eax, word [edi + 0x12]
mov word [ebx + 0x30], ax
movzx eax, word [edi + 0x14]
mov word [ebx + 0x40], ax
movzx eax, word [edi + 0x16]
mov word [ebx + 0x50], ax
movzx eax, word [edi + 0x18]
push 0
push 0x5f96b5
mov word [ebx + 0x60], ax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00404ba0
xor eax, eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x10]
jge 0x40f62b
mov edi, edi
mov al, byte [edi + esi]
mov ecx, edi
movzx eax, al
inc esi
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408230
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x14]
push eax
call fcn.00414cb0
mov ecx, dword [ebp - 0x50]
movsx eax, word [ebx + 0x10]
inc ecx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
cmp ecx, eax
jl 0x40f5f0
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x20]
jge 0x40f67b
lea ebx, [ebx]
mov al, byte [edi + esi]
mov ecx, edi
movzx eax, al
inc esi
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408230
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x24]
push eax
call fcn.00414cb0
mov ecx, dword [ebp - 0x50]
movsx eax, word [ebx + 0x20]
inc ecx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
cmp ecx, eax
jl 0x40f640
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x30]
jge 0x40f6cb
lea ebx, [ebx]
mov al, byte [edi + esi]
mov ecx, edi
movzx eax, al
inc esi
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408230
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x34]
push eax
call fcn.00414cb0
mov ecx, dword [ebp - 0x50]
movsx eax, word [ebx + 0x30]
inc ecx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
cmp ecx, eax
jl 0x40f690
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x40]
jge 0x40f71b
lea ebx, [ebx]
mov al, byte [edi + esi]
mov ecx, edi
movzx eax, al
inc esi
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408230
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x44]
push eax
call fcn.00414cb0
mov ecx, dword [ebp - 0x50]
movsx eax, word [ebx + 0x40]
inc ecx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
cmp ecx, eax
jl 0x40f6e0
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x50]
jge 0x40f76b
lea ebx, [ebx]
mov al, byte [edi + esi]
mov ecx, edi
movzx eax, al
inc esi
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], esi
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408230
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x54]
push eax
call fcn.00414cb0
mov ecx, dword [ebp - 0x50]
movsx eax, word [ebx + 0x50]
inc ecx
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
cmp ecx, eax
jl 0x40f730
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x60]
jge 0x40f86e
lea eax, [edi + esi]
movq xmm0, qword [eax]
lea edi, [ebp - 0x28]
add eax, 8
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x4c], eax
xor esi, esi
movzx eax, byte [ebp + esi - 0x30]
push eax
push str._02x
push 3
push edi
call fcn.00570efc
inc esi
add esp, 0x10
add edi, 2
cmp esi, 8
jl 0x40f795
cmp byte [ebp - 0x28], 0
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
jne 0x40f7d4
xor eax, eax
jmp 0x40f7e9
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f7e0
sub eax, edx
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.00404ba0
cmp dword [ebp - 0x34], 0x10
jb 0x40f807
push dword [ebp - 0x48]
call fcn.00448708
add esp, 4
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp ecx, 0x10
jae 0x40f83d
mov eax, dword [ebp - 0x58]
inc eax
je 0x40f843
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.005707f0
mov ecx, dword [ebp - 0x54]
add esp, 0xc
jmp 0x40f843
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x34], ecx
lea ecx, [ebx + 0x64]
push eax
call fcn.00414cb0
mov ecx, dword [ebp - 0x50]
movsx eax, word [ebx + 0x60]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x4c]
jl 0x40f781
cmp dword [ebp - 0x34], 0x10
jb 0x40f87f
push dword [ebp - 0x48]
call fcn.00448708
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005705f2
mov esp, ebp
pop ebp
ret 4