joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485f52
Capabilities:
Terminate thread

Disassembly:
push ecx
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebp, [esi + 0x2c]
push ebp
call edi
lea ebx, [esi + 0x14]
push ebx
call edi
cmp byte [esi + 4], 0
jne 0x485f7f
mov dword [esp + 0x10], 0xfffffffd
jmp 0x485f97
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call esi
push ebp
call esi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x486083
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
and dword [esp], 0
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x2c]
push eax
mov dword [esp + 0x14], eax
call edi
call fcn.0048612e
test al, al
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x4860b4
or dword [esp + 0xc], 0xffffffff
jmp 0x48611e
push ebp
push 8
call fcn.004657db
mov ebp, eax
xor eax, eax
cmp ebp, eax
pop ecx
jne 0x4860cf
mov dword [esp + 0x10], 0xfffffffa
jmp 0x48611d
lea ecx, [esi + 0xc]
push ecx
push eax
push ebp
push 0x48631d
push eax
push eax
mov dword [ebp], esi
mov dword [ebp + 4], eax
call fcn.0049eaca
add esp, 0x18
test eax, eax
mov dword [esi + 8], eax
je 0x48610e
lea ebp, [esi + 0x14]
jmp 0x486100
call ebx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
cmp byte [esi + 4], 0
push ebp
je 0x4860f6
call ebx
jmp 0x48611d
push ebp
call fcn.0049af3d
pop ecx
mov dword [esp + 0x10], 0xfffffffe
pop ebp
push dword [esp + 0x10]
call ebx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x48624f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x5944f6
call fcn.00593620
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esi], vtable.KInstallTool::KUIInfoReport.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push 0x10
pop ebx
sub eax, ebx
call fcn.0040135c
add eax, ebx
mov dword [esi + 0xc], eax
and dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
sub eax, ebx
call fcn.0040135c
add eax, ebx
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x14]
sub eax, ebx
call fcn.0040135c
add eax, ebx
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x18]
sub eax, ebx
call fcn.0040135c
add eax, ebx
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x1c]
sub eax, ebx
call fcn.0040135c
add eax, ebx
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x20]
sub eax, ebx
call fcn.0040135c
add eax, ebx
mov dword [esi + 0x20], eax
mov al, byte [edi + 0x24]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], al
mov al, byte [edi + 0x25]
mov byte [esi + 0x25], al
mov al, byte [edi + 0x26]
mov byte [esi + 0x26], al
mov al, byte [edi + 0x27]
mov byte [esi + 0x27], al
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4868d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x596855
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov esi, ecx
call fcn.00486c7c
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
push 0xffffffffffffffff
mov dword [esp + 0x50], ebx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x486a52
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x38], eax
push dword [esi + 0xc]
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x20], ebx
je 0x486a3b
cmp dword [esi + 4], ebx
jne 0x486981
mov eax, dword [esi + 0x14]
push 0x5ef1c0
push eax
call fcn.0049f0c5
cmp eax, ebx
pop ecx
pop ecx
mov dword [esi + 4], eax
je 0x486a3b
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
call fcn.0041874f
mov byte [esp + 0x4c], 1
cmp dword [esp + 0x20], ebx
je 0x486a15
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
cmp edi, eax
jne 0x4869ad
call fcn.0049b479
push 0xffffffffffffffff
push ebx
add edi, 8
push edi
lea ecx, [esp + 0x30]
call fcn.0041876b
mov eax, dword [esp + 0x1c]
push dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x24]
call fcn.00486c26
cmp dword [esp + 0x3c], 0x10
mov ecx, dword [esp + 0x28]
jae 0x4869e5
lea ecx, [esp + 0x28]
mov eax, dword [esi + 4]
test eax, eax
je 0x486a0d
push eax
push dword [esp + 0x3c]
push 1
push ecx
call fcn.004a06ce
push dword [esi + 4]
push 2
push 1
push 0x5ec3d8
call fcn.004a06ce
add esp, 0x20
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jne 0x48699e
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x486a26
push eax
call fcn.0049f401
pop ecx
mov dword [esi + 4], ebx
push ebx
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call fcn.00418704
jmp 0x486921
cmp dword [esi], ebx
jne 0x486a52
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x486921
lea esi, [esp + 0x18]
call fcn.00486c94
push dword [esp + 0x1c]
call fcn.0049af3d
pop ecx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486ece
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x595558
call fcn.00593620
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 [0x619864]
mov ecx, 0x619864
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.00487070
test eax, eax
je 0x487043
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
je 0x48704b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48704b
push 0x5c
lea esi, [ebp - 0x14]
call fcn.00432185
cmp eax, 0xffffffff
je 0x48704b
lea edx, [eax + 1]
lea eax, [ebp - 0x28]
push eax
mov eax, esi
call fcn.004320db
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff4
mov byte [ebp - 4], 2
call fcn.004013b4
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.0044ba94
test eax, eax
je 0x48704b
push 0x10
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0049cbc0
mov eax, dword [0x619864]
add esp, 0xc
mov ecx, 0x619864
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 0x5ee418
lea ecx, [ebp - 0x1c]
call fcn.00412bbd
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x486fea
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], 0
je 0x487019
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
call fcn.004013b4
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 0x486f12
jmp 0x487053
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x48704e
lea eax, [ebx - 0x10]
call fcn.004011c0
lea ecx, [ebp - 0xa4]
call fcn.0044ba6a
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 0x48735e
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 0x487490
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x487386
mov ecx, edi
call fcn.004887ef
mov eax, ebx
jmp 0x487499
cmp eax, 2
jne 0x4873a5
lea ecx, [edi + 0x602]
xor eax, eax
cmp byte [ecx], al
jne 0x487399
mov byte [ecx], bl
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48737f
cmp eax, 0x65
jne 0x4873b1
call fcn.004888eb
jmp 0x48737f
cmp eax, 0x66
jne 0x4873cb
xor eax, eax
cmp dword [edi + 0x594], eax
mov esi, edi
sete al
push eax
call fcn.004899cb
jmp 0x48737f
cmp eax, 0x191
jne 0x487406
xor ecx, ecx
mov eax, edi
call fcn.0040cb6f
call fcn.00482757
test eax, eax
je 0x48737f
xor eax, eax
push eax
push eax
push 2
push 2
push 0x5e8290
push eax
push eax
push 0x5e82a0
push eax
call fcn.0040aacf
add esp, 0x24
jmp 0x48737f
cmp eax, 0x96
jne 0x48742e
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.00488398
jmp 0x48737f
cmp eax, 0x1f5
jne 0x48743f
call fcn.004889d9
jmp 0x48737f
cmp eax, 0xa0
jne 0x48746f
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 0x48737f
call fcn.00488ac9
jmp 0x48737f
cmp eax, 0x68
jne 0x48747f
push edi
call fcn.0048970c
jmp 0x48737f
cmp eax, 0x2bf
jne 0x487490
call fcn.00489ab8
jmp 0x48737f
and dword [edi + 0x5c4], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x4878ef
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 0x487960
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 0x487960
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 [0x5f0db8]
fnstsw ax
test ah, 1
jne 0x487960
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x487aed
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x598466
call fcn.00593620
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.0049a380
add esp, 0xc
test byte [0x61d7e4], 1
jne 0x487b53
or dword [0x61d7e4], 1
mov dword [ebp - 4], esi
call fcn.00487966
push 0x59a70e
call fcn.00499e96
or dword [ebp - 4], 0xffffffff
pop ecx
mov eax, dword [0x61d728]
cmp eax, esi
je 0x487b72
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test al, al
je 0x487b72
mov edi, str.https:__wpa1.qq.com_FDdK6y0s__typewpaqidiantrue
mov dword [ebp - 0x14], str.VipMarketQQLink
push esi
lea ecx, [ebp - 0x10]
call fcn.0047f9b3
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call fcn.0047fba0
pop ecx
pop ecx
push str.dataoperation_contact.dat
lea eax, [ebp - 0x10]
push eax
call fcn.00431fdb
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.0043229f
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 0x48899c
Capabilities:
Hide graphical window

Disassembly:
dec eax
push esi
mov esi, ecx
je 0x4889d2
dec eax
je 0x4889cb
dec eax
je 0x4889b3
dec eax
jne 0x4889d7
push esi
call fcn.0048aba5
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.0048953b
pop esi
ret
call fcn.00488db4
pop esi
ret
Function at 0x488ac9
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x5969fb
call fcn.00593620
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 0x488b1b
lea eax, [ebp - 0x10]
push eax
call fcn.0048221f
pop ecx
and dword [ebp - 4], 0
push esi
push dword [ebp - 0x10]
call fcn.004818fe
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 0x488b28
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, 0x59552b
call fcn.00593620
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 [0x619888]
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 0x5ef4a8
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.0041bc02
push dword [eax]
add esi, 0x664
push 0x80
push esi
call fcn.0049a30e
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 0x488be1
mov dword [ebp - 0x10], 1
test ebx, ebx
je 0x488bec
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 0x489644
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.00481e10
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 0x489705
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489687
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x489705
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004320f9
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 0x4896b4
push 2
pop eax
jmp 0x489708
push edi
call fcn.004895b8
test eax, eax
pop ecx
je 0x4896c3
mov eax, esi
jmp 0x489708
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004320f9
push dword [eax]
call fcn.004878ef
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 0x4896f2
push 4
jmp 0x4896b1
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x489701
push 5
jmp 0x4896b1
xor eax, eax
jmp 0x489708
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x48970c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x59840d
call fcn.00593620
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.0049a380
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 [0x619864]
mov ecx, 0x619864
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 0x489799
push 0x80070057
call fcn.00401313
mov esi, 0x5ef78c
mov dword [eax - 0xc], edi
push esi
mov word [eax], di
call fcn.0049a28b
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.004013f5
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.0044f5a8
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], 0x5ef798
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 0x4898b9
push 0x206
lea eax, [ebp - 0x246]
push edi
push eax
mov word [ebp - 0x248], di
call fcn.0049a380
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [0x619864]
mov ecx, 0x619864
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.00481e10
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00431ffe
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.00431fdb
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.00489644
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 0x489a64
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 0x489a94
push eax
call fcn.0049a28b
pop ecx
mov edx, esi
call fcn.004011d8
test edi, edi
jne 0x489aaa
push str.c:program_files
push esi
call fcn.00432279
push str.kingsoftkingsoft_antivirus_
push esi
call fcn.00431fdb
pop edi
pop esi
ret

