Function at 0x1007de60
Capabilities:
Get system firmware table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dc542
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1026abac]
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 0x1007dfa4
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 0x1007dfc2
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.101d51d8
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x1007dfa4
mov edx, dword [edi + 4]
lea esi, [edi + 8]
add edx, 8
add edx, edi
cmp esi, edx
jae 0x1007e1ec
mov dword [ebp - 0x50], edi
nop
mov al, byte [esi + 1]
cmp al, 4
jb 0x1007e1ec
cmp byte [esi], 1
jne 0x1007dff4
cmp al, 0x19
jae 0x1007e02e
movzx eax, al
add eax, esi
cmp eax, edx
jae 0x1007e013
nop dword [eax]
cmp byte [eax], 0
lea ecx, [eax + 1]
jne 0x1007e00d
cmp byte [ecx], 0
je 0x1007e013
mov eax, ecx
cmp eax, edx
jb 0x1007e000
lea esi, [eax + 2]
cmp esi, edx
jb 0x1007dfe0
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 0x1007dfa7
movzx edx, byte [esi + 4]
movzx eax, al
add eax, esi
push ecx
mov ecx, eax
mov dword [ebp - 0x4c], eax
call fcn.1007de20
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
nop word [eax + eax]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007e050
sub edi, ecx
mov ecx, dword [ebp - 0x58]
push edi
push eax
call fcn.1004c740
movzx edx, byte [esi + 5]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007de20
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007e078
sub edi, ecx
mov ecx, dword [ebp - 0x5c]
push edi
push eax
call fcn.1004c740
movzx edx, byte [esi + 7]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007de20
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007e0a0
sub edi, ecx
mov ecx, dword [ebp - 0x60]
push edi
push eax
call fcn.1004c740
movzx edx, byte [esi + 6]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007de20
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007e0c8
sub edi, ecx
mov ecx, dword [ebp - 0x64]
push edi
push eax
call fcn.1004c740
cmp byte [esi + 1], 8
jbe 0x1007e176
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 0x10258290
push 0x31
lea eax, [ebp - 0x44]
push 0x32
push eax
call fcn.1007dde0
lea edx, [ebp - 0x44]
add esp, 0x5c
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1007e160
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x44]
sub edx, edi
push edx
push eax
call fcn.1004c740
cmp byte [esi + 1], 0x19
jbe 0x1007e1e9
movzx edx, byte [esi + 0x19]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007de20
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
mov dl, byte [edi]
inc edi
test dl, dl
jne 0x1007e191
sub edi, ecx
mov ecx, dword [ebp - 0x54]
push edi
push eax
call fcn.1004c740
movzx edx, byte [esi + 0x1a]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.1007de20
mov edx, eax
add esp, 4
lea esi, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1007e1c0
sub edx, esi
mov esi, dword [ebp - 0x48]
push edx
push eax
mov ecx, esi
call fcn.1004c740
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 0x1007dfa7
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 0x1007dfa7