Function at 0x18018aba0
Capabilities:
Get system firmware table

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r14, rcx
mov qword [rax - 0x30], rcx
mov qword [rcx], rdx
lea rsi, [rcx + 8]
mov qword [rsp + 0x40], rsi
xor r15d, r15d
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov rcx, rsi
call fcn.18018cf40
mov qword [rsi], rax
mov qword [r14 + 0x28], r15
mov qword [r14 + 0x30], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x18], r15b
mov qword [r14 + 0x48], r15
mov qword [r14 + 0x50], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x38], r15b
mov qword [r14 + 0x68], r15
mov qword [r14 + 0x70], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x58], r15b
mov qword [r14 + 0x98], r15
mov qword [r14 + 0xa0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x88], r15b
mov qword [r14 + 0xb8], r15
mov qword [r14 + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0xa8], r15b
mov qword [r14 + 0xd8], r15
mov qword [r14 + 0xe0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0xc8], r15b
mov qword [r14 + 0xf8], r15
mov qword [r14 + 0x100], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0xe8], r15b
mov qword [r14 + 0x118], r15
mov qword [r14 + 0x120], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x108], r15b
mov qword [r14 + 0x138], r15
mov qword [r14 + 0x140], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x128], r15b
mov qword [r14 + 0x158], r15
mov qword [r14 + 0x160], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x148], r15b
mov qword [r14 + 0x178], r15
mov qword [r14 + 0x180], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x168], r15b
mov qword [r14 + 0x198], r15
mov qword [r14 + 0x1a0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x188], r15b
mov qword [r14 + 0x1b8], r15
mov qword [r14 + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x1a8], r15b
mov qword [r14 + 0x1d8], r15
mov qword [r14 + 0x1e0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x1c8], r15b
mov qword [r14 + 0x1f8], r15
mov qword [r14 + 0x200], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x1e8], r15b
mov qword [r14 + 0x218], r15
mov qword [r14 + 0x220], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x208], r15b
mov qword [r14 + 0x238], r15
mov qword [r14 + 0x240], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x228], r15b
mov qword [r14 + 0x258], r15
mov qword [r14 + 0x260], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x248], r15b
mov qword [r14 + 0x278], r15
mov qword [r14 + 0x280], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x268], r15b
mov qword [r14 + 0x298], r15
mov qword [r14 + 0x2a0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x288], r15b
mov qword [r14 + 0x2b8], r15
mov qword [r14 + 0x2c0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x2a8], r15b
mov qword [r14 + 0x2d8], r15
mov qword [r14 + 0x2e0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x2c8], r15b
mov qword [r14 + 0x2f8], r15
mov qword [r14 + 0x300], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x2e8], r15b
mov qword [r14 + 0x328], r15
mov qword [r14 + 0x330], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x318], r15b
mov qword [r14 + 0x350], r15
mov qword [r14 + 0x358], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x340], r15b
mov qword [r14 + 0x370], r15
mov qword [r14 + 0x378], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x360], r15b
mov qword [r14 + 0x398], r15
mov qword [r14 + 0x3a0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x388], r15b
mov qword [r14 + 0x3b8], r15
mov qword [r14 + 0x3c0], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x3a8], r15b
mov qword [r14 + 0x3e0], r15
mov qword [r14 + 0x3e8], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x3d0], r15b
mov qword [r14 + 0x400], r15
mov qword [r14 + 0x408], 0xf
mov byte [r14 + 0x3f0], r15b
mov qword [r14 + 0x420], r15
mov qword [r14 + 0x428], 0xf
mov byte [r14 + 0x410], r15b
mov qword [r14 + 0x440], r15
mov qword [r14 + 0x448], 0xf
mov byte [r14 + 0x430], r15b
mov qword [r14 + 0x460], r15
mov qword [r14 + 0x468], 0xf
mov byte [r14 + 0x450], r15b
mov qword [r14 + 0x480], r15
mov qword [r14 + 0x488], 0xf
mov byte [r14 + 0x470], r15b
mov qword [r14 + 0x4a0], r15
mov qword [r14 + 0x4a8], 0xf
mov byte [r14 + 0x490], r15b
mov qword [r14 + 0x4c0], r15
mov qword [r14 + 0x4c8], 0xf
mov byte [r14 + 0x4b0], r15b
mov qword [r14 + 0x4e0], r15
mov qword [r14 + 0x4e8], 0xf
mov byte [r14 + 0x4d0], r15b
mov qword [r14 + 0x500], r15
mov qword [r14 + 0x508], 0xf
mov byte [r14 + 0x4f0], r15b
mov qword [r14 + 0x520], r15
mov qword [r14 + 0x528], 0xf
mov byte [r14 + 0x510], r15b
mov dword [rsp + 0x40], 0x52534d42
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
mov ecx, eax
call fcn.1801e6314
mov rbp, rax
mov r9d, edi
mov r8, rax
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.18018daf0
mov rbx, rax
cmp rsi, rax
je 0x18018b02c
mov rdx, qword [rsi]
mov rdx, qword [rdx + 8]
mov rcx, rsi
call fcn.18018d060
mov rcx, qword [rsi]
mov qword [rcx + 8], rcx
mov rax, qword [rsi]
mov qword [rax], rax
mov rax, qword [rsi]
mov qword [rax + 0x10], rax
mov qword [rsi + 8], r15
mov rcx, qword [rsi]
mov rax, qword [rbx]
mov qword [rsi], rax
mov qword [rbx], rcx
mov rcx, qword [rsi + 8]
mov rax, qword [rbx + 8]
mov qword [rsi + 8], rax
mov qword [rbx + 8], rcx
mov r9, qword [rsp + 0x20]
mov r8, qword [r9]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18018d950
mov edx, 0x68
mov rcx, qword [rsp + 0x20]
call fcn.1801e5cd0
nop
lea rbx, [rbp + 8]
mov eax, dword [rbp + 4]
lea rdi, [rbp + 8]
add rdi, rax
movzx edx, byte [rbx]
mov r8, qword [rsi]
mov rcx, qword [r8 + 8]
mov rax, r8
cmp byte [rcx + 0x19], 0
jne 0x18018b095
cmp dword [rcx + 0x20], edx
jge 0x18018b07f
mov rcx, qword [rcx + 0x10]
jmp 0x18018b085
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x18018b074
cmp rax, r8
je 0x18018b095
cmp edx, dword [rax + 0x20]
jge 0x18018b098
mov rax, r8
cmp rax, r8
je 0x18018b0b6
mov qword [rsp + 0x40], rbx
mov rcx, qword [rax + 0x60]
test rcx, rcx
je 0x18018b120
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.WS2_32.dll_recv]
cmp byte [rbx], 0x7f
jne 0x18018b0c1
cmp byte [rbx + 1], 4
je 0x18018b0fa
movzx eax, byte [rbx + 1]
add rax, rbx
mov rbx, rax
lea rcx, [rax + 1]
movzx eax, byte [rcx]
or al, byte [rbx]
je 0x18018b0ed
nop word [rax + rax]
mov rbx, rcx
inc rcx
movzx eax, byte [rcx]
or al, byte [rbx]
jne 0x18018b0e0
add rbx, 2
cmp rbx, rdi
jb 0x18018b061
mov rcx, rbp
call fcn.1801e68a8
nop
mov rax, r14
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
int3