Function at 0x489af4
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x5969fb
call fcn.00593620
push ecx
mov eax, dword [0x619864]
push esi
push edi
mov ecx, 0x619864
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 0x489b42
xor eax, eax
jmp 0x489b49
push esi
call fcn.0049a28b
pop ecx
lea edx, [ebp - 0x10]
call fcn.004011d8
lea edi, [ebp - 0x10]
call fcn.00489644
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 0x489f03
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, 0x5969fb
call fcn.00593620
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.0041bc02
pop ecx
pop ecx
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489fe3
mov eax, dword [ebp - 0x10]
push ebx
push edi
add eax, 0xfffffff0
call fcn.0040135c
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
add ebx, 0x10
push ebx
push 1
push str.imagecounts
mov edi, 0x5e7dd4
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.0040135c
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.0040135c
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 0x48a051
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x596ed5
call fcn.00593620
sub esp, 0xc
push esi
push edi
push 0x192
push 0x25a
push ebx
call fcn.00489fff
cmp dword [ebx + 0x5e4], 0
jne 0x48a17e
push str.mainbg_new
mov esi, str.skin
push esi
lea edi, [ebx + 0x28]
push 3
mov ecx, edi
call fcn.0040e277
push 1
mov eax, ebx
call fcn.0048a67e
push str.0__105__0__15
push 0x5e47e8
push 0xc8
mov ecx, edi
call fcn.0040e277
call fcn.00401062
cmp dword [eax + 4], 0
je 0x48a0cd
push str.aladdin_mainbg_new
push esi
push 3
mov ecx, edi
call fcn.0040e277
lea eax, [ebp - 0x14]
push str.softtemprory.png
lea ecx, [ebx + 0x630]
push eax
call fcn.0041bc02
pop ecx
pop ecx
and dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48a10d
push dword [ebp - 0x14]
mov esi, 0x25c
push str.filepath
push esi
push edi
call fcn.0040cc84
push 1
push esi
jmp 0x48a114
push 1
push 0x25d
mov eax, edi
call fcn.0040cce4
mov eax, dword [0x619864]
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 1
lea eax, [ebp - 0x10]
mov esi, ebx
mov byte [ebp - 4], 1
call fcn.0048a40c
push dword [ebp - 0x10]
mov esi, 0x25e
push esi
mov eax, edi
call fcn.0040cc3d
push 1
push esi
mov eax, edi
call fcn.0040cce4
cmp dword [0x61d59c], 1
jne 0x48a168
mov eax, ebx
call fcn.0048a619
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