Function at 0x44ede0
Capabilities:
Get common file path
Get file size
Get hostname
Manipulate console buffer
Read .ini file
Resolve function by parsing pe exports
Set uefi variable
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453fa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1300
call fcn.00411ea0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProfileSectionA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableW]
push esi
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x14]
cmp eax, 0x2cf6b
jge 0x44ee3d
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_CharToOemBuffA]
mov eax, dword [esp + 0x14]
cmp dword [0x7e0804], 0x6fb
jne 0x44ee9a
push 0x30
lea eax, [esp + 0xf4]
push 0
push eax
mov dword [esp + 0xf8], 0
call fcn.0040f050
add esp, 0xc
push esi
lea ecx, [esp + 0xf0]
push ecx
push 0
call edi
push 0
lea edx, [esp + 0xb14]
push edx
push 0x403f4c
call ebx
push 0
push 0
push 0x403f88
push 0x403fcc
call ebp
mov eax, dword [esp + 0x14]
cmp eax, 0x1e7e0166
jle 0x44eeb8
cmp dword [esp + 0x14], 0xc0f00a
je 0x44eeb8
cmp dword [esp + 0xf8], 0x92805e8
jne 0x44eeca
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x7d605
jl 0x44ee26
jmp 0x44ef03
cmp dword [0x7e0804], 0x28
jne 0x44ef03
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x314]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x403fdc
push 0x403fe4
push 0x403ff8
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
cmp dword [0x7e0804], 0xcf8
jne 0x44f0c9
push 0
push 0
call fcn.0041236a
xor edx, edx
xor ebx, ebx
push 0x404004
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], dx
call fcn.004081bb
mov esi, eax
add esp, 0xc
lea eax, [esp + 0x20]
call fcn.00406340
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1320], ebx
call fcn.00405880
cmp dword [esp + 0x34], 8
jb 0x44ef72
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00408310
add esp, 4
push ebx
call fcn.00408419
add esp, 4
push ebx
call fcn.004082f9
add esp, 4
push ebx
push ebx
call fcn.0040831b
push ebx
call fcn.00408181
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
lea edx, [esp + 0xac]
add esp, 0xc
mov dword [esp + 0x1c], edx
mov dword [esp + ecx + 0x48], 0x4041ec
mov dword [esp + 0x131c], 1
test byte [esp + 0x98], 1
lea edx, [esp + 0x58]
mov dword [esp + 0x18], edx
mov dword [esp + 0x58], 0x4041ac
je 0x44efe2
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
push eax
call fcn.00408310
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword [ecx], ebx
mov edx, dword [esp + 0x78]
mov dword [edx], ebx
mov eax, dword [esp + 0x88]
mov dword [eax], ebx
mov ecx, dword [esp + 0x6c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x7c]
mov dword [edx], ebx
mov eax, dword [esp + 0x8c]
mov dword [eax], ebx
and dword [esp + 0x98], 0xfffffffe
mov dword [esp + 0x94], ebx
mov dword [esp + 0x58], 0x404164
mov byte [esp + 0x131c], 2
mov eax, dword [esp + 0x90]
mov ebp, eax
cmp eax, ebx
je 0x44f083
mov edi, dword [eax]
cmp edi, ebx
je 0x44f07a
push ebx
lea ecx, [esp + 0x18]
call fcn.004073fc
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x44f058
cmp eax, 0xffffffff
jae 0x44f058
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.00407424
cmp esi, ebx
je 0x44f07a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call fcn.00408310
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x131c], 1
call fcn.00407455
mov dword [esp + 0x131c], 0xffffffff
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xa0]
mov dword [esp + edx + 0x48], 0x4041a4
push eax
mov dword [esp + 0xa4], 0x404154
call fcn.00406f2b
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x408
jne 0x44f0f3
mov eax, 0x5d1
add dword [0x7e0804], eax
cmp dword [0x7e0804], 0xca3
jne 0x44f124
push 0
push 0
push 0
push 0
call edi
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push 0x404078
push ecx
mov dword [esp + 0x28], ecx
call ebp
push 0
push 0
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x44f0e0
mov edx, dword [0x7e0804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x7e076c], eax
mov eax, dword [0x7e0804]
xor esi, esi
test eax, eax
je 0x44f1d6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
mov ebx, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
cmp eax, 0xfe
jne 0x44f1b1
push 0
lea eax, [esp + 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0
call edi
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
lea edx, [esp + 0xf0]
push edx
push 0x4040a4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call ebx
call fcn.0044e940
mov eax, dword [0x7e0804]
cmp eax, 0x29
jne 0x44f1d1
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov eax, dword [0x7e0804]
inc esi
cmp esi, eax
jb 0x44f162
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x9682ab
cmp eax, 3
jne 0x44f1f9
push 0
push 0
push 0
push 0
push 0
push 0
call esi
mov eax, dword [0x7e0804]
dec edi
jne 0x44f1e1
mov esi, dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
mov ebx, 0x25887
mov edi, 0xabebc05c
lea esp, [esp]
mov dword [0x7e0774], edi
cmp eax, 0x222
jne 0x44f236
push 0
lea eax, [esp + 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
call esi
mov eax, dword [0x7e0804]
dec ebx
jne 0x44f210
mov byte [0x45cab8], bl
call fcn.0044e890
call fcn.0044ebe0
mov ebp, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFlags]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFlags]
xor esi, esi
lea ecx, [ecx]
cmp dword [0x7e0804], 0xba
jne 0x44f277
push 0x4040b0
push 0
push 0
call ebp
push 0
call edi
push 0
call ebx
cmp esi, 0x2f64
jne 0x44f292
mov eax, 0
add dword [0x7e076c], eax
inc esi
cmp esi, 0x1605a
jl 0x44f260
mov esi, dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edi, 0x1e6dcb
jmp 0x44f2b0
cmp dword [0x7e0804], 0x85
jne 0x44f2be
call esi
dec edi
jne 0x44f2b0
push 0x403f08
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x7e0804], 0xc30
jne 0x44f39e
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esp + 0x1d0]
push ecx
push 0x4040f4
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push edi
lea eax, [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0xb1c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push edi
lea edx, [esp + 0xf14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
lea ecx, [esp + 0x314]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_SetTimeZoneInformation]
push edi
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
push 0x404100
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov ecx, dword [esp + 0x1314]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret