Function at 0x42d440
Capabilities:
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
sub esp, 0xc54
mov eax, dword [0x430008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
xor esi, esi
xor ebx, ebx
cmp dword [0x527d6c], 0x7d
jne 0x42d495
push esi
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0xc4c]
push ecx
lea edx, [ebp - 0xc44]
push edx
lea eax, [ebp - 0xc48]
push eax
push esi
lea ecx, [ebp - 0x404]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp ebx, 0x4c8
jne 0x42d4af
mov edx, dword [0x431720]
add edx, 0x9e49
mov dword [0x527d6c], edx
cmp dword [0x527d6c], 0xc95
jne 0x42d4f4
xor eax, eax
xor ecx, ecx
lea edx, [ebp - 0xc40]
push edx
mov word [ebp - 0xc3c], ax
mov word [ebp - 0xc3a], cx
mov eax, dword [ebp - 0xc3c]
push eax
push esi
push esi
push esi
call edi
mov dword [0x432320], 0xec58ac98
mov dword [0x432324], 0xffffffff
inc ebx
cmp ebx, 0x1150cec
jl 0x42d460
cmp dword [0x527d6c], 0x7c
mov ecx, dword [0x430f58]
mov dword [0x527e9c], ecx
jne 0x42d629
push esi
push esi
lea edx, [ebp - 0xc40]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
call dword [sym.imp.USER32.dll_GetFocus]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0x2e
lea eax, [ebp - 0xc34]
push esi
push eax
mov dword [ebp - 0xc38], esi
call fcn.00405be0
add esp, 0xc
push esi
lea ecx, [ebp - 0xc38]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
push esi
push esi
lea edx, [ebp - 0xc4c]
push edx
mov dword [ebp - 0xc4c], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
xor ecx, ecx
xor eax, eax
mov word [ebp - 0xc42], cx
xor edx, edx
mov word [ebp - 0xc3a], ax
lea ecx, [ebp - 0xc54]
push ecx
mov word [ebp - 0xc3c], dx
mov edx, dword [ebp - 0xc3c]
push edx
mov word [ebp - 0xc44], ax
mov eax, dword [ebp - 0xc44]
push eax
lea ecx, [ebp - 0xc48]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
lea edx, [ebp - 0x404]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
cmp dword [0x527d6c], 0x11
jne 0x42d607
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ObjectPrivilegeAuditAlarmA]
cmp dword [0x527d6c], 0x2d
jne 0x42d618
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.004011f6
push esi
call fcn.0040133e
fstp st(0)
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetCommState]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
call edi
call ebx
cmp esi, 0x24c07
jg 0x42d64e
inc esi
cmp esi, 0xeab1b
jl 0x42d635
cmp dword [0x527d6c], 0x2a
jne 0x42d711
xor esi, esi
push esi
mov dword [0x527d60], esi
mov dword [0x527d64], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
lea eax, [ebp - 0xc40]
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push str.bowupepotoyesuroleju
push str.nanimitisefo
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
lea edx, [ebp - 0xc48]
push edx
push str.gotobuninocisovavoxohu
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
push esi
lea eax, [ebp - 0x804]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
lea ecx, [ebp - 0xc04]
push ecx
push str.cemahidu
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
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
push esi
call fcn.0040112c
add esp, 0x20
push esi
call fcn.004015f1
call fcn.0042d110
mov ecx, dword [0x527d6c]
xor eax, eax
test ecx, ecx
jbe 0x42d75d
mov edi, dword [0x527e9c]
mov esi, dword [0x527bb4]
mov edx, 0x17bc
jmp 0x42d740
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x42d758
mov dword [0x527bb8], edx
inc eax
cmp eax, ecx
jb 0x42d740
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0042d140
call fcn.0042d3a0
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
cmp dword [0x527d6c], 0x41
jne 0x42d79d
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 0x42d7aa
call fcn.0042d130
cmp dword [0x527d6c], 0xc
jne 0x42d7c4
push 0
push 0
lea edx, [ebp - 0xc40]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
inc esi
cmp esi, 0x24e87d
jl 0x42d780
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
lea ecx, [ecx]
cmp dword [0x527d6c], 0x7c4
mov dword [0x527bbc], edi
jne 0x42d7f9
push str.xetiroviw
call esi
sub ebx, 1
jne 0x42d7e0
mov ecx, dword [ebp - 0xc28]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x42d81f
cmp ecx, 0xf5bed7
jne 0x42d827
inc eax
cmp eax, 0x687ed2
jl 0x42d810
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret