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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1dd0
call fcn.00415ee0
mov dword [ebp - 4], 0
jmp 0x4226ef
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x32d05d76
jge 0x42279b
cmp dword [0x470a6c], 0xfc
jne 0x422735
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
lea ecx, [ebp - 0x474]
push ecx
push str.levihufanogisojinasitogatopacaxuhozuwehu
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
lea edx, [ebp - 0x458]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
cmp dword [0x470a6c], 0x5e4
jne 0x42278b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push 0
lea eax, [ebp - 0xd98]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea ecx, [ebp - 0x598]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor edx, edx
mov word [ebp - 0xdb0], dx
xor eax, eax
mov word [ebp - 0xdae], ax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
cmp dword [ebp - 4], 0x9be51dc
jle 0x422796
jmp 0x42279b
jmp 0x4226e6
push 0x43a180
mov ecx, dword [0x470a6c]
push ecx
mov edx, dword [0x45cf9c]
push edx
call fcn.00422580
mov dword [ebp - 0xdb4], 0
jmp 0x4227ce
mov eax, dword [ebp - 0xdb4]
add eax, 1
mov dword [ebp - 0xdb4], eax
cmp dword [ebp - 0xdb4], 0x3e7a3
jge 0x422813
cmp dword [0x470a6c], 0x10
jne 0x4227f8
lea ecx, [ebp - 0xdb8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFlags]
cmp dword [ebp - 0xdb4], 0x1e673
jne 0x422811
call fcn.00421f40
jmp 0x4227bf
mov dword [ebp - 0xdbc], 0
jmp 0x42282e
mov edx, dword [ebp - 0xdbc]
add edx, 1
mov dword [ebp - 0xdbc], edx
cmp dword [ebp - 0xdbc], 0xdd9a7
jge 0x42285a
cmp dword [0x470a6c], 0xc01
jne 0x422858
lea eax, [ebp - 0xdc0]
push eax
push str.havosohivehacetisowi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
jmp 0x42281f
call dword [0x45cf9c]
cmp dword [0x470a6c], 0x1144
jne 0x422925
push 0
push 0
push str.lavasuhumiwagumolehitevazadopitogiyubocobohihok
push str.golerazuzeretizagakuzerene
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableW]
mov dword [ebp - 0x19d0], 0
mov ecx, dword [ebp - 0x19d0]
push ecx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
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 0
push 0
push str.morekexihofebofapumu
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
lea edx, [ebp - 0x19c8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.dulimawutelawirubupida
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
lea eax, [ebp - 0x11c0]
push eax
push 0
push str.poduhabumokobadisavuhizoconuxocuyacufomohosoditejivunezeyibaku
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
lea ecx, [ebp - 0x11c4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
lea edx, [ebp - 0x1dd0]
push edx
push str.fedikohegixumihihavarinigocedujufewowihihoherenoxizigujihehofinibomujedufalonajalisucavijof
call dword [sym.imp.KERNEL32.dll_GetProfileSectionA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
mov esp, ebp
pop ebp
ret