Function at 0x1007cba0
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dbe12
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10269bac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x6c], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [eax + 0x18]
mov dword [ebp - 4], 0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x58], ecx
mov byte [ecx], 0
lea ecx, [eax + 0x30]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x5c], ecx
mov byte [ecx], 0
lea ecx, [eax + 0x48]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x60], ecx
mov byte [ecx], 0
lea ecx, [eax + 0x60]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x54], ecx
mov byte [ecx], 0
lea ecx, [eax + 0x78]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x68], ecx
mov byte [ecx], 0
add eax, 0x90
mov dword [ebp - 0x64], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0
push 0
push 0
mov byte [ebp - 4], 6
mov edi, dword [sym.imp.KERNEL32.DLL_GetSystemFirmwareTable]
push 0x52534d42
call edi
mov esi, eax
test esi, esi
je 0x1007cce4
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x50], eax
push esi
push eax
push 0
push 0x52534d42
call edi
cmp eax, esi
je 0x1007cd02
push dword [ebp - 0x50]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d4758
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x1007cce4
mov edx, dword [edi + 4]
lea esi, [edi + 8]
add edx, 8
add edx, edi
cmp esi, edx
jae 0x1007cf2c
mov dword [ebp - 0x50], edi
nop
mov al, byte [esi + 1]
cmp al, 4
jb 0x1007cf2c
cmp byte [esi], 1
jne 0x1007cd34
cmp al, 0x19
jae 0x1007cd6e
movzx eax, al
add eax, esi
cmp eax, edx
jae 0x1007cd53
nop dword [eax]
cmp byte [eax], 0
lea ecx, [eax + 1]
jne 0x1007cd4d
cmp byte [ecx], 0
je 0x1007cd53
mov eax, ecx
cmp eax, edx
jb 0x1007cd40
lea esi, [eax + 2]
cmp esi, edx
jb 0x1007cd20
mov esi, dword [ebp - 0x48]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
jmp 0x1007cce7
movzx edx, byte [esi + 4]
movzx eax, al
add eax, esi
push ecx
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.1007cb60
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
nop word [eax + eax]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007cd90
sub edi, ecx
mov ecx, dword [ebp - 0x58]
push edi
push eax
call fcn.1004d9e0
movzx edx, byte [esi + 5]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007cb60
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007cdb8
sub edi, ecx
mov ecx, dword [ebp - 0x5c]
push edi
push eax
call fcn.1004d9e0
movzx edx, byte [esi + 7]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007cb60
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007cde0
sub edi, ecx
mov ecx, dword [ebp - 0x60]
push edi
push eax
call fcn.1004d9e0
movzx edx, byte [esi + 6]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007cb60
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007ce08
sub edi, ecx
mov ecx, dword [ebp - 0x64]
push edi
push eax
call fcn.1004d9e0
cmp byte [esi + 1], 8
jbe 0x1007ceb6
push 0x32
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, byte [esi + 0x17]
push eax
movzx eax, byte [esi + 0x16]
push eax
movzx eax, byte [esi + 0x15]
push eax
movzx eax, byte [esi + 0x14]
push eax
movzx eax, byte [esi + 0x13]
push eax
movzx eax, byte [esi + 0x12]
push eax
movzx eax, byte [esi + 0x11]
push eax
movzx eax, byte [esi + 0x10]
push eax
movzx eax, byte [esi + 0xf]
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0xc]
push eax
movzx eax, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 8]
push eax
push 0x102579e0
push 0x31
lea eax, [ebp - 0x44]
push 0x32
push eax
call fcn.1007cb20
lea edx, [ebp - 0x44]
add esp, 0x5c
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1007cea0
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x44]
sub edx, edi
push edx
push eax
call fcn.1004d9e0
cmp byte [esi + 1], 0x19
jbe 0x1007cf29
movzx edx, byte [esi + 0x19]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007cb60
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007ced1
sub edi, ecx
mov ecx, dword [ebp - 0x54]
push edi
push eax
call fcn.1004d9e0
movzx edx, byte [esi + 0x1a]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007cb60
mov edx, eax
add esp, 4
lea esi, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1007cf00
sub edx, esi
mov esi, dword [ebp - 0x48]
push edx
push eax
mov ecx, esi
call fcn.1004d9e0
mov edi, dword [ebp - 0x50]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
jmp 0x1007cce7
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
jmp 0x1007cce7