Function at 0x41d2f0
Capabilities:
Get common file path
Get thread local storage value
Set current directory
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2ad8
call fcn.004110a0
mov dword [ebp - 4], 0
jmp 0x41d30f
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x32d05d76
jge 0x41d3cd
cmp dword [0x4bcd8c], 0xfc
jne 0x41d352
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
lea ecx, [ebp - 0x70]
push ecx
push str.Yavatu_fumoginoni_pijuki
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
lea edx, [ebp - 0x870]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
cmp dword [0x4bcd8c], 0x5e4
jne 0x41d3bd
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push 0
lea eax, [ebp - 0x1290]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea ecx, [ebp - 0xa90]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea edx, [ebp - 0x1294]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_QueryMemoryResourceNotification]
xor eax, eax
mov word [ebp - 0x12ac], ax
xor ecx, ecx
mov word [ebp - 0x12aa], cx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp dword [ebp - 4], 0x9be51dc
jle 0x41d3c8
jmp 0x41d3cd
jmp 0x41d306
push 0x427fc0
mov edx, dword [0x4bcd8c]
push edx
mov eax, dword [0x4badfc]
push eax
call fcn.0041d180
mov dword [ebp - 0x12b0], 0
jmp 0x41d3ff
mov ecx, dword [ebp - 0x12b0]
add ecx, 1
mov dword [ebp - 0x12b0], ecx
cmp dword [ebp - 0x12b0], 0x3e7a3
jge 0x41d444
cmp dword [0x4bcd8c], 0x10
jne 0x41d429
lea edx, [ebp - 0x12b4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
cmp dword [ebp - 0x12b0], 0x1e673
jne 0x41d442
call fcn.0041cae0
jmp 0x41d3f0
mov dword [ebp - 0x12b8], 0
jmp 0x41d45f
mov eax, dword [ebp - 0x12b8]
add eax, 1
mov dword [ebp - 0x12b8], eax
cmp dword [ebp - 0x12b8], 0xdd9a7
jge 0x41d48b
cmp dword [0x4bcd8c], 0xc01
jne 0x41d489
lea ecx, [ebp - 0x12bc]
push ecx
push str.totujorenutocegelahojizecexocudipevusepenujitubaletususiriy
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
jmp 0x41d450
call dword [0x4badfc]
cmp dword [0x4bcd8c], 0x1144
jne 0x41d561
push 0
push 0
push str.Goniga_rizepov_ruvu
push str.Nuyetiz
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
mov dword [ebp - 0x22d4], 0
push 0
mov edx, dword [ebp - 0x22d4]
push edx
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
lea eax, [ebp - 0x22cc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.jixazavobutozixuhopa_codirimejexivijujares
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
lea ecx, [ebp - 0x22c8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.jewijononulujiboyasum
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
lea edx, [ebp - 0x1ac0]
push edx
push 0
push str.kizanugukofuhidepupati_vezoruzijesogufomapigefez_wacuricahufomiz_rolaziyakonov
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
lea eax, [ebp - 0x1ac4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
lea ecx, [ebp - 0x2ad8]
push ecx
push str.Wuruteburoxu_ricacav_kikiwe_kidabiwap
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