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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5670f2
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5c3678]
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 0x47c893
mov eax, dword [0x5cc90c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5cc90c
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 0x47bf5d
mov ecx, 0x400
lea eax, [ebp - 0x264]
call fcn.00423b90
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.00401c90
mov eax, dword [eax]
push 0x58d248
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 0x47bfb0
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 0x47c011
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 0x47c011
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 0x47c011
mov byte [ebp - 0x259], al
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
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 0x47c056
mov ecx, 0x80
lea eax, [ebp - 0x258]
call fcn.00423b90
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 0x47c093
push ebx
push 0x80
push ecx
push 0x57fde0
push 0x58a158
push 0x58a16c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x47c0a6
push 2
push 0x58a634
lea ecx, [ebp - 0x258]
push ecx
call fcn.00423be0
lea edx, [ebp - 0x258]
push edx
call fcn.00420720
push eax
call fcn.00420690
mov eax, dword [ebp - 0x258]
push str.zh_tw
push eax
call fcn.0053cead
add esp, 8
mov esi, 7
test eax, eax
je 0x47c380
mov ecx, dword [ebp - 0x258]
push 0x58c758
push ecx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c380
mov edx, dword [ebp - 0x258]
push str.zh_cn
push edx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c37c
mov eax, dword [ebp - 0x258]
push 0x58c760
push eax
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c37c
mov ecx, dword [ebp - 0x258]
push 0x58c750
push ecx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c375
mov edx, dword [ebp - 0x258]
push 0x58a634
push edx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c375
mov eax, dword [ebp - 0x258]
push 0x58c7a0
push eax
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c371
mov ecx, dword [ebp - 0x258]
push 0x58d2f0
push ecx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c371
mov edx, dword [ebp - 0x258]
push str.pt_br
push edx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c36a
mov eax, dword [ebp - 0x258]
push 0x58c788
push eax
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c36a
mov ecx, dword [ebp - 0x258]
push str.es_419
push ecx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c363
mov edx, dword [ebp - 0x258]
push 0x58c790
push edx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c363
mov eax, dword [ebp - 0x258]
push 0x58c798
push eax
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c35c
mov ecx, dword [ebp - 0x258]
push 0x58d314
push ecx
call fcn.0053cead
add esp, 8
test eax, eax
je 0x47c35c
mov edx, dword [ebp - 0x258]
push 0x58c770
push edx
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c265
lea edi, [esi + 4]
jmp 0x47c385
mov eax, dword [ebp - 0x258]
push 0x58c778
push eax
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c285
lea edi, [eax + 0xc]
jmp 0x47c385
mov ecx, dword [ebp - 0x258]
push 0x58c748
push ecx
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c2a5
lea edi, [eax + 0xd]
jmp 0x47c385
mov edx, dword [ebp - 0x258]
push 0x58c740
push edx
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c2c5
lea edi, [eax + 0xe]
jmp 0x47c385
mov eax, dword [ebp - 0x258]
push 0x58c7a8
push eax
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c2e5
lea edi, [eax + 0xf]
jmp 0x47c385
mov ecx, dword [ebp - 0x258]
push 0x58c768
push ecx
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c305
lea edi, [eax + 0x10]
jmp 0x47c385
mov edx, dword [ebp - 0x258]
push 0x58c7a8
push edx
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c322
lea edi, [eax + 0xf]
jmp 0x47c385
mov eax, dword [ebp - 0x258]
push 0x58c780
push eax
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c33f
lea edi, [eax + 3]
jmp 0x47c385
mov ecx, dword [ebp - 0x258]
push 0x58e2e8
push ecx
call fcn.0053cead
add esp, 8
test eax, eax
jne 0x47c385
lea edi, [eax + 0x11]
jmp 0x47c385
mov edi, 8
jmp 0x47c385
mov edi, 9
jmp 0x47c385
mov edi, 0xa
jmp 0x47c385
mov edi, esi
jmp 0x47c385
mov edi, 2
jmp 0x47c385
xor edi, edi
jmp 0x47c385
mov edi, 1
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0053cd7d
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.0053cd7d
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.0x47c3f5.4
jmp dword [edi*4 + 0x47c8b4]
lea ecx, [ebp - 0x238]
push ecx
mov edx, 0x58d320
call fcn.0040eb50
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58d380
call fcn.0040eb50
jmp 0x47c5c5
mov edx, 0x58d390
lea eax, [ebp - 0x238]
push eax
call fcn.0040eb50
lea ecx, [ebp - 0x254]
push ecx
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
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.0040eb50
lea eax, [ebp - 0x254]
push eax
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
lea ecx, [ebp - 0x238]
push ecx
mov edx, 0x58d540
call fcn.0040eb50
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
mov edx, str.Os_arquivos_do_360_Total_Security_foram_danificados.__nReinstale_o_360_Total_Security_e_fa
jmp 0x47c428
lea edx, [ebp - 0x238]
push edx
mov edx, str.360_Total_Security_dosyalar
call fcn.0040eb50
lea eax, [ebp - 0x254]
push eax
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
lea ecx, [ebp - 0x238]
push ecx
mov edx, str.Los_archivos_de_360_Total_Security_han_sido_da
call fcn.0040eb50
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
mov edx, 0x58da40
jmp 0x47c428
lea edx, [ebp - 0x238]
push edx
mov edx, str.360_Total_Security_____.__n360_Total_Security___________.__n_:
call fcn.0040eb50
lea eax, [ebp - 0x254]
push eax
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
lea ecx, [ebp - 0x238]
push ecx
mov edx, str.360_Total_Security
call fcn.0040eb50
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
mov edx, 0x58dd00
jmp 0x47c428
lea edx, [ebp - 0x238]
push edx
mov edx, str.Les_fichiers_de_360_Total_Security_ont
call fcn.0040eb50
lea eax, [ebp - 0x254]
push eax
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
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.0040eb50
lea edx, [ebp - 0x254]
push edx
mov edx, 0x58d41c
call fcn.0040eb50
jmp 0x47c5c5
mov edx, str.Pliki_aplikacji_360_Total_Security_zosta
jmp 0x47c428
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.0040ebb0
push 0x12
push 0x58d41c
lea esi, [ebp - 0x254]
call fcn.0040ebb0
mov esi, dword [ebp - 0x268]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c5d0
sub eax, edx
sar eax, 1
push eax
push esi
lea eax, [ebp - 0x238]
call fcn.00411aa0
cmp dword [ebp - 0x220], 8
mov edi, dword [ebp - 0x234]
jae 0x47c601
lea edi, [ebp - 0x234]
cmp dword [ebp - 0x23c], 8
mov esi, dword [ebp - 0x250]
jae 0x47c616
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 0x47c647
test eax, eax
jne 0x47c653
push 0x14
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x47c653
call fcn.0047c900
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.00423950
push ecx
mov eax, esp
mov dword [ebp - 0x270], esp
push eax
mov ecx, str.SOFTWARE360TotalSecurityExperience
mov byte [ebp - 4], 4
call fcn.00423950
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x280]
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00423390
push eax
call fcn.00421dd0
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 0x47c6d3
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 0x47c6f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x260], 0
je 0x47c7e1
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x21a]
push edx
mov word [ebp - 0x21c], cx
call fcn.00544310
mov eax, dword [ebp - 0x268]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.0053e78e
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 0x47c7e1
mov edx, dword [0x5cc90c]
mov eax, dword [edx + 0xc]
mov ecx, 0x5cc90c
call eax
add eax, 0x10
mov dword [ebp - 0x260], eax
cmp byte [ebp - 0x259], 0
mov byte [ebp - 4], 5
mov eax, 0x58e1cc
jne 0x47c786
mov eax, 0x58e1d0
mov ecx, dword [0x5cfb40]
mov edx, dword [0x5cfb3c]
push ecx
mov ecx, dword [0x5cfb38]
push edx
mov edx, dword [0x5cfb34]
push ecx
mov ecx, dword [0x5cfb2c]
push edx
push ecx
push eax
mov eax, dword [0x5cfba8]
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.004235e0
mov eax, dword [ebp - 0x260]
push 0xfa0
call fcn.0052c8c0
add esp, 0x28
mov ecx, edi
call fcn.00423d60
mov edi, 8
cmp dword [ebp - 0x23c], edi
jb 0x47c7fd
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0053c152
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 0x47c832
mov eax, dword [ebp - 0x234]
push eax
call fcn.0053c152
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 0x47c870
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 0x47c893
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.0053c15d
mov esp, ebp
pop ebp
ret 4