Function at 0x40197b
Capabilities:
Check mutex on windows
Create directory
Create thread
Query environment variable
Write file on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
mov eax, 0x186880
call fcn.0041e944
sub esp, eax
call sym.___main
mov dword [esp], str.Enter_file_to_scan
call sym._puts
mov dword [esp], 0x421095
call sym._printf
lea eax, [ebp - 0x1a0]
mov dword [esp + 4], eax
mov dword [esp], 0x421099
call sym._scanf
mov dword [esp], 0
call sym._time
mov dword [esp], eax
call sym._srand
mov dword [esp], 0x72
call sym._changeTextColor
mov dword [esp + 8], 0x50
mov dword [esp + 4], 0
lea eax, [ebp - 0x1f0]
mov dword [esp], eax
call sym._memset
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x2f4]
mov dword [esp + 4], eax
mov dword [esp], str.TEMP
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call eax
sub esp, 0xc
mov dword [esp + 8], 0
lea eax, [ebp - 0x1a0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f0]
mov dword [esp], eax
call sym._mz_zip_reader_init_file
test eax, eax
jne 0x401a6e
lea eax, [ebp - 0x1a0]
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_open_archive___s__n
call sym._printf
mov eax, 0xffffffff
jmp 0x40283e
mov dword [esp + 4], 0xa
mov dword [esp], 3
call sym._randString
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x2f4]
mov dword [esp + 8], eax
mov dword [esp + 4], str._smsav
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
call sym._sprintf
mov dword [esp + 4], 0
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call eax
sub esp, 8
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
call sym._puts
mov eax, dword [ebp - 0x68]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x2f4]
mov dword [esp + 8], eax
mov dword [esp + 4], str._smsav_s
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
call sym._sprintf
mov dword [esp + 4], 0
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call eax
sub esp, 8
lea eax, [ebp - 0x3f8]
mov dword [esp], eax
call sym._puts
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x83f8]
mov edx, 0x8000
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
mov dword [ebp - 0x8408], 0
mov dword [ebp - 0x8404], 0
mov dword [ebp - 0x8400], 0
mov dword [ebp - 0x83fc], 0
mov dword [ebp - 0x8418], str.Generic_App
mov dword [ebp - 0x8414], str.Sysinternals
mov dword [ebp - 0x8410], str.Generic_PUP
mov dword [ebp - 0x840c], str.WannaCry
lea eax, [ebp - 0x1f0]
mov dword [esp], eax
call sym._mz_zip_reader_get_num_files
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x14], 0
jmp 0x401f68
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x186120]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f0]
mov dword [esp], eax
call sym._mz_zip_reader_file_stat
test eax, eax
jne 0x401c10
mov dword [esp], 0x65
call sym._changeTextColor
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], str._ERR__failed_to_get_file_stat_for_file_at_index__d__n
call sym._printf
mov dword [esp], 0x72
call sym._changeTextColor
mov eax, 0xffffffff
jmp 0x40283e
mov dword [esp], 0x6f
call sym._changeTextColor
mov dword [esp], str._OK__got_file_stat_for_file_at_index__d_n
call sym._printf
mov dword [esp], 0x72
call sym._changeTextColor
mov eax, dword [ebp - 0x1860dc]
test eax, eax
je 0x401c44
add dword [ebp - 0x10], 1
jmp 0x401c48
add dword [ebp - 0xc], 1
lea eax, [ebp - 0x186120]
add eax, 0x50
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x3f8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_s.msav_tmp
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x186854]
mov dword [esp], eax
call sym._snprintf
lea eax, [ebp - 0x186120]
add eax, 0x50
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.msav_s_s.msav_tmp
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x186750]
mov dword [esp], eax
call sym._snprintf
lea eax, [ebp - 0x186854]
mov dword [esp], eax
call sym._strdup
mov dword [ebp - 0x98], eax
mov dword [esp + 4], 0x421184
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sym._strtok
mov dword [ebp - 0x9c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x104
lea eax, [ebp - 0x18664c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x186854]
mov dword [esp], eax
mov eax, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
call eax
lea eax, [ebp - 0x18664c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c
mov dword [esp], 0x2f
call sym._replaceall
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x104
lea eax, [ebp - 0x186520]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x186750]
mov dword [esp], eax
mov eax, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
call eax
lea eax, [ebp - 0x18664c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s
lea eax, [ebp - 0x186320]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x186520]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c
mov dword [esp], 0x2f
call sym._replaceall
mov dword [esp], 0x69
call sym._changeTextColor
lea eax, [ebp - 0x186520]
mov dword [esp + 4], eax
mov dword [esp], str._INFO__dir_____s_n
call sym._printf
mov dword [esp], 0x72
call sym._changeTextColor
lea eax, [ebp - 0x186854]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c
mov dword [esp], 0x2f
call sym._replaceall
mov dword [esp + 4], 0
lea eax, [ebp - 0x186320]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call eax
sub esp, 8
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], 0
lea edx, [ebp - 0x186854]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0x1f0]
mov dword [esp], eax
call sym._mz_zip_reader_extract_to_file
test eax, eax
jne 0x401ec7
mov dword [esp], 0x65
call sym._changeTextColor
mov eax, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x186854]
mov dword [esp + 8], eax
lea eax, [ebp - 0x186120]
add eax, 0x50
mov dword [esp + 4], eax
mov dword [esp], str._ERR__failed_extracting_file__s_to_file__s__index__d__n
call sym._printf
mov dword [esp], 0x72
call sym._changeTextColor
mov eax, 0xffffffff
jmp 0x40283e
lea eax, [ebp - 0x186120]
add eax, 0x50
mov dword [esp + 8], eax
mov dword [esp + 4], 0x421099
lea eax, [ebp - 0x17e11a]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x17e11a]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5c
mov dword [esp], 0x2f
call sym._replaceall
mov dword [esp], 0x6f
call sym._changeTextColor
lea eax, [ebp - 0x186854]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
lea eax, [ebp - 0x186120]
add eax, 0x50
mov dword [esp + 4], eax
mov dword [esp], str._OK__extracted_file__s___d______s_n
call sym._printf
mov dword [esp], 0x72
call sym._changeTextColor
lea eax, [ebp - 0x17e11a]
mov dword [esp], eax
call sym._strdup
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x83f8], edx
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x6c]
jl 0x401bb8
mov dword [esp], str._n____EXTRACT_END_____
call sym._puts
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str._d_files_total._n
call sym._printf
mov dword [ebp - 0x18], 0
jmp 0x402655
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x83f8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x3f8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_s.msav_tmp
lea eax, [ebp - 0x18664c]
mov dword [esp], eax
call sym._sprintf
mov dword [ebp - 0x74], 0
mov dword [esp + 4], 0x421222
lea eax, [ebp - 0x18664c]
mov dword [esp], eax
call sym._fopen
mov dword [ebp - 0x78], eax
mov dword [esp + 4], 0x421225
mov dword [esp], str.strings.txt
call sym._fopen
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
jmp 0x4020b7
cmp dword [ebp - 0x84], 0x1f
jle 0x402030
cmp dword [ebp - 0x84], 0x7e
jle 0x402039
cmp dword [ebp - 0x84], 0xa
jne 0x40206f
cmp dword [ebp - 0x1c], 0
jne 0x40204d
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
cmp eax, 0x175cbe
ja 0x4020b7
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x84]
mov byte [ebp + eax - 0x17e11a], dl
jmp 0x4020b7
cmp dword [ebp - 0x1c], 0
je 0x4020b7
cmp dword [ebp - 0x20], 6
jle 0x4020b0
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
mov dword [ebp - 0x20], edx
mov byte [ebp + eax - 0x17e11a], 0xa
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
lea eax, [ebp - 0x17e11a]
mov dword [esp], eax
call sym._fwrite
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym._fgetc
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffff
jne 0x40201e
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym._fclose
mov dword [esp + 4], 0x421234
mov dword [esp], str.strings.txt
call sym._fopen
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x175cc0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x175cc0
lea eax, [ebp - 0x17e11a]
mov dword [esp], eax
call sym._fread_s
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sym._fclose
mov dword [esp + 4], 0x421236
lea eax, [ebp - 0x17e11a]
mov dword [esp], eax
call sym._strtok
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x186120]
mov edx, 0x8000
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._memset
mov dword [ebp - 0x186120], str.kernel32.dll
mov dword [ebp - 0x184120], str.Eula.txt
mov dword [ebp - 0x18411c], str.SysInternals
mov dword [ebp - 0x184118], str.Sysinternals_Software_License_Terms
mov dword [ebp - 0x184114], str.Accept_Eula__Y_N__
mov dword [ebp - 0x184110], str.Copyright__C__2001_2023_Mark_Russinovich
mov dword [ebp - 0x18410c], str.Usage:_psexec__computer__computer2__...____file____u_user___p_psswd____n_s___r_servicename___h___l___s_e___x___i__session____c___f_v____w_directory___d____priority____g_n___a_n_n_...___verbose__cmd__arguments_
mov dword [ebp - 0x182120], str.Install_Ask_Toolbar_
mov dword [ebp - 0x18211c], str.Your_computer_is_infected__Scan_now_to_remove_viruses.
mov dword [ebp - 0x180120], str.tg.exe
mov dword [ebp - 0x18011c], str.We_will_decrypt_your_files_surely_because_nobody_will_trust_us_if_we_cheat_users.
mov dword [ebp - 0x180118], str._WanaDecryptor_.exe
mov dword [ebp - 0x180114], str.Files_decrypted_
mov dword [ebp - 0x180110], str._Please_Read_Me_.txt
mov dword [ebp - 0x8428], 0
mov dword [ebp - 0x8424], 0
mov dword [ebp - 0x8420], 0
mov dword [ebp - 0x841c], 0
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x83f8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], sym._scanning
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [ebp - 0x8c], eax
jmp 0x402372
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x28], 0
jmp 0x40234f
mov dword [ebp - 0x2c], 0
jmp 0x40233f
mov dword [ebp - 0x30], 0
jmp 0x40232d
mov eax, dword [ebp - 0x28]
lea edx, [eax*4]
mov eax, dword [ebp - 0x2c]
add eax, edx
shl eax, 9
mov edx, eax
mov eax, dword [ebp - 0x30]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x186120]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
call eax
test eax, eax
jne 0x402329
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8428]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp + eax*4 - 0x8428], edx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8408]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp + eax*4 - 0x8408], edx
mov dword [ebp - 0x94], 1
add dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
cmp eax, 0x1ff
jbe 0x4022a8
add dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 3
jbe 0x40229c
add dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x28]
cmp eax, 3
jbe 0x402290
mov dword [esp + 4], 0x421236
mov dword [esp], 0
call sym._strtok
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40227a
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [esp + 8], str.MSAV_SCANNING
mov dword [esp + 4], 0
mov dword [esp], 0x100000
mov eax, dword [sym.imp.KERNEL32.dll_OpenMutexA]
call eax
sub esp, 0xc
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [esp + 4], 0x1388
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov dword [ebp - 0x34], str.Unknown
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x40], str.Unique
mov dword [ebp - 0x44], 0
jmp 0x402496
mov dword [ebp - 0x48], 0
jmp 0x402488
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8428]
cmp dword [ebp - 0x38], eax
jge 0x402449
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8418]
mov dword [esp], eax
call sym._strdup
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8428]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x3c]
jle 0x402484
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8428]
test eax, eax
jle 0x402484
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8418]
mov dword [esp], eax
call sym._strdup
mov dword [ebp - 0x34], eax
add dword [ebp - 0x48], 1
cmp dword [ebp - 0x48], 0
je 0x402409
add dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x44]
cmp eax, 3
jbe 0x402400
cmp dword [ebp - 0x3c], 0
jne 0x4024af
mov dword [ebp - 0x40], str.Application
cmp dword [ebp - 0x3c], 1
jne 0x4024bc
mov dword [ebp - 0x40], str.Admin_Tool
cmp dword [ebp - 0x3c], 2
jne 0x4024c9
mov dword [ebp - 0x40], str.PUP_PUA
cmp dword [ebp - 0x3c], 3
jne 0x4024d6
mov dword [ebp - 0x40], str.Malware
mov dword [ebp - 0x90], 0x1e
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x83f8]
mov dword [esp], eax
call sym._strlen
mov edx, eax
mov eax, ebx
sub eax, edx
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x186520], 0
cmp dword [ebp - 0x90], 0
jle 0x402549
mov dword [ebp - 0x4c], 0
jmp 0x40253e
lea eax, [ebp - 0x186520]
mov dword [esp], eax
call sym._strlen
mov edx, eax
lea eax, [ebp - 0x186520]
add eax, edx
mov word [eax], 0x20
add dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x90]
jl 0x40251d
mov byte [ebp - 0x186320], 0
mov dword [ebp - 0x90], 0x14
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym._strlen
mov edx, eax
mov eax, ebx
sub eax, edx
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jle 0x4025a6
mov dword [ebp - 0x50], 0
jmp 0x40259b
lea edx, [ebp - 0x186320]
mov eax, dword [ebp - 0x50]
add eax, edx
mov byte [eax], 0x20
add dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x90]
jl 0x402589
lea edx, [ebp - 0x186320]
mov eax, dword [ebp - 0x90]
add eax, edx
mov byte [eax], 0
mov dword [esp], 0x75
call sym._changeTextColor
cmp dword [ebp - 0x3c], 0
jne 0x4025d5
mov dword [esp], 0x6f
call sym._changeTextColor
cmp dword [ebp - 0x3c], 1
je 0x4025e1
cmp dword [ebp - 0x3c], 2
jne 0x4025ed
mov dword [esp], 0x73
call sym._changeTextColor
cmp dword [ebp - 0x3c], 3
jne 0x4025ff
mov dword [esp], 0x6d
call sym._changeTextColor
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sym._strdup
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x83f8]
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x186320]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
lea edx, [ebp - 0x186520]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str._r_s_s_s_s_s_____n
call sym._printf
mov dword [esp], 0x72
call sym._changeTextColor
add dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jl 0x401f9f
mov dword [esp], str._n____RESULTS____
call sym._puts
mov dword [ebp - 0x54], 0
jmp 0x402821
mov dword [ebp - 0x58], 0
jmp 0x402813
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8408]
test eax, eax
jle 0x40280f
cmp dword [ebp - 0x54], 0
jne 0x4026b5
mov dword [esp], 0x6f
call sym._changeTextColor
mov dword [ebp - 0x5c], str.Application
cmp dword [ebp - 0x54], 1
jne 0x4026ce
mov dword [esp], 0x73
call sym._changeTextColor
mov dword [ebp - 0x5c], str.Admin_Tool
cmp dword [ebp - 0x54], 2
jne 0x4026e7
mov dword [esp], 0x73
call sym._changeTextColor
mov dword [ebp - 0x5c], str.PUP_PUA
cmp dword [ebp - 0x54], 3
jne 0x402700
mov dword [esp], 0x6d
call sym._changeTextColor
mov dword [ebp - 0x5c], str.Malware
mov dword [ebp - 0x70], 0xf
mov ebx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x8418]
mov dword [esp], eax
call sym._strlen
mov edx, eax
mov eax, ebx
sub eax, edx
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jle 0x402753
mov dword [ebp - 0x60], 0
jmp 0x40274b
lea edx, [ebp - 0x8446]
mov eax, dword [ebp - 0x60]
add eax, edx
mov byte [eax], 0x20
add dword [ebp - 0x60], 1
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x70]
jl 0x402739
lea edx, [ebp - 0x8446]
mov eax, dword [ebp - 0x70]
add eax, edx
mov byte [eax], 0
mov dword [ebp - 0x70], 0x14
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sym._strlen
mov edx, eax
mov eax, ebx
sub eax, edx
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jle 0x4027a8
mov dword [ebp - 0x64], 0
jmp 0x4027a0
lea edx, [ebp - 0x845a]
mov eax, dword [ebp - 0x64]
add eax, edx
mov byte [eax], 0x20
add dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x70]
jl 0x40278e
lea edx, [ebp - 0x8446]
mov eax, dword [ebp - 0x70]
add eax, edx
mov byte [eax], 0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
add eax, edx
mov edx, dword [ebp + eax*4 - 0x8408]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
add eax, ecx
mov eax, dword [ebp + eax*4 - 0x8418]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x845a]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x8446]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str._s_s_s_s_d_string_s__n
call sym._printf
mov dword [esp], 0x72
call sym._changeTextColor
add dword [ebp - 0x58], 1
cmp dword [ebp - 0x58], 0
je 0x402685
add dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x54]
cmp eax, 3
jbe 0x402679
mov dword [esp], str._n_nScan_completed._n_NOTE:_This_scanner_relies_on_strings__which_means_false_positives_are_guaranteed._nthis_program_can_also_detect_itself_as_a_trojan_btw._thats_one_con_of_using_strings_for_avs____you_get_false_positives.
call sym._puts
mov eax, 0
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret