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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568782
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5c5678]
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 - 0x268], eax
test eax, eax
je 0x47ddd3
mov eax, dword [0x5ce94c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ce94c
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x264], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x400
or eax, ecx
mov edi, 2
jge 0x47d49d
mov ecx, 0x400
lea eax, [ebp - 0x264]
call fcn.00425370
mov ebx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebx - 0xc], 0x400
lea esi, [ebp - 0x260]
mov word [ebx + 0x800], ax
mov byte [ebp - 0x259], 1
call fcn.00401d30
mov eax, dword [eax]
push 0x58f5d0
push eax
push ebx
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 0x47d4f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
jne 0x47d551
push 0x400
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.config.ini
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
call esi
test eax, eax
jne 0x47d551
push 0x400
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str...config.ini
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
call esi
test eax, eax
jne 0x47d551
mov byte [ebp - 0x259], al
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
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 0x47d596
mov ecx, 0x80
lea eax, [ebp - 0x258]
call fcn.00425370
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 0x47d5d3
push ebx
push 0x80
push ecx
push 0x582044
push 0x58c4b8
push 0x58c4cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x47d5e6
push 2
push 0x58c9b4
lea ecx, [ebp - 0x258]
push ecx
call fcn.004253c0
lea edx, [ebp - 0x258]
push edx
call fcn.00421ef0
push eax
call fcn.00421e60
mov eax, dword [ebp - 0x258]
push str.zh_tw
push eax
call fcn.0053e4dd
add esp, 8
mov esi, 7
test eax, eax
je 0x47d8c0
mov ecx, dword [ebp - 0x258]
push 0x58eae0
push ecx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8c0
mov edx, dword [ebp - 0x258]
push str.zh_cn
push edx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8bc
mov eax, dword [ebp - 0x258]
push 0x58eae8
push eax
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8bc
mov ecx, dword [ebp - 0x258]
push 0x58ead8
push ecx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8b5
mov edx, dword [ebp - 0x258]
push 0x58c9b4
push edx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8b5
mov eax, dword [ebp - 0x258]
push 0x58eb28
push eax
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8b1
mov ecx, dword [ebp - 0x258]
push 0x58f678
push ecx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8b1
mov edx, dword [ebp - 0x258]
push str.pt_br
push edx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8aa
mov eax, dword [ebp - 0x258]
push 0x58eb10
push eax
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8aa
mov ecx, dword [ebp - 0x258]
push str.es_419
push ecx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8a3
mov edx, dword [ebp - 0x258]
push 0x58eb18
push edx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d8a3
mov eax, dword [ebp - 0x258]
push 0x58eb20
push eax
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d89c
mov ecx, dword [ebp - 0x258]
push 0x58f69c
push ecx
call fcn.0053e4dd
add esp, 8
test eax, eax
je 0x47d89c
mov edx, dword [ebp - 0x258]
push 0x58eaf8
push edx
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d7a5
lea edi, [esi + 4]
jmp 0x47d8c5
mov eax, dword [ebp - 0x258]
push 0x58eb00
push eax
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d7c5
lea edi, [eax + 0xc]
jmp 0x47d8c5
mov ecx, dword [ebp - 0x258]
push 0x58ead0
push ecx
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d7e5
lea edi, [eax + 0xd]
jmp 0x47d8c5
mov edx, dword [ebp - 0x258]
push 0x58eac8
push edx
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d805
lea edi, [eax + 0xe]
jmp 0x47d8c5
mov eax, dword [ebp - 0x258]
push 0x58eb30
push eax
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d825
lea edi, [eax + 0xf]
jmp 0x47d8c5
mov ecx, dword [ebp - 0x258]
push 0x58eaf0
push ecx
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d845
lea edi, [eax + 0x10]
jmp 0x47d8c5
mov edx, dword [ebp - 0x258]
push 0x58eb30
push edx
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d862
lea edi, [eax + 0xf]
jmp 0x47d8c5
mov eax, dword [ebp - 0x258]
push 0x58eb08
push eax
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d87f
lea edi, [eax + 3]
jmp 0x47d8c5
mov ecx, dword [ebp - 0x258]
push 0x590670
push ecx
call fcn.0053e4dd
add esp, 8
test eax, eax
jne 0x47d8c5
lea edi, [eax + 0x11]
jmp 0x47d8c5
mov edi, 8
jmp 0x47d8c5
mov edi, 9
jmp 0x47d8c5
mov edi, 0xa
jmp 0x47d8c5
mov edi, esi
jmp 0x47d8c5
mov edi, 2
jmp 0x47d8c5
xor edi, edi
jmp 0x47d8c5
mov edi, 1
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0053e3ad
mov dword [ebx - 0xc], eax
xor edx, edx
mov word [ebx + eax*2], dx
mov eax, dword [ebp - 0x258]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0053e3ad
mov ecx, dword [ebp - 0x258]
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x258]
xor edx, edx
mov word [ecx + eax*2], dx
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], eax
mov word [ebp - 0x234], dx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], eax
mov word [ebp - 0x250], ax
mov byte [ebp - 4], 3
cmp edi, 0x12
ja case.0x47d935.4
jmp dword [edi*4 + 0x47ddf4]
lea ecx, [ebp - 0x238]
push ecx
mov edx, 0x58f6a8
call fcn.0040f510
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58f708
call fcn.0040f510
jmp 0x47db05
mov edx, 0x58f718
lea eax, [ebp - 0x238]
push eax
call fcn.0040f510
lea ecx, [ebp - 0x254]
push ecx
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
lea edx, [ebp - 0x238]
push edx
mov edx, str.360_Total_Security_files_have_been_damaged.__nPlease_reinstall_360_Total_Security_and_scan_for_viruses.__nDamaged_documents:
call fcn.0040f510
lea eax, [ebp - 0x254]
push eax
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
lea ecx, [ebp - 0x238]
push ecx
mov edx, 0x58f8c8
call fcn.0040f510
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
mov edx, str.Os_arquivos_do_360_Total_Security_foram_danificados.__nReinstale_o_360_Total_Security_e_fa
jmp 0x47d968
lea edx, [ebp - 0x238]
push edx
mov edx, str.360_Total_Security_dosyalar
call fcn.0040f510
lea eax, [ebp - 0x254]
push eax
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
lea ecx, [ebp - 0x238]
push ecx
mov edx, str.Los_archivos_de_360_Total_Security_han_sido_da
call fcn.0040f510
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
mov edx, 0x58fdc8
jmp 0x47d968
lea edx, [ebp - 0x238]
push edx
mov edx, str.360_Total_Security_____.__n360_Total_Security___________.__n_:
call fcn.0040f510
lea eax, [ebp - 0x254]
push eax
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
lea ecx, [ebp - 0x238]
push ecx
mov edx, str.360_Total_Security
call fcn.0040f510
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
mov edx, 0x590088
jmp 0x47d968
lea edx, [ebp - 0x238]
push edx
mov edx, str.Les_fichiers_de_360_Total_Security_ont
call fcn.0040f510
lea eax, [ebp - 0x254]
push eax
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
lea ecx, [ebp - 0x238]
push ecx
mov edx, str.I_file_di_360_Total_Security_sono_stati_danneggiati._nReinstalla_360_Total_Security_e_avvia_una_scansione_dei_virus._nDocumenti_danneggiati:
call fcn.0040f510
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58f7a4
call fcn.0040f510
jmp 0x47db05
mov edx, str.Pliki_aplikacji_360_Total_Security_zosta
jmp 0x47d968
push 0x7b
push 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.0040f460
push 0x12
push 0x58f7a4
lea esi, [ebp - 0x254]
call fcn.0040f460
mov esi, dword [ebp - 0x268]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47db10
sub eax, edx
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x238]
call fcn.00412530
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x47db41
lea edi, [ebp - 0x234]
cmp dword [ebp - 0x23c], 8
mov esi, dword [ebp - 0x250]
jae 0x47db56
lea esi, [ebp - 0x250]
push 0x14
push esi
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 0x259], 0
cmp eax, 6
je 0x47db87
test eax, eax
jne 0x47db93
push 0x14
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x47db93
call fcn.0047de50
mov byte [ebp - 0x259], 1
push ecx
mov edx, esp
mov dword [ebp - 0x26c], esp
push edx
mov ecx, str.UserExperience
mov dword [ebp - 0x260], 1
lea esi, [ebp - 0x260]
xor edi, edi
call fcn.00425130
push ecx
mov eax, esp
mov dword [ebp - 0x270], esp
push eax
mov ecx, str.SOFTWARE360TotalSecurityExperience
mov byte [ebp - 4], 4
call fcn.00425130
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x280]
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00424b70
push eax
call fcn.004234b0
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47dc13
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 0x47dc35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x260], 0
je 0x47dd21
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x21a]
push edx
mov word [ebp - 0x21c], cx
call fcn.00545940
mov eax, dword [ebp - 0x268]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.0053fdbe
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 0x47dd21
mov edx, dword [0x5ce94c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5ce94c
call eax
add eax, 0x10
mov dword [ebp - 0x260], eax
cmp byte [ebp - 0x259], 0
mov byte [ebp - 4], 5
mov eax, 0x590554
jne 0x47dcc6
mov eax, 0x590558
mov ecx, dword [0x5d1b88]
mov edx, dword [0x5d1b84]
push ecx
mov ecx, dword [0x5d1b80]
push edx
mov edx, dword [0x5d1b7c]
push ecx
mov ecx, dword [0x5d1b74]
push edx
push ecx
push eax
mov eax, dword [0x5d1bf0]
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.00424dc0
mov eax, dword [ebp - 0x260]
push 0xfa0
call fcn.0052de90
add esp, 0x28
mov ecx, edi
call fcn.00425530
mov edi, 8
cmp dword [ebp - 0x23c], edi
jb 0x47dd3d
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0053d782
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x220], edi
jb 0x47dd72
mov eax, dword [ebp - 0x234]
push eax
call fcn.0053d782
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], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47ddb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ddd3
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
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.0053d78d
mov esp, ebp
pop ebp
ret 4