Function at 0x4130b0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2302
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x26c], eax
test eax, eax
je 0x413a79
mov eax, dword [0x4e3954]
mov edx, dword [eax + 0xc]
mov ecx, 0x4e3954
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x264], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov dword [ebp - 0x268], 2
jge 0x413142
push 0x400
lea ecx, [ebp - 0x264]
call fcn.00403a90
mov esi, dword [ebp - 0x264]
xor eax, eax
mov dword [esi - 0xc], 0x400
lea edi, [ebp - 0x260]
mov word [esi + 0x800], ax
mov byte [ebp - 0x259], 1
call fcn.00401060
mov eax, dword [eax]
push 0x4bee88
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413195
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
jne 0x4131f4
mov ebx, dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x400
push esi
push eax
call ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.config.ini
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call edi
test eax, eax
jne 0x4131f4
push 0x400
push esi
push eax
call ebx
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str...config.ini
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call edi
test eax, eax
jne 0x4131f4
mov byte [ebp - 0x259], al
mov edx, dword [0x4e3954]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3954
call eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x258], ecx
mov byte [ebp - 4], 1
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
add eax, 0xffffff80
or eax, edx
jge 0x413239
push 0x80
lea ecx, [ebp - 0x258]
call fcn.00403a90
mov ecx, dword [ebp - 0x258]
mov dword [ecx - 0xc], 0x80
mov eax, dword [ebp - 0x258]
xor edx, edx
cmp byte [ebp - 0x259], 1
mov word [eax + 0x100], dx
jne 0x413276
push esi
push 0x80
push ecx
push 0x4bcd08
push str.language
push 0x4beeb4
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
jmp 0x413288
push 2
push 0x4bef68
lea ecx, [ebp - 0x258]
call fcn.00403b30
lea ebx, [ebp - 0x258]
call fcn.00414750
mov ebx, eax
call fcn.004146a0
mov ecx, dword [ebp - 0x258]
push str.zh_tw
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413560
mov edx, dword [ebp - 0x258]
push 0x4bf234
push edx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413560
mov eax, dword [ebp - 0x258]
push str.zh_cn
push eax
call fcn.0048b118
add esp, 8
test eax, eax
je 0x41355c
mov ecx, dword [ebp - 0x258]
push 0x4bf248
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x41355c
mov edx, dword [ebp - 0x258]
push 0x4bf250
push edx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413555
mov eax, dword [ebp - 0x258]
push 0x4bef68
push eax
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413555
mov ecx, dword [ebp - 0x258]
push 0x4bd2bc
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x41354e
mov edx, dword [ebp - 0x258]
push 0x4bf258
push edx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x41354e
mov eax, dword [ebp - 0x258]
push str.pt_br
push eax
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413547
mov ecx, dword [ebp - 0x258]
push 0x4c02c0
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413547
mov edx, dword [ebp - 0x258]
push str.es_419
push edx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413540
mov eax, dword [ebp - 0x258]
push 0x4c02c8
push eax
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413540
mov ecx, dword [ebp - 0x258]
push 0x4c02d0
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413539
mov edx, dword [ebp - 0x258]
push 0x4bf27c
push edx
call fcn.0048b118
add esp, 8
test eax, eax
je 0x413539
mov eax, dword [ebp - 0x258]
push 0x4bd2b4
push eax
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x413442
lea edi, [eax + 0xb]
jmp 0x41356d
mov ecx, dword [ebp - 0x258]
push 0x4c02a8
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x413462
lea edi, [eax + 0xc]
jmp 0x41356d
mov edx, dword [ebp - 0x258]
push 0x4bd2ac
push edx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x413482
lea edi, [eax + 0xd]
jmp 0x41356d
mov eax, dword [ebp - 0x258]
push 0x4bf284
push eax
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x4134a2
lea edi, [eax + 0xe]
jmp 0x41356d
mov ecx, dword [ebp - 0x258]
push 0x4c02d8
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x4134c2
lea edi, [eax + 0xf]
jmp 0x41356d
mov edx, dword [ebp - 0x258]
push 0x4bef60
push edx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x4134e2
lea edi, [eax + 0x10]
jmp 0x41356d
mov eax, dword [ebp - 0x258]
push 0x4c02d8
push eax
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x4134ff
lea edi, [eax + 0xf]
jmp 0x41356d
mov ecx, dword [ebp - 0x258]
push 0x4c02b8
push ecx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x41351c
lea edi, [eax + 3]
jmp 0x41356d
mov edx, dword [ebp - 0x258]
push 0x4c02b0
push edx
call fcn.0048b118
add esp, 8
test eax, eax
jne 0x413567
lea edi, [eax + 0x11]
jmp 0x41356d
mov edi, 8
jmp 0x41356d
mov edi, 9
jmp 0x41356d
mov edi, 0xa
jmp 0x41356d
mov edi, 7
jmp 0x41356d
mov edi, 2
jmp 0x41356d
xor edi, edi
jmp 0x41356d
mov edi, 1
jmp 0x41356d
mov edi, dword [ebp - 0x268]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0048bd24
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0048bd24
mov edx, dword [ebp - 0x258]
mov dword [edx - 0xc], eax
mov edx, dword [ebp - 0x258]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, 7
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
xor edx, edx
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
mov byte [ebp - 4], 3
cmp edi, 0x12
ja case.0x4135e4.4
jmp dword [edi*4 + 0x413a98]
lea eax, [ebp - 0x238]
push eax
mov eax, 0x4bf290
call fcn.00404d70
lea ecx, [ebp - 0x254]
push ecx
mov eax, 0x4bf2f0
call fcn.00404d70
jmp 0x4137b4
mov eax, 0x4bf300
lea edx, [ebp - 0x238]
push edx
call fcn.00404d70
lea eax, [ebp - 0x254]
push eax
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
lea ecx, [ebp - 0x238]
push ecx
mov eax, str.360_Total_Security_files_have_been_damaged.__nPlease_reinstall_360_Total_Security_and_scan_for_viruses.__nDamaged_documents:
call fcn.00404d70
lea edx, [ebp - 0x254]
push edx
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
lea eax, [ebp - 0x238]
push eax
mov eax, 0x4bf4b0
call fcn.00404d70
lea ecx, [ebp - 0x254]
push ecx
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
mov eax, str.Os_arquivos_do_360_Total_Security_foram_danificados.__nReinstale_o_360_Total_Security_e_fa
jmp 0x413617
lea ecx, [ebp - 0x238]
push ecx
mov eax, str.360_Total_Security_dosyalar
call fcn.00404d70
lea edx, [ebp - 0x254]
push edx
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
lea eax, [ebp - 0x238]
push eax
mov eax, str.Los_archivos_de_360_Total_Security_han_sido_da
call fcn.00404d70
lea ecx, [ebp - 0x254]
push ecx
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
mov eax, 0x4bf9b0
jmp 0x413617
lea ecx, [ebp - 0x238]
push ecx
mov eax, str.360_Total_Security_____.__n360_Total_Security___________.__n_:
call fcn.00404d70
lea edx, [ebp - 0x254]
push edx
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
lea eax, [ebp - 0x238]
push eax
mov eax, str.360_Total_Security
call fcn.00404d70
lea ecx, [ebp - 0x254]
push ecx
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
mov eax, 0x4bfc70
jmp 0x413617
lea ecx, [ebp - 0x238]
push ecx
mov eax, str.Les_fichiers_de_360_Total_Security_ont
call fcn.00404d70
lea edx, [ebp - 0x254]
push edx
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
lea eax, [ebp - 0x238]
push eax
mov eax, str.I_file_di_360_Total_Security_sono_stati_danneggiati._nReinstalla_360_Total_Security_e_avvia_una_scansione_dei_virus._nDocumenti_danneggiati:
call fcn.00404d70
lea ecx, [ebp - 0x254]
push ecx
mov eax, 0x4bf38c
call fcn.00404d70
jmp 0x4137b4
mov eax, str.Pliki_aplikacji_360_Total_Security_zosta
jmp 0x413617
push 0x7b
mov eax, str.360_Total_Security_files_have_been_damaged.__nPlease_reinstall_360_Total_Security_and_scan_for_viruses.__nDamaged_documents:
lea esi, [ebp - 0x238]
call fcn.004052b0
push 0x12
mov eax, 0x4bf38c
lea esi, [ebp - 0x254]
call fcn.004052b0
mov esi, dword [ebp - 0x26c]
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4137c0
sub eax, edx
sar eax, 1
push esi
lea edx, [ebp - 0x238]
call fcn.0040adf0
mov edi, dword [ebp - 0x234]
mov eax, 8
cmp dword [ebp - 0x220], eax
jae 0x4137f4
lea edi, [ebp - 0x234]
mov esi, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], eax
jae 0x413808
lea esi, [ebp - 0x250]
push 0x14
push esi
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
push eax
call ebx
mov byte [ebp - 0x259], 0
cmp eax, 6
je 0x413837
test eax, eax
jne 0x413843
push 0x14
push esi
push edi
push eax
call ebx
cmp eax, 6
jne 0x413843
call fcn.00413af0
mov byte [ebp - 0x259], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x268], esp
push ecx
mov esi, str.UserExperience
mov dword [ebp - 0x260], 1
lea edi, [ebp - 0x260]
xor ebx, ebx
call fcn.00403c50
push ecx
mov edx, esp
mov dword [ebp - 0x270], esp
push edx
mov esi, str.SOFTWARE360TotalSecurityExperience
mov byte [ebp - 4], 4
call fcn.00403c50
lea eax, [ebp - 0x280]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004062d0
push eax
mov esi, edi
call fcn.00406430
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4138c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4138e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp dword [ebp - 0x260], ebx
je 0x4139c9
push 0x206
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x21c], cx
call fcn.0048f0a0
mov eax, dword [ebp - 0x26c]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.0048d153
add esp, 0x1c
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
xor eax, eax
cmp ax, word [ebp - 0x21c]
je 0x4139c9
mov edx, dword [0x4e3954]
mov eax, dword [edx + 0xc]
mov ecx, 0x4e3954
call eax
add eax, 0x10
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 5
mov eax, 0x4c013c
cmp byte [ebp - 0x259], bl
jne 0x413973
mov eax, 0x4c0140
mov ecx, dword [0x4e5050]
mov edx, dword [0x4e504c]
push ecx
mov ecx, dword [0x4e5048]
push edx
mov edx, dword [0x4e5044]
push ecx
mov ecx, dword [0x4e503c]
push edx
push ecx
push eax
mov eax, dword [0x4e50b8]
lea edx, [ebp - 0x21c]
push edx
push eax
push str._snosign.htm_f_sre_smid_sver_slan_sos_sch_s
lea edi, [ebp - 0x260]
call fcn.00406770
mov eax, dword [ebp - 0x260]
add esp, 0x24
call fcn.004550c0
mov ecx, edi
call fcn.00403710
mov edi, 8
cmp dword [ebp - 0x23c], edi
jb 0x4139e5
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00480ff0
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x220], edi
jb 0x413a16
mov eax, dword [ebp - 0x234]
push eax
call fcn.00480ff0
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], cl
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
mov word [ebp - 0x234], cx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413a50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413a79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 4