Function at 0x140003250
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000328b
xor eax, eax
jmp 0x140003676
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x4550
je 0x1400032bb
xor eax, eax
jmp 0x140003676
cmp qword [0x1400233f0], 0
jbe 0x1400033b6
mov rax, qword [rsp + 0xd0]
cmp qword [0x14002f408], rax
jne 0x1400033b6
lea rax, [0x1400233f8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0xd8], 0
je 0x140003317
mov rax, qword [rsp + 0xd8]
add rax, 2
mov rcx, rax
call fcn.140003bc0
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x24], 0
jmp 0x14000332b
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cmp rax, qword [0x1400233f0]
jae 0x1400033b6
cmp qword [rsp + 0xe0], 0
jbe 0x140003376
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x20]
cmp qword [rsp + 0xe0], rax
jne 0x140003376
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x18]
jmp 0x140003676
cmp qword [rsp + 0xd8], 0
je 0x1400033b1
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x20]
cmp qword [rsp + 0x70], rax
jne 0x1400033b1
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax + 0x18]
jmp 0x140003676
jmp 0x140003321
cmp qword [0x140029400], 0
jbe 0x140003446
cmp qword [rsp + 0xd8], 0
je 0x140003446
lea rax, [0x140029408]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xd8]
call fcn.140003bc0
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], 0
jmp 0x140003404
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp rax, qword [0x140029400]
jae 0x140003446
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx + rax + 0x20]
cmp qword [rsp + 0x80], rax
jne 0x140003444
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx + rax + 0x18]
jmp 0x140003676
jmp 0x1400033fa
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x8c]
mov rcx, qword gs:[0x30]
mov rcx, qword [rcx + 0x60]
mov r8d, eax
mov edx, 8
mov rcx, qword [rcx + 0x30]
call fcn.140003b40
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000348d
xor eax, eax
jmp 0x140003676
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax + 0x8c]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x140003594
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
cmp eax, dword [rcx + 0x18]
jae 0x140003674
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0xe0], 0
jbe 0x140003646
mov rax, qword [rsp + 0x58]
add rax, 2
mov rcx, rax
call fcn.140003bc0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0xa0], rax
jne 0x140003646
mov rax, qword [rsp + 0x60]
jmp 0x140003676
cmp qword [rsp + 0xd8], 0
je 0x14000366f
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x14000366f
mov rax, qword [rsp + 0x60]
jmp 0x140003676
jmp 0x140003587
xor eax, eax
add rsp, 0xb8
pop rdi
pop rsi
ret