joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40afed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x80]
cmp eax, 0xffffffff
jne 0x40b023
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x20]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x40b0aa
lea edi, [eax + 1]
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0041e510
mov dword [ebp - 4], esp
push edi
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40b0aa
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 1
je 0x40b084
push 1
jmp 0x40b08a
test al, 2
je 0x40b08b
push 2
pop ecx
test al, 0xb
je 0x40b092
push 0x24
pop ecx
or cx, 0x210
lea eax, [ebp - 0x18]
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40c730
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c777
push 0x426738
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
mov dword [ebp + 8], 0xfeff
je 0x40c777
push esi
push 1
lea eax, [ebp + 8]
push 2
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop esi
pop ebp
ret 4
Function at 0x40ce5b
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ecx + 0x58], 0
push esi
je 0x40cedc
push dword [ecx + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x40cedc
push ebx
mov ebx, 0x42ac20
push edi
push ebx
call fcn.00414d40
and word [ebp - 0x208], 0
pop ecx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str._s360SEUP.dll
lea eax, [ebp - 0x208]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call esi
pop edi
pop ebx
test eax, eax
je 0x40cedc
push 4
lea eax, [ebp - 0x208]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
leave
ret

Function at 0x40cedf
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
and word [ebp - 0x208], 0
push esi
mov edx, 0x81
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x206]
and word [ebp - 0x410], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [ebp + 0xc]
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x40e]
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x103
push 0x424924
lea eax, [ebp - 0x208]
push edi
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
push str._s.bak
lea eax, [ebp - 0x410]
push edi
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x410]
push 0
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
leave
ret 8
Function at 0x40d115
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22ec
call fcn.0041e510
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x40d231
cmp word [ebx], si
je 0x40d231
mov ax, word [0x42b2ec]
push edi
mov word [ebp - 0x25c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x25a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x25c]
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x12a2]
mov word [ebp - 0x12a4], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x424548
lea eax, [ebp - 0x12a4]
push 0x823
push eax
call ebx
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x22ea]
mov word [ebp - 0x22ec], si
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x12a4]
push eax
lea eax, [ebp - 0x25c]
push str._post
push eax
push str._s__s_s
lea eax, [ebp - 0x22ec]
push 0x823
push eax
call ebx
add esp, 0x18
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x10], esi
push 0x10
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov word [ebp - 0x24], si
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x22ec]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
je 0x40d231
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop esi
pop ebx
leave
ret 4
Function at 0x40d237
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall23F3F476_BE34_4f48_9C77_2806A8393EC4
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov ebp, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [0x424504]
push 0x4245b8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x424548
push eax
call fcn.00403a35
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayName
push edi
push esi
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayIcon
push edi
push esi
call ebx
mov eax, dword [ebp + 4]
push 0x426cb8
add eax, 0x14
push 0x426cb4
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00410e94
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00410e94
lea ecx, [esp + 0x18]
call fcn.00403e0f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.UninstallString
push edi
push esi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push str.3.3.0.2
call ebp
pop ecx
shl eax, 1
push eax
push str.3.3.0.2
push 1
push str.DisplayVersion
push edi
push esi
call ebx
push 0x426c64
call ebp
pop ecx
shl eax, 1
push eax
push 0x426c64
push 1
push str.Publisher
push edi
push esi
call ebx
push str.www.360.cn
call ebp
pop ecx
shl eax, 1
push eax
push str.www.360.cn
push 1
push str.Publisher
push edi
push esi
call ebx
lea ecx, [esp + 0x14]
call fcn.00403e0f
lea ecx, [esp + 0x10]
call fcn.00403e0f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x40d359
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 4]
mov eax, dword [esi + 4]
add eax, 0x14
push eax
call fcn.0040730b
mov esi, dword [esi + 0x14]
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov edi, reloc.OLEAUT32.dll_SysReAllocString
mov eax, dword [esi - 8]
shl eax, 1
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
push 0x42b2ec
push ebx
push edi
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.Path
push ebx
push edi
call esi
push 0x5c
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcsrchr]
pop ecx
test eax, eax
pop ecx
je 0x40d3f3
sub eax, dword [ebp - 4]
sar eax, 1
cmp eax, 0xffffffff
je 0x40d3f3
push eax
lea eax, [ebp - 8]
push 0
push eax
lea ecx, [ebp - 4]
call fcn.004072ab
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.PathSub
push ebx
push edi
call esi
lea ecx, [ebp - 8]
call fcn.00403e0f
lea ecx, [ebp - 4]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d9a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x424504]
push ebx
push esi
mov esi, str.360se.exe
mov dword [ebp - 4], eax
mov eax, esi
xor ebx, ebx
push edi
test eax, eax
je 0x40d9d0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 4]
call fcn.0040854e
mov ecx, 0x83
xor eax, eax
lea edi, [ebp - 0x214]
mov byte [ebp - 0x230], 0x28
mov byte [ebp - 0x22f], 2
mov byte [ebp - 0x22e], bl
mov byte [ebp - 0x22d], bl
mov byte [ebp - 0x22c], 1
mov byte [ebp - 0x22b], bl
mov byte [ebp - 0x22a], bl
mov byte [ebp - 0x229], bl
mov byte [ebp - 0x228], bl
mov byte [ebp - 0x227], bl
mov byte [ebp - 0x226], 0x81
mov byte [ebp - 0x225], bl
mov byte [ebp - 0x224], bl
mov byte [ebp - 0x223], bl
mov byte [ebp - 0x222], bl
mov byte [ebp - 0x221], bl
mov byte [ebp - 0x220], 0x1a
mov byte [ebp - 0x21f], 0xe4
mov byte [ebp - 0x21e], 0x73
mov byte [ebp - 0x21d], 0xc
mov byte [ebp - 0x21c], 0x19
mov byte [ebp - 0x21b], 0xfb
mov byte [ebp - 0x21a], 0xca
mov byte [ebp - 0x219], 1
mov byte [ebp - 0x218], 0x21
mov byte [ebp - 0x217], bl
mov byte [ebp - 0x216], bl
mov byte [ebp - 0x215], bl
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
mov eax, dword [eax - 8]
add eax, eax
push eax
push 0x104
call fcn.00403d74
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x230]
mov dword [ebp - 8], ebx
push 0x228
push eax
push 3
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_ManagementARPCache23F3F476_BE34_4f48_9C77_2806A8393EC4
push str.SlowInfoCache
mov edi, SysReAllocString
push ebx
push edi
call esi
lea eax, [ebp - 8]
push 4
push eax
push 4
push str.Changed
push ebx
push edi
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40db0c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x424504]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
push esi
push edi
add eax, 0x14
push str.360se.exe
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410e94
push eax
lea ecx, [ebp - 4]
call fcn.00410e44
lea ecx, [ebp - 8]
call fcn.00403e0f
xor ebx, ebx
mov ecx, 0x83
xor eax, eax
lea edi, [ebp - 0x218]
mov byte [ebp - 0x234], 0x28
mov byte [ebp - 0x233], 2
mov byte [ebp - 0x232], bl
mov byte [ebp - 0x231], bl
mov byte [ebp - 0x230], 1
mov byte [ebp - 0x22f], bl
mov byte [ebp - 0x22e], bl
mov byte [ebp - 0x22d], bl
mov byte [ebp - 0x22c], bl
mov byte [ebp - 0x22b], bl
mov byte [ebp - 0x22a], 0x81
mov byte [ebp - 0x229], bl
mov byte [ebp - 0x228], bl
mov byte [ebp - 0x227], bl
mov byte [ebp - 0x226], bl
mov byte [ebp - 0x225], bl
mov byte [ebp - 0x224], bl
mov byte [ebp - 0x223], bl
mov byte [ebp - 0x222], bl
mov byte [ebp - 0x221], bl
mov byte [ebp - 0x220], bl
mov byte [ebp - 0x21f], bl
mov byte [ebp - 0x21e], bl
mov byte [ebp - 0x21d], bl
mov byte [ebp - 0x21c], bl
mov byte [ebp - 0x21b], bl
mov byte [ebp - 0x21a], bl
mov byte [ebp - 0x219], bl
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x234]
mov dword [ebp - 0xc], ebx
push 0x228
push eax
push 3
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionApp_ManagementARPCache23F3F476_BE34_4f48_9C77_2806A8393EC4
push str.SlowInfoCache
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push ebx
push edi
call esi
lea eax, [ebp - 0xc]
push 4
push eax
push 4
push str.Changed
push ebx
push edi
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e269
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
mov esi, str.360SEUP.dll
push edi
lea eax, [ebx + 0x18]
push esi
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00410e94
mov eax, dword [eax]
lea edi, [ebx + 0x1c]
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 8]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 0x10]
call fcn.00403e0f
mov ebx, dword [ebx + 0x14]
push str.360se.exe
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push ebx
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.00403e0f
mov ebx, str._seext.dll
lea eax, [ebp - 8]
push ebx
push dword [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
mov ebx, str.cloudurls.dat
lea eax, [ebp - 8]
push ebx
push dword [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
mov ebx, str._seup.exe
lea eax, [ebp - 8]
push ebx
push dword [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
mov ebx, str.UnInst360SE.exe
lea eax, [ebp - 8]
push ebx
push dword [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
mov ebx, str._sqlite3.dll
lea eax, [ebp - 8]
push ebx
push dword [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
mov ebx, str._seguide.exe
lea eax, [ebp - 8]
push ebx
push dword [ebp - 4]
push eax
call fcn.00410e94
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00410e94
mov eax, dword [eax]
push 0
push dword [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0xc]
call fcn.00403e0f
lea ecx, [ebp - 8]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f306
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 4]
cmp dword [eax + 8], esi
je 0x40f322
call fcn.004106f9
mov eax, dword [ebx + 4]
cmp dword [eax + 8], esi
je 0x40f360
push dword [ebx + 0xc]
push 0xffffffffffffffff
push str.FAVSOURCE
push 0x428a90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x40f34c
mov ecx, ebx
call fcn.00410814
jmp 0x40f360
cmp eax, 1
jne 0x40f360
mov ecx, ebx
call fcn.00410814
test eax, eax
je 0x40f55d
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 4]
push dword [eax + 0x2c]
lea eax, [ebp - 0x20c]
push 0x428a84
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebx + 4]
add esp, 0x10
cmp dword [eax + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jne 0x40f4d9
and word [ebp - 0xa2c], 0
mov edx, 0x81
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xa2a]
and word [ebp - 0xc34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xc32]
and word [ebp - 0x414], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x412]
and word [ebp - 0x61c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x61a]
and word [ebp - 0x824], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x822]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0x20c]
push eax
push 0x428a6c
lea eax, [ebp - 0xa2c]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x428a50
lea eax, [ebp - 0xc34]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x428a34
lea eax, [ebp - 0x414]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x428a18
lea eax, [ebp - 0x61c]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x4289fc
lea eax, [ebp - 0x824]
push 0x103
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0xa2c]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x61c]
push eax
call esi
lea eax, [ebp - 0x824]
push eax
call esi
mov eax, dword [ebx + 4]
push 0x4289d8
push 0x2c
pop edi
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00410e94
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
mov eax, dword [ebx + 4]
push 0x4289b8
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00410e94
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
mov eax, dword [ebx + 4]
push 0x42899c
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00410e94
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
mov eax, dword [ebx + 4]
push 0x428980
add eax, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.00410e94
push dword [eax]
call esi
lea ecx, [ebp - 4]
call fcn.00403e0f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41021c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
and word [ebp - 0x20c], 0
push ebx
push esi
mov esi, ecx
mov ebx, 0x81
push edi
push dword [esi + 0xc]
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
push 0
push str.IsSave
push str.AddUnstall
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
and word [ebp - 0x414], 0
mov dword [ebp - 4], eax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x412]
push dword [esi + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x414]
push 0x104
push eax
mov ebx, 0x4290e4
push 0x42b2ec
mov edi, str.Main
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x414], 0
je 0x4102a9
cmp dword [ebp - 4], 1
jne 0x4102b9
push dword [esi + 0xc]
push 0x42a810
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esi + 4]
cmp dword [eax + 8], 0
je 0x4102cc
push dword [esi + 0x18]
push str._s_seup.exe__reinstall
jmp 0x4102e1
cmp dword [esi + 0x20], 0
push dword [esi + 0x18]
jne 0x4102dc
push str._s_seup.exe__install__m
jmp 0x4102e1
push str._s_seup.exe__install
lea eax, [ebp - 0x20c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
call fcn.00414608
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4105fa
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 8]
cmp dword [eax - 8], edi
je 0x4106f5
push str.3.1.0.0
push eax
call fcn.00414ab7
pop ecx
test eax, eax
pop ecx
jge 0x410637
push dword [esi + 0xc]
push edi
push 0x428ed8
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esi + 8]
push ebx
push str.3.1.0.2
push eax
call fcn.00414ab7
pop ecx
cmp eax, edi
pop ecx
jge 0x410662
push dword [esi + 0xc]
push edi
push str.PluginBarText
push str.option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x410664
jne 0x4106cc
mov edi, str.NowLogin.ini
lea ebx, [esi + 0x10]
push edi
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
call fcn.00403e0f
cmp dword [ebp - 8], 0
je 0x4106cc
push str.NowLogin_bak.ini
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00410e94
mov eax, dword [eax]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push ebx
push eax
call fcn.00410e94
push dword [ebp - 8]
mov eax, dword [eax]
push eax
call fcn.0041502d
pop ecx
pop ecx
lea ecx, [ebp - 4]
call fcn.00403e0f
lea ecx, [ebp - 0xc]
call fcn.00403e0f
mov eax, dword [esi + 8]
push str.3.0.2.6
push eax
call fcn.00414ab7
pop ecx
pop ecx
pop ebx
test eax, eax
jne 0x4106f5
push dword [esi + 0xc]
push eax
push str.1002
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
leave
ret
Function at 0x4106f9
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1458
call fcn.0041e510
and word [ebp - 0x410], 0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x40e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [edx + 4]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, 0x103
push dword [eax + 0x2c]
lea eax, [ebp - 0x410]
push 0x428a84
push ebx
push eax
call esi
and word [ebp - 0x208], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
add esp, 0x10
stosw word es:[edi], ax
lea eax, [ebp - 0x410]
push eax
push 0x4292e8
lea eax, [ebp - 0x208]
push ebx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
jne 0x41080f
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41080f
and word [ebp - 0x1458], 0
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x1456]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x1458]
push 0x823
push eax
push 0x42b2ec
push 0x4292e0
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x1458], 0
je 0x41080f
lea eax, [ebp - 0x1458]
push eax
push str.http:__avc.360.cn_index.html_a6073
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x41080f
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
leave
ret