joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4834cb
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
mov eax, 0x4cf97f
call fcn.004cc470
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocStringLen
push dword [0x50fa34]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48356d
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48350f
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x80000
jb 0x48356c
mov eax, dword [0x50fa34]
add eax, 0xfffffff0
call fcn.00401367
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.004835e3
mov edi, dword [ebp - 0x10]
mov ebx, dword [0x50fa34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [edi - 0x10]
call fcn.004011c0
pop edi
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x483920
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ce367
call fcn.004cc470
sub esp, 0x98
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0xa4], vtable.KMD5.0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
lea eax, [esi + 4]
add esi, 0x14
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], esi
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
mov eax, edi
mov byte [ebp - 4], 1
call fcn.00483ac2
test eax, eax
je 0x483a95
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
je 0x483a9d
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x483a9d
push 0x5c
lea esi, [ebp - 0x14]
call fcn.00432841
cmp eax, 0xffffffff
je 0x483a9d
lea edx, [eax + 1]
lea eax, [ebp - 0x28]
push eax
mov eax, esi
call fcn.00432797
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff4
mov byte [ebp - 4], 2
call fcn.004013bf
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.004011c0
mov byte [ebp - 0x40], 0
xor eax, eax
lea edi, [ebp - 0x3f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea edi, [ebp - 0xa4]
call fcn.0044afb6
test eax, eax
je 0x483a9d
push 0x10
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004979b0
mov eax, dword [0x50dc24]
add esp, 0xc
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
xor esi, esi
movzx eax, byte [ebp + esi - 0x40]
push eax
push 0x4ed040
lea ecx, [ebp - 0x1c]
call fcn.004134b9
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x483a3c
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], 0
je 0x483a6b
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
call fcn.004013bf
mov edi, dword [ebp - 0x24]
lea eax, [esi - 0x10]
call fcn.004011c0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
call fcn.004011c0
inc dword [ebp - 0x20]
add dword [ebp - 0x18], 4
cmp dword [ebp - 0x20], 3
jl 0x483964
jmp 0x483aa5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x483aa0
lea eax, [ebx - 0x10]
call fcn.004011c0
lea ecx, [ebp - 0xa4]
call fcn.0044af8c
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x483ac2
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x440
push ebx
push esi
xor esi, esi
cmp dword [ecx], esi
push edi
jne 0x483ade
xor eax, eax
jmp 0x483c23
cmp eax, esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
je 0x483c20
cmp eax, 4
je 0x483c20
cmp eax, 8
je 0x483c20
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push esi
push 0x400
call ebx
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x483c20
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 0x18
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0xc]
call dword [eax]
test eax, eax
jne 0x483c0b
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x483c0b
cmp eax, 8
je 0x483c0b
push eax
push esi
push 0x410
call ebx
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x483c0b
mov ebx, 0x206
push ebx
lea eax, [ebp - 0x232]
push esi
push eax
mov word [ebp - 0x234], si
call fcn.00495180
add esp, 0xc
push 0x103
lea eax, [ebp - 0x234]
push eax
push esi
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x483be9
push ebx
lea eax, [ebp - 0x43a]
push esi
push eax
mov word [ebp - 0x43c], si
call fcn.00495180
add esp, 0xc
push 0x104
lea eax, [ebp - 0x43c]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x483c0b
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.00483c2a
test eax, eax
je 0x483c0b
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x483bf5
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 0xc]
call fcn.00432935
mov dword [ebp - 0x10], 1
push dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp - 8], esi
je 0x483c20
push dword [ebp - 8]
call edi
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x483c2a
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x4bc
push edi
xor edi, edi
cmp dword [ebp + 0x7c], edi
jne 0x483c44
xor eax, eax
jmp 0x483d07
push ebx
push esi
lea eax, [ebp - 0x44c]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x483cf7
cmp word [ebp - 0x44c], di
mov dword [ebp + 0x6c], edi
je 0x483cf7
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea esi, [ebp - 0x44c]
push 0x4ede20
push esi
call ebx
test eax, eax
je 0x483ce1
push 0x4ede28
push esi
call ebx
test eax, eax
je 0x483ce1
mov ax, word [esi]
and word [ebp + 0x68], 0
mov word [ebp + 0x64], ax
mov ax, word [ebp + edi - 0x44a]
mov word [ebp + 0x66], ax
push 0x64
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x483d03
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp + 0x78]
mov esi, eax
push esi
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.0049a7bc
add esp, 0xc
test eax, eax
je 0x483d0f
add dword [ebp + 0x6c], 4
mov edi, dword [ebp + 0x6c]
add edi, edi
lea esi, [ebp + edi - 0x44c]
cmp word [esi], 0
jne 0x483c7c
push dword [ebp + 0x78]
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
pop esi
pop ebx
pop edi
add ebp, 0x70
leave
ret 8
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [edi + esi*2]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
inc eax
jmp 0x483d05
Function at 0x483dc9
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, dword [eax + 8]
inc ebx
cmp ecx, ebx
jne 0x483eea
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x483df1
mov ecx, edi
call fcn.00485244
mov eax, ebx
jmp 0x483ef3
cmp eax, 2
jne 0x483e10
lea ecx, [edi + 0x602]
xor eax, eax
cmp byte [ecx], al
jne 0x483e04
mov byte [ecx], bl
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x483dea
cmp eax, 0x65
jne 0x483e1c
call fcn.00485340
jmp 0x483dea
cmp eax, 0x66
jne 0x483e36
xor eax, eax
cmp dword [edi + 0x594], eax
mov esi, edi
sete al
push eax
call fcn.004862e8
jmp 0x483dea
cmp eax, 0x191
jne 0x483e71
xor ecx, ecx
mov eax, edi
call fcn.0040cf4d
call fcn.0047f18a
test eax, eax
je 0x483dea
xor eax, eax
push eax
push eax
push 2
push 2
push 0x4e7078
push eax
push eax
push 0x4e7088
push eax
call fcn.0040acb1
add esp, 0x24
jmp 0x483dea
cmp eax, 0x96
jne 0x483e99
push dword [edi + 0x5c0]
push dword [edi + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
push edi
call fcn.00484ded
jmp 0x483dea
cmp eax, 0x1f5
jne 0x483eaa
call fcn.0048542e
jmp 0x483dea
cmp eax, 0xa0
jne 0x483eda
push ebx
xor eax, eax
push eax
push eax
push str.https:__www.ijinshan.com_privacy_duba_enduserlicenseandsevice_agreement.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x483dea
call fcn.0048551e
jmp 0x483dea
cmp eax, 0x68
jne 0x483eea
push edi
call fcn.00486029
jmp 0x483dea
and dword [edi + 0x5c4], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x484349
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4843ba
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4843ba
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x4ef760]
fnstsw ax
test ah, 1
jne 0x4843ba
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x484547
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4d10c8
call fcn.004cc470
sub esp, 0x408
push esi
push edi
xor esi, esi
push 0x3fe
lea eax, [ebp - 0x412]
push esi
mov dword [ebp - 0x14], esi
push eax
mov edi, str.https:__wpa1.qq.com_5ciKQjBf__typewpaqidiantrue
mov dword [ebp - 0x14], str.MarketQQLink
mov word [ebp - 0x414], si
call fcn.00495180
add esp, 0xc
test byte [0x50fbec], 1
jne 0x4845ad
or dword [0x50fbec], 1
mov dword [ebp - 4], esi
call fcn.004843c0
push 0x4d2f5e
call fcn.00494c94
or dword [ebp - 4], 0xffffffff
pop ecx
mov eax, dword [0x50fb30]
cmp eax, esi
je 0x4845cc
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test al, al
je 0x4845cc
mov edi, str.https:__wpa1.qq.com_FDdK6y0s__typewpaqidiantrue
mov dword [ebp - 0x14], str.VipMarketQQLink
push esi
lea ecx, [ebp - 0x10]
call fcn.0047c322
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call fcn.0047c50f
pop ecx
pop ecx
push str.dataoperation_contact.dat
lea eax, [ebp - 0x10]
push eax
call fcn.00432697
push dword [ebp - 0x10]
lea eax, [ebp - 0x414]
push 0x200
push eax
push edi
push dword [ebp - 0x14]
push str.FeedBack
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 8]
call fcn.0043295b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4853f1
Capabilities:
Hide graphical window

Disassembly:
dec eax
push esi
mov esi, ecx
je 0x485427
dec eax
je 0x485420
dec eax
je 0x485408
dec eax
jne 0x48542c
push esi
call fcn.0048720c
pop esi
ret
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
pop esi
ret
call fcn.00485e58
pop esi
ret
call fcn.00485809
pop esi
ret
Function at 0x48551e
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4cf97f
call fcn.004cc470
push ecx
push ecx
push esi
push 1
push 0
mov esi, str.https:__www.ijinshan.com_privacy_duba_enduserlicenseandsevice_agreement.html
push esi
push str.IEXPLORE.EXE
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x485570
lea eax, [ebp - 0x10]
push eax
call fcn.0047ec52
pop ecx
and dword [ebp - 4], 0
push esi
push dword [ebp - 0x10]
call fcn.0047e331
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x48557d
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, 0x4ce33a
call fcn.004cc470
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov esi, ecx
and dword [ebp - 4], 0
push 0x66
push dword [0x50dc48]
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, eax
mov eax, dword [esi + 4]
mov dword [esi + 0x650], eax
lea eax, [ebp - 0x14]
push 0x4ee0e8
lea edi, [esi + 0x64c]
lea ecx, [esi + 0x62c]
push eax
mov dword [ebp - 0x18], ebx
mov dword [esi + 0x660], ebx
mov dword [edi], 0x3b8
mov dword [esi + 0x658], 7
mov dword [esi + 0x65c], 0x468
mov dword [esi + 0x96c], 3
mov dword [esi + 0x654], 2
call fcn.0041c66b
push dword [eax]
add esi, 0x664
push 0x80
push esi
call fcn.0049510c
mov eax, dword [ebp - 0x14]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004011c0
push edi
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x485636
mov dword [ebp - 0x10], 1
test ebx, ebx
je 0x485641
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x485f61
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.0047e843
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x486022
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x485fa4
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x486022
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004327b5
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.004011c0
test bl, bl
je 0x485fd1
push 2
pop eax
jmp 0x486025
push edi
call fcn.00485ed5
test eax, eax
pop ecx
je 0x485fe0
mov eax, esi
jmp 0x486025
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004327b5
push dword [eax]
call fcn.00484349
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.004011c0
test bl, bl
je 0x48600f
push 4
jmp 0x485fce
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x48601e
push 5
jmp 0x485fce
xor eax, eax
jmp 0x486025
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x486029
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4d106f
call fcn.004cc470
sub esp, 0x444
push ebx
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x44e]
push edi
push eax
mov word [ebp - 0x450], di
call fcn.00495180
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push 0x11
push dword [eax + 4]
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.004011f9
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
jge 0x4860b6
push 0x80070057
call fcn.0040131e
mov esi, 0x4ee3cc
mov dword [eax - 0xc], edi
push esi
mov word [eax], di
call fcn.00495089
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.00401400
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x38], eax
call fcn.0040bbb0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], 0x4ee3d8
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
cmp esi, edi
je 0x4861d6
push 0x206
lea eax, [ebp - 0x246]
push edi
push eax
mov word [ebp - 0x248], di
call fcn.00495180
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x248]
push eax
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0047e843
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.004326ba
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004011c0
push str.kingsoft_antivirus_
lea eax, [ebp - 0x14]
push eax
call fcn.00432697
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push ebx
push dword [eax + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [ebp - 0x14]
call fcn.00485f61
mov esi, dword [ebp + 8]
push 0
push eax
push 0x46c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
or dword [esi + 0x5c8], 2
lea eax, [ebx - 0x10]
call fcn.004011c0
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x486381
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
push edi
push 0
mov esi, eax
push 0x26
add esi, 0x5c0
push 0x104
call fcn.004011f9
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4863b1
push eax
call fcn.00495089
pop ecx
mov edx, esi
call fcn.004011d8
test edi, edi
jne 0x4863c7
push str.c:program_files
push esi
call fcn.00432935
push str.kingsoftkingsoft_antivirus_
push esi
call fcn.00432697
pop edi
pop esi
ret

Function at 0x4863d5
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4cf97f
call fcn.004cc470
push ecx
mov eax, dword [0x50dc24]
push esi
push edi
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x105
lea esi, [ebp - 0x10]
call fcn.004011f9
push 0x104
push eax
push dword [ebx + 0x598]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x486423
xor eax, eax
jmp 0x48642a
push esi
call fcn.00495089
pop ecx
lea edx, [ebp - 0x10]
call fcn.004011d8
lea edi, [ebp - 0x10]
call fcn.00485f61
push 0
push eax
push 0x46c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esi - 0x10]
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x4cf97f
call fcn.004cc470
push ecx
push ecx
mov ecx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x10]
push str.installconfig.ini
add ecx, 0x634
push eax
xor esi, esi
call fcn.0041c66b
pop ecx
pop ecx
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486827
mov eax, dword [ebp - 0x10]
push ebx
push edi
add eax, 0xfffffff0
call fcn.00401367
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
add ebx, 0x10
push ebx
push 1
push str.imagecounts
mov edi, 0x4e6bbc
push edi
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebx - 0x10]
call fcn.004011c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5d8], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401367
mov ebx, eax
add ebx, 0x10
push ebx
push 0
push str.autoclose
push edi
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebx - 0x10]
call fcn.004011c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x604], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401367
mov ebx, eax
add ebx, 0x10
push ebx
push 2
push str.delaytime
push edi
call esi
mov esi, eax
lea eax, [ebx - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [eax + 0x5d0], esi
xor esi, esi
pop edi
inc esi
pop ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x486892
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cfb80
call fcn.004cc470
sub esp, 0xc
push esi
push edi
push 0x192
push 0x25a
mov ecx, ebx
call fcn.00486843
cmp dword [ebx + 0x5e4], 0
jne 0x4869c5
push str.mainbg_new
mov esi, str.skin
push esi
lea edi, [ebx + 0x28]
push 3
mov ecx, edi
call fcn.0040e6ec
mov eax, ebx
call fcn.00486cdb
push str.0__105__0__15
push 0x4e35ec
push 0xc8
mov ecx, edi
call fcn.0040e6ec
cmp dword [0x50f9a8], 3
je 0x486907
call fcn.00401062
cmp dword [eax + 4], 0
je 0x486916
push str.aladdin_mainbg_new
push esi
push 3
mov ecx, edi
call fcn.0040e6ec
lea eax, [ebp - 0x14]
push str.softtemprory.png
lea ecx, [ebx + 0x630]
push eax
call fcn.0041c66b
pop ecx
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486956
push dword [ebp - 0x14]
mov esi, 0x25c
push str.filepath
push esi
push edi
call fcn.0040d062
push 1
push esi
jmp 0x48695d
push 1
push 0x25d
mov eax, edi
call fcn.0040d0c2
mov eax, dword [0x50dc24]
mov ecx, 0x50dc24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.004869d3
push dword [ebp - 0x10]
mov esi, 0x25e
push esi
mov eax, edi
call fcn.0040d01b
push 1
push esi
mov eax, edi
call fcn.0040d0c2
cmp dword [0x50f9a4], 1
jne 0x4869af
mov eax, ebx
call fcn.00486c76
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret