Function at 0x42f770
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, 0x185c
call fcn.0040b720
mov eax, dword [0x433004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
push edi
xor edi, edi
jmp 0x42f7a0
cmp dword [0x52b12c], 0x7d
jne 0x42f7d4
push 0
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x1844]
push ecx
lea edx, [ebp - 0x1840]
push edx
lea eax, [ebp - 0x1850]
push eax
push 0
lea ecx, [ebp - 0x1804]
push ecx
push 0
call ebx
cmp edi, 0x4c8
jne 0x42f7ee
mov edx, dword [0x434ae0]
add edx, 0x9e49
mov dword [0x52b12c], edx
cmp dword [0x52b12c], 0xcbd
jne 0x42f833
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x1854]
push edx
mov word [ebp - 0x183c], ax
mov word [ebp - 0x183a], cx
mov eax, dword [ebp - 0x183c]
push eax
push ecx
push ecx
push ecx
call esi
mov dword [0x4356e0], 0xec58ac98
mov dword [0x4356e4], 0xffffffff
inc edi
cmp edi, 0x1150cec
jl 0x42f7a0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
cmp esi, 0x560519
jne 0x42f85c
mov ecx, dword [0x434318]
mov dword [0x52b25c], ecx
cmp dword [0x52b12c], 0x168
jne 0x42f86a
call edi
inc esi
cmp esi, 0x4cab73ac
jl 0x42f848
cmp dword [0x52b12c], 0x7c
jne 0x42f9df
push 0
push 0
lea edx, [ebp - 0x1854]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_SetFocus]
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 - 0x1850]
push eax
lea ecx, [ebp - 0xc04]
push ecx
push esi
push str.wonubajicicegodoniput
push str.dihuvosusoxuyevohigoralewifozuh
push str.nakahusudoxi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [ebp - 0x184c]
push edx
lea eax, [ebp - 0x1804]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2e
lea ecx, [ebp - 0x1834]
push esi
push ecx
mov dword [ebp - 0x1838], esi
call fcn.00405f70
add esp, 0xc
push esi
lea edx, [ebp - 0x1838]
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_CopyFileExA]
push esi
push esi
push esi
lea eax, [ebp - 0x1844]
push eax
mov dword [ebp - 0x1844], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
xor edx, edx
xor ecx, ecx
mov word [ebp - 0x183e], dx
xor eax, eax
mov word [ebp - 0x183a], cx
lea edx, [ebp - 0x185c]
push edx
mov word [ebp - 0x183c], ax
mov eax, dword [ebp - 0x183c]
push eax
mov word [ebp - 0x1840], cx
mov ecx, dword [ebp - 0x1840]
push ecx
lea edx, [ebp - 0x1848]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
push esi
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
cmp dword [0x52b12c], 0x11
jne 0x42f9bd
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ObjectPrivilegeAuditAlarmA]
cmp dword [0x52b12c], 0x2d
jne 0x42f9ce
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.00401580
push esi
call fcn.004016c8
fstp st(0)
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea ecx, [ecx]
push 0
push 0
call edi
call ebx
cmp esi, 0x2569f
jge 0x42fa10
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
cmp esi, 0x24b99
jg 0x42fa23
inc esi
cmp esi, 0xeb2ea
jl 0x42f9f0
jmp 0x42fa41
cmp dword [0x52b12c], 0xa
jne 0x42fa41
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x52b12c], 0x2a
jne 0x42fad9
xor esi, esi
push esi
mov dword [0x52b120], esi
mov dword [0x52b124], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
lea edx, [ebp - 0x1848]
push edx
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea ecx, [ebp - 0x184c]
push ecx
push str.bizareduli
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
push esi
push esi
call fcn.0040109d
push esi
call fcn.0040100f
push esi
call fcn.0040100f
push esi
call fcn.0040112c
push esi
push esi
call fcn.0040109d
push esi
call fcn.0040c6a4
push esi
call fcn.0040100f
push esi
call fcn.004011f6
push esi
call fcn.00401421
push esi
push esi
push esi
call fcn.00401438
add esp, 0x38
call fcn.0042f360
mov ecx, dword [0x52b12c]
xor eax, eax
test ecx, ecx
jbe 0x42fb1d
mov edi, dword [0x52b25c]
mov esi, dword [0x52af74]
mov edx, 0x17bc
jmp 0x42fb00
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x42fb18
mov dword [0x52af78], edx
inc eax
cmp eax, ecx
jb 0x42fb00
call fcn.0042f4e0
call fcn.0042f390
call fcn.0042f6d0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
lea ebx, [ebx]
cmp dword [0x52b12c], 0x41
jne 0x42fb5f
push 0
push 0
push 0
call edi
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, 0xd606b
jne 0x42fb6c
call fcn.0042f380
cmp dword [0x52b12c], 0xc
jne 0x42fb86
push 0
push 0
lea edx, [ebp - 0x1848]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
inc esi
cmp esi, 0x24e87d
jl 0x42fb40
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x52b12c], 0x7c4
mov dword [0x52af7c], edi
jne 0x42fbb9
push str.cavuwoxegufiyipavizes
call esi
sub ebx, 1
jne 0x42fba0
mov ecx, dword [ebp - 0x1828]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x42fbdf
cmp ecx, 0xf5bed7
jne 0x42fbe7
inc eax
cmp eax, 0x687ed2
jl 0x42fbd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret