Function at 0x140011447
Capabilities:
Get system information on windows
Parse pe header

Disassembly:
jmp 0x1400147d0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x408
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x428]
mov rax, qword [0x140022040]
xor rax, rbp
mov qword [rbp + 0x3c8], rax
lea rcx, [0x140028174]
call fcn.1400114bf
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x1b8], 0
mov edx, 0x40
mov rcx, qword [rbp + 0x3f8]
call fcn.1400126d0
test eax, eax
jne 0x140014863
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001488f
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
add rax, 0x108
mov rdx, rax
mov rcx, qword [rbp + 0x3f8]
call fcn.1400126d0
test eax, eax
jne 0x1400148b7
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x3f0]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp dword [rax], 0x4550
je 0x1400148ef
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 4]
cmp eax, 0x8664
je 0x140014911
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x38]
and eax, 1
test eax, eax
je 0x140014932
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x48]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x38]
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x134], 0
jmp 0x140014984
mov eax, dword [rbp + 0x134]
inc eax
mov dword [rbp + 0x134], eax
mov rax, qword [rbp + 0x118]
add rax, 0x28
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x134], eax
jae 0x1400149fb
mov rax, qword [rbp + 0x118]
cmp dword [rax + 0x10], 0
jne 0x1400149bb
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0xc]
add rax, qword [rbp + 0x158]
mov qword [rbp + 0x1d8], rax
jmp 0x1400149d8
mov rax, qword [rbp + 0x118]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x118]
add eax, dword [rcx + 0x10]
mov eax, eax
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x178]
cmp qword [rbp + 0x1d8], rax
jbe 0x1400149f6
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x178], rax
jmp 0x140014964
lea rcx, [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop
mov eax, dword [rbp + 0xcc]
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx + 0x50]
mov edx, eax
call fcn.140012200
mov qword [rbp + 0x198], rax
mov eax, dword [rbp + 0xcc]
mov edx, eax
mov rcx, qword [rbp + 0x178]
call fcn.140012200
cmp qword [rbp + 0x198], rax
je 0x140014a54
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x428]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rbp + 0x198]
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x30]
call qword [rbp + 0x400]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140014ad1
mov rax, qword [rbp + 0x428]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rbp + 0x198]
xor ecx, ecx
call qword [rbp + 0x400]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140014ad1
mov ecx, recv
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x68]
shr rax, 0x20
mov rcx, qword [rbp + 0x198]
mov rdx, qword [rbp + 0x68]
add rdx, rcx
mov rcx, rdx
shr rcx, 0x20
cmp rax, rcx
jae 0x140014bee
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x1f8], rax
cmp qword [rbp + 0x1f8], 0
jne 0x140014b5b
mov r9, qword [rbp + 0x428]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [rbp + 0x408]
nop
mov r8, qword [rbp + 0x428]
mov rdx, qword [rbp + 0x408]
mov rcx, qword [rbp + 0x1b8]
call fcn.140013190
nop
mov ecx, recv
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x1b8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x68]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x428]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rbp + 0x198]
xor ecx, ecx
call qword [rbp + 0x400]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140014be9
mov r8, qword [rbp + 0x428]
mov rdx, qword [rbp + 0x408]
mov rcx, qword [rbp + 0x1b8]
call fcn.140013190
nop
mov ecx, recv
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
jmp 0x140014ad1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x78
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140014c5b
mov r9, qword [rbp + 0x428]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [rbp + 0x408]
nop
mov r8, qword [rbp + 0x428]
mov rdx, qword [rbp + 0x408]
mov rcx, qword [rbp + 0x1b8]
call fcn.140013190
nop
mov ecx, recv
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140014f15
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x68]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x48]
movzx eax, word [rax + 0x16]
and eax, 0x2000
test eax, eax
je 0x140014c84
mov dword [rbp + 0x3c4], 1
jmp 0x140014c8e
mov dword [rbp + 0x3c4], 0
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0x3c4]
mov dword [rax + 0x20], ecx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x400]
mov qword [rax + 0x28], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x408]
mov qword [rax + 0x30], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x410]
mov qword [rax + 0x38], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x418]
mov qword [rax + 0x40], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x420]
mov qword [rax + 0x48], rcx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x428]
mov qword [rax + 0x58], rcx
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0xcc]
mov dword [rax + 0x68], ecx
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x1b8]
mov qword [rax + 0x70], rcx
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x54]
mov edx, eax
mov rcx, qword [rbp + 0x3f8]
call fcn.1400126d0
test eax, eax
jne 0x140014d34
jmp 0x140014f09
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x54]
mov rcx, qword [rbp + 0x428]
mov qword [rsp + 0x20], rcx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
mov rcx, qword [rbp + 0x68]
call qword [rbp + 0x400]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x54]
mov r8d, eax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x88]
call fcn.140011244
nop
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 8]
mov qword [rcx], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
mov qword [rax + 0x30], rcx
mov r9, qword [rbp + 8]
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x3f8]
mov rcx, qword [rbp + 0x3f0]
call fcn.140012740
test eax, eax
jne 0x140014dd5
jmp 0x140014f09
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rax + 0x30]
sub rax, rcx
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x140014e15
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 8]
call fcn.140013390
mov rcx, qword [rbp + 8]
mov dword [rcx + 0x24], eax
jmp 0x140014e20
mov rax, qword [rbp + 8]
mov dword [rax + 0x24], 1
mov rcx, qword [rbp + 8]
call fcn.140012270
test eax, eax
jne 0x140014e37
jmp 0x140014f09
mov rcx, qword [rbp + 8]
call fcn.140012e40
test eax, eax
jne 0x140014e4e
jmp 0x140014f09
mov rcx, qword [rbp + 8]
call fcn.140012a30
test eax, eax
jne 0x140014e65
jmp 0x140014f09
mov rax, qword [rbp + 8]
mov rax, qword [rax]
cmp dword [rax + 0x28], 0
je 0x140014ef7
mov rax, qword [rbp + 8]
cmp dword [rax + 0x20], 0
je 0x140014ed9
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x218], rax
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x68]
call qword [rbp + 0x218]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
jne 0x140014ecc
mov ecx, 0x45a
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x140014f09
mov rax, qword [rbp + 8]
mov dword [rax + 0x1c], 1
jmp 0x140014ef5
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov eax, dword [rax + 0x28]
mov rcx, qword [rbp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 8]
mov qword [rcx + 0x60], rax
jmp 0x140014f03
mov rax, qword [rbp + 8]
mov qword [rax + 0x60], 0
mov rax, qword [rbp + 8]
jmp 0x140014f15
mov rcx, qword [rbp + 8]
call fcn.140011442
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ee10]
call fcn.140011401
mov rax, rdi
mov rcx, qword [rbp + 0x3c8]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x3d8]
pop rdi
pop rbp
ret