Function at 0x10005040
Capabilities:
Contain obfuscated stackstrings
Get system information on windows
Get uefi variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dd4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov eax, 4
imul ecx, eax, 0xc4
mov edx, dword [0x10060684]
mov eax, dword [edx + ecx]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.1000d120
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0x48474645
mov dword [ebp - 0x78], 0x44434241
mov dword [ebp - 0x74], 0x504f4e4d
mov dword [ebp - 0x70], 0x4c4b4a49
mov dword [ebp - 0x6c], 0x58575655
mov dword [ebp - 0x68], 0x54535251
mov dword [ebp - 0x64], 0x66656463
mov dword [ebp - 0x60], 0x62615a59
mov dword [ebp - 0x5c], 0x6e6d6c6b
mov dword [ebp - 0x58], 0x6a696867
mov dword [ebp - 0x54], 0x76757473
mov dword [ebp - 0x50], 0x7271706f
mov dword [ebp - 0x4c], 0x33323130
mov dword [ebp - 0x48], 0x7a797877
mov dword [ebp - 0x44], 0x2f2b3938
mov dword [ebp - 0x40], 0x37363534
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x11]
call fcn.1000b380
push eax
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10001c50
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x34]
call fcn.1000c6b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
call fcn.10003be0
add esp, 4
cmp dword [0x1003fb04], 0xd168f19
jne 0x100052c2
push 0
call dword [sym.imp.USER32.dll_WindowFromDC]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommMask]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DrawFrameControl]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
xor ecx, ecx
xor edx, edx
lock xadd dword [edx], ecx
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_PeekMessageW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileIntW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetUILanguageInfo]
xor eax, eax
xor ecx, ecx
xchg dword [ecx], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
call dword [sym.imp.USER32.dll_GetFocus]
push 0
push 0
push 0
push 0
push 0x10069f70
push 0
push 0x10069f94
push 0
push 0x10069fc8
call dword [sym.imp.KERNEL32.dll_CompareStringEx]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetScrollBarInfo]
push 0
push 0
call dword [sym.imp.USER32.dll_CreateAcceleratorTableW]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryProcessCycleTime]
push 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0
call dword [sym.imp.KERNEL32.dll_QueryUnbiasedInterruptTime]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
call dword [sym.imp.USER32.dll_EndMenu]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
call dword [sym.imp.KERNEL32.dll_IsThreadpoolTimerSet]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformationForYear]
push 0
call dword [sym.imp.USER32.dll_UnregisterSuspendResumeNotification]
push 0
call dword [sym.imp.KERNEL32.dll_CloseThreadpoolIo]
push 0
call dword [sym.imp.USER32.dll_SetMessageExtraInfo]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
call dword [sym.imp.USER32.dll_GetFocus]
mov edx, 4
imul eax, edx, 0x34
mov ecx, dword [0x10060668]
mov edx, dword [ecx + eax]
mov dword [0x10060674], edx
lea ecx, [ebp - 0x34]
call fcn.1000c670
push eax
lea ecx, [ebp - 0x94]
call fcn.1000d120
mov byte [ebp - 4], 2
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.10009440
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, 4
imul ecx, eax, 0x37
mov edx, dword [0x10060684]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
jmp 0x10005335
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x28]
call fcn.1000c5e0
cmp dword [ebp - 0x10], eax
jae 0x1000535a
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000c5a0
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x10]
mov dl, byte [eax]
mov byte [ecx], dl
jmp 0x1000532c
lea ecx, [ebp - 0x94]
call fcn.1000cfb0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1000b2a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.1000d050
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.1000c690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.1000d050
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret