Function at 0x40f730
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 0x5b46ea
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x630490]
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.0044e060
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 0x6016e5
mov word [ebx + 0x60], ax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.00404be0
xor eax, eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x10]
jge 0x40f8db
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.004082b0
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x14]
push eax
call fcn.00414f70
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 0x40f8a0
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x20]
jge 0x40f92b
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.004082b0
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x24]
push eax
call fcn.00414f70
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 0x40f8f0
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x30]
jge 0x40f97b
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.004082b0
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x34]
push eax
call fcn.00414f70
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 0x40f940
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x40]
jge 0x40f9cb
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.004082b0
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x44]
push eax
call fcn.00414f70
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 0x40f990
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x50]
jge 0x40fa1b
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.004082b0
add esp, 0xc
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x54]
push eax
call fcn.00414f70
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 0x40f9e0
xor eax, eax
mov dword [ebp - 0x50], 0
cmp ax, word [ebx + 0x60]
jge 0x40fb1e
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.00577e4c
inc esi
add esp, 0x10
add edi, 2
cmp esi, 8
jl 0x40fa45
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 0x40fa84
xor eax, eax
jmp 0x40fa99
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fa90
sub eax, edx
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.00404be0
cmp dword [ebp - 0x34], 0x10
jb 0x40fab7
push dword [ebp - 0x48]
call fcn.0044f658
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 0x40faed
mov eax, dword [ebp - 0x58]
inc eax
je 0x40faf3
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00577740
mov ecx, dword [ebp - 0x54]
add esp, 0xc
jmp 0x40faf3
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.00414f70
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 0x40fa31
cmp dword [ebp - 0x34], 0x10
jb 0x40fb2f
push dword [ebp - 0x48]
call fcn.0044f658
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.00577543
mov esp, ebp
pop ebp
ret 4