joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a53ef
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x1c]
lea ebx, [edi + 4]
push dword [ebx]
call fcn.004045f0
lea eax, [ebp - 0x1c]
push eax
call fcn.0049dc49
mov esi, str.liebao.exe
push esi
call fcn.00402df0
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00406420
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x20]
call fcn.00423e50
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a549a
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call fcn.0049c1d7
pop ecx
pop ecx
lea esi, [edi + 0x14]
push ebx
mov ecx, esi
call fcn.00425b83
push esi
call fcn.0049dc09
mov eax, dword [ebp - 0x20]
pop ecx
mov ecx, esi
push dword [eax - 0xc]
push eax
call fcn.0043ae55
push esi
lea ecx, [edi + 0x10]
call fcn.00425b83
jmp 0x4a555e
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x28]
call fcn.00423e50
lea eax, [ebp - 0x28]
push eax
call fcn.0049bf1f
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.00425bf9
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0049dc09
mov esi, str.knbcenter.exe
push esi
call fcn.004241e6
add esp, 0x10
lea ecx, [ebp - 0x24]
push eax
push esi
call fcn.0043ae55
mov esi, str.LBBrowser
push esi
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x4a5507
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call fcn.0049c1d7
pop ecx
pop ecx
jmp 0x4a5518
push esi
call fcn.004241e6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.0042416d
lea esi, [edi + 0x14]
push ebx
mov ecx, esi
call fcn.00425b83
push esi
call fcn.0049dc09
mov eax, dword [ebp - 0x20]
pop ecx
mov ecx, esi
push dword [eax - 0xc]
push eax
call fcn.0043ae55
push esi
call fcn.0049dc09
pop ecx
push esi
lea ecx, [edi + 0x10]
call fcn.00425b83
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0042095b
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402540
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
Function at 0x4a5f15
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.Begin_PM_Req_Create17zyDesktopLnk___r_n
push 0x55913c
mov esi, ecx
call fcn.004a9ba2
pop ecx
pop ecx
call fcn.00420e4a
push eax
lea ecx, [ebp - 0xc]
call fcn.00423e50
push str.http:__www.17zuoye.com__fromliebao
lea eax, [ebp - 0xc]
push 0x510a50
push eax
call fcn.0042443a
add esp, 0xc
call fcn.00420e4a
push eax
lea ecx, [ebp - 8]
call fcn.00423e50
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 8]
call fcn.00425b83
lea eax, [ebp - 8]
push eax
call fcn.0049dc09
mov edi, str.17zuoye.ico
push edi
call fcn.004241e6
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 8]
call fcn.0043ae55
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x10]
call fcn.00423e50
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004a2486
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.004a2039
lea eax, [ebp - 4]
push eax
call fcn.0049dc09
mov edi, 0x4fdb40
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00442988
add esp, 0x10
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0042095b
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
je 0x4a6045
mov esi, dword [ebp - 8]
call fcn.00442988
mov edi, dword [ebp - 0x10]
push str.liebao
push esi
push dword [eax]
mov esi, dword [ebp - 0xc]
push esi
push edi
call fcn.0049b4bf
mov ecx, dword [ebp - 0x14]
add esp, 0x20
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0042095b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.PM_Req_Create17zyDesktopLnk___CreateShellLink2_bRet_d_errcode_d_r_n
jmp 0x4a607b
call fcn.00442988
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
push str.liebao
push dword [eax]
push esi
push edi
call fcn.0049b6b4
mov ecx, dword [ebp - 0x14]
add esp, 0x1c
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0042095b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.PM_Req_Create17zyDesktopLnk_CreateShellLink_bRet_d_errcode_d_r_n
mov ebx, 0x55913c
push ebx
call fcn.004a9ba2
add esp, 0x10
push str.End_PM_Req_Create17zyDesktopLnk___r_n
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0042095b
lea ecx, [edi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0042095b
lea ecx, [esi - 0x10]
call fcn.0042095b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6511
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push str.PM_Req_RunSkinupdater_Begin_r_n
mov ebx, 0x55913c
mov edi, ecx
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
xor esi, esi
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.004a285a
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a65a3
push 1
push esi
push 0x2710
push str.__skin_updater
push dword [ebp - 4]
call fcn.0049dd5a
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4a658b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 4]
push str.PM_Req_RunSkinupdater_RunApp_PathFileExists_ws_errcode_d
push ebx
call fcn.004a9ba2
add esp, 0x10
lea eax, [ebp - 8]
mov dword [ebp - 8], 6
push eax
lea ecx, [edi + 0xd8]
call fcn.0041f030
jmp 0x4a65b4
push dword [ebp - 4]
push str.PM_Req_RunSkinupdater_PathFileExists_ws_no_exists_r_n
push ebx
call fcn.004a9ba2
add esp, 0xc
push esi
push str.PM_Req_RunSkinupdater_End_bRet_d_r_n
push ebx
call fcn.004a9ba2
mov ecx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.0042095b
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6d52
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
test byte [esi + 0x10c], 2
jne 0x4a6e9c
push ebx
push str.PM_Req_XPQuickLanuchIconFirst_Begin_r_n
mov ebx, 0x55913c
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
call fcn.0049da55
test eax, eax
jne 0x4a6e8e
push edi
push str.PM_Req_XPQuickLanuchIconFirst_OsIsVistaAndAfter_gnf_r_n
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.004a2486
xor esi, esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x46c8e2
push esi
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [ebp - 4]
mov ebx, eax
test ebx, ebx
je 0x4a6e80
push 0xbb8
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4a6e71
push str.CreateAndAdjustQuickLaunch_timeout_r_n
push 0x55913c
call fcn.004a9ba2
pop ecx
pop ecx
push esi
push esi
push 0x12
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
call fcn.00420e4a
push eax
lea ecx, [ebp - 4]
call fcn.00423e50
push 0x104
lea ecx, [ebp - 4]
call fcn.00423e83
push eax
push esi
push 0x1a
push esi
call fcn.0049dfba
add esp, 0x10
lea ecx, [ebp - 4]
push 0xffffffffffffffff
call fcn.00425b33
mov esi, 0x4fe5a0
push esi
call fcn.004241e6
pop ecx
push eax
push esi
lea ecx, [ebp - 4]
call fcn.0043ae55
mov esi, dword [ebp - 4]
push str.Liebao
push esi
push 0x50c86c
push edi
call fcn.0049b6b4
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.0042095b
xor esi, esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi - 0x10]
call fcn.0042095b
mov ebx, 0x55913c
pop edi
push str.PM_Req_XPQuickLanuchIconFirst_End_r_n
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a6ea1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.PM_Requirement_InstallAfter_Begin_r_n
mov ebx, 0x55913c
mov edi, ecx
push ebx
call fcn.004a9ba2
mov eax, dword [edi + 0x44]
sub eax, 0x10
push eax
call fcn.00425bf9
add esp, 0xc
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], 0
mov dword [ebp - 0x50], esi
jne 0x4a6ef0
lea eax, [edi + 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.00425b83
mov esi, dword [ebp - 0x50]
push esi
push str.PM_Requirement_InstallAfter_Pid_ws_r_n
push ebx
call fcn.004a9ba2
add esp, 0xc
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.004a64e9
push str.p_17zy
lea ecx, [ebp - 0x50]
call fcn.00425b0f
test eax, eax
jne 0x4a6f22
mov ecx, edi
call fcn.004a5f15
call fcn.0049c339
test eax, eax
je 0x4a6f41
mov ecx, edi
call fcn.004a43c5
test eax, eax
jne 0x4a6f41
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.004a60c3
and dword [ebp - 0x54], 0
lea eax, [ebp - 0x54]
push eax
push 0x4fc6bc
push str.3.9.23.0000
push dword [edi + 0x4c]
call fcn.0049b31e
add esp, 0x10
test eax, eax
je 0x4a7064
cmp dword [ebp - 0x54], 0
jne 0x4a6f7c
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.004a6835
jmp 0x4a7064
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x50]
call fcn.00423e50
lea eax, [edi + 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.00425b83
lea eax, [ebp - 0x50]
push eax
call fcn.0049dc09
mov ebx, 0x5100a8
push ebx
call fcn.004241e6
pop ecx
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x50]
call fcn.0043ae55
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a7054
and dword [ebp - 0xc], eax
push 0x10
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], al
call fcn.00481491
pop ecx
test eax, eax
je 0x4a6feb
mov ecx, eax
call fcn.0040e460
mov ebx, eax
jmp 0x4a6fed
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.00412270
pop ecx
pop ecx
push dword [ebp - 0x50]
lea ecx, [ebp - 0x34]
call fcn.004045f0
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00408670
push eax
call fcn.0040ab50
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.004086c0
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00402540
test ebx, ebx
je 0x4a7048
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402490
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov ebx, 0x55913c
cmp dword [edi + 0x70], 0
je 0x4a7075
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.004a6859
cmp dword [edi + 0x28], 0
jne 0x4a7082
mov ecx, edi
call fcn.004a6511
cmp dword [edi + 0x70], 0
je 0x4a708f
mov ecx, edi
call fcn.004a8385
mov ecx, edi
call fcn.004a8296
mov ecx, edi
call fcn.004a83f9
push str.PM_Requirement_InstallAfter_End_r_n
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
lea ecx, [esi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
Function at 0x4a7185
Capabilities:
Create thread

Disassembly:
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push esi
push 0x4a71b5
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x78], eax
xor eax, eax
inc eax
cmp dword [esi + 0x30], edi
cmove edi, eax
mov eax, edi
pop edi
pop esi
ret
Function at 0x4a78b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
push dword [esi + 0x11c]
mov ecx, dword [esi + 0x120]
call fcn.004aa67a
mov edi, eax
test edi, edi
js 0x4a796a
mov ecx, dword [esi + 0x1c]
sub ecx, 0x10
push ebx
push ecx
call fcn.00425bf9
add eax, 0x10
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0049dc09
mov ebx, str.install.dat
push ebx
call fcn.004241e6
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
push ebx
call fcn.0043ae55
push dword [0x5590d8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x4a792d
push dword [0x5590d8]
jmp 0x4a7939
push dword [ebp - 0x20]
call ebx
test eax, eax
je 0x4a795e
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.004045f0
mov ecx, dword [esi + 0x120]
lea eax, [ebp - 0x1c]
push eax
call fcn.004abfd5
push 0
push 1
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00402540
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0042095b
pop ebx
xor eax, eax
test edi, edi
setns al
mov dword [esi + 0x118], eax
test eax, eax
je 0x4a7986
mov ecx, dword [esi + 0x11c]
call fcn.004664ab
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x118]
xor ecx, ebp
pop edi
pop esi
call fcn.004bc45f
mov esp, ebp
pop ebp
ret
Function at 0x4a7b09
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push str.oleaut32.dll
mov dword [ebp - 4], ecx
call esi
push str.oleacc.dll
mov edi, eax
call esi
push str.winmm.dll
mov dword [ebp - 8], eax
call esi
push str.wininet.dll
mov dword [ebp - 0xc], eax
call esi
push str.netapi32.dll
mov dword [ebp - 0x10], eax
call esi
xor ebx, ebx
xor ecx, ecx
test edi, edi
je 0x4a7b67
cmp dword [ebp - 8], ecx
je 0x4a7b67
cmp dword [ebp - 0xc], ecx
je 0x4a7b67
cmp dword [ebp - 0x10], ecx
je 0x4a7b67
test eax, eax
lea eax, [ecx + 1]
jne 0x4a7b69
mov eax, ebx
push eax
push str.StartInstall_LoadLibrary_:_d
push 0x55913c
call fcn.004a9ba2
mov edi, dword [ebp + 8]
add esp, 0xc
mov esi, dword [ebp - 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x4a7b97
cmp dword [esi + 0x70], ebx
jne 0x4a7b97
push edi
lea ecx, [esi + 4]
call fcn.00425b83
cmp dword [edi + 0x18], ebx
je 0x4a7ca6
cmp dword [esi + 0x70], ebx
je 0x4a7ca6
push dword [esi + 4]
call fcn.0049c851
pop ecx
test eax, eax
jne 0x4a7ca6
push str.bIsNewOverOld__false__return_r_n
push 0x55913c
call fcn.004a9ba2
push 0xc
call fcn.00481491
add esp, 0xc
test eax, eax
je 0x4a7be2
mov ecx, eax
call fcn.004a03c0
mov edi, eax
jmp 0x4a7be4
mov edi, ebx
push ebx
lea esi, [edi + 4]
mov dword [edi], 0x1b
push 0x50c78d
mov ecx, esi
call fcn.00431333
push 0x12
push str.reportver2.0.0.0
mov ecx, esi
call fcn.0043af80
push 0xc
push 0x4fcea4
mov ecx, esi
call fcn.0043af80
push dword [0x5590dc]
lea ecx, [ebp + 8]
call fcn.00467996
mov ecx, esi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0043af80
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0042095b
push 0xd
push str.vermoreless
mov ecx, esi
call fcn.0043af80
push 1
push 0x4fcc58
mov ecx, esi
call fcn.0043af80
push ebx
push ebx
push edi
push 0x4a7278
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x4a7ca1
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4a7c92
push str.Report_timeout
push 0x55913c
call fcn.004a9ba2
pop ecx
pop ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x4a7d22
push edi
lea ecx, [esi + 0xac]
call fcn.004a0659
push dword [esi + 0xc4]
mov eax, dword [edi + 0x20]
push dword [esi + 0xc0]
mov dword [esi + 0xd4], eax
push dword [esi + 0xbc]
push dword [esi + 0xb4]
push dword [esi + 0xb0]
push str.bSyn_d_bSlient_d_bSetDefaultBrowser_d_bInstallAfterIsRun_d_bVerCheck_d_r_n
push 0x55913c
call fcn.004a9ba2
add esp, 0x1c
cmp dword [edi + 4], ebx
je 0x4a7cfb
mov ecx, esi
call fcn.004a7d2b
mov ebx, eax
jmp 0x4a7d20
push ebx
push ebx
push esi
push 0x4a32d7
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x34], ebx
push 1
mov dword [esi + 0x78], eax
pop eax
cmove ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a821b
Capabilities:
Check if file exists
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x120]
call fcn.004aab29
mov eax, dword [esi + 0x120]
push eax
mov edx, dword [eax]
call dword [edx + 8]
and dword [esi + 0x120], 0
cmp dword [esi + 0x30], 0
je 0x4a825a
push 0
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x30], 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004a830c
test eax, eax
jne 0x4a8283
cmp dword [esi + 0x34], eax
je 0x4a8283
push eax
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x34], 0
lea ecx, [esi + 0x80]
call fcn.004a982e
mov ecx, esi
pop esi
jmp fcn.004a0a77

Function at 0x4a8296
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x705
mov eax, dword [edi]
call dword [eax + 4]
push str.UpRegVer_Begin_r_n
mov ebx, 0x55913c
push ebx
call fcn.004a9ba2
pop ecx
pop ecx
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx - 0xc]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0x510efc
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esi, eax
push esi
push dword [edi + 0x4c]
push str.UpRegVer__ver_ws__hr0x_x_r_n
push ebx
call fcn.004a9ba2
mov edx, dword [edi]
add esp, 0x10
xor ebx, ebx
mov ecx, edi
test esi, esi
push esi
setns bl
push ebx
push 0x705
call dword [edx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4a90cf
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
push 0x600
mov eax, dword [ebx]
call dword [eax + 4]
mov eax, dword [ebx + 8]
sub eax, 0x10
push eax
call fcn.00425bf9
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0049dc09
mov esi, str.ModuleqqdlTencentdl.exe
push esi
call fcn.004241e6
add esp, 0xc
lea ecx, [ebp - 4]
push eax
push esi
call fcn.0043ae55
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a913c
push 0
push 1
push 0
push str._install
push dword [ebp - 4]
call fcn.0049dd5a
add esp, 0x14
mov edi, eax
jmp 0x4a9153
push dword [ebp - 4]
push str.no_exists__ws
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
xor edi, edi
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x600
mov ecx, ebx
call dword [esi + 8]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a924f
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x24], ecx
xor edi, edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], eax
call fcn.004917cc
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4a93bf
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
jne 0x4a92cc
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
push 0x55913c
call fcn.004a9ba2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
add esp, 0x10
jmp 0x4a93b4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x4a9304
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
push 0x55913c
call fcn.004a9ba2
jmp 0x4a92c1
push dword [ebp - 0x30]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x4a9336
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
push 0x55913c
call fcn.004a9ba2
add esp, 0x10
jmp 0x4a93b4
push 0x4ffb70
push 0x55913c
call fcn.004a9ba2
pop ecx
pop ecx
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x30]
push ebx
mov eax, dword [ecx]
push ecx
call dword [eax]
mov esi, eax
xor eax, eax
test esi, esi
sete al
push eax
push str.Extract_return:_d
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
test esi, esi
je 0x4a93ae
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x4a938d
mov esi, dword [esi]
push esi
call fcn.004241e6
pop ecx
mov ecx, dword [ebp - 0x24]
push eax
push esi
add ecx, 0x1c
call fcn.0042416d
push edi
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402540
jmp 0x4a93b1
xor edi, edi
inc edi
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4a93cb
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
cmp esi, 0xffffffff
je 0x4a93d7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4a93e2
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x4a93f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret 8
Function at 0x4a94bf
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x2c]
call fcn.00423e50
push esi
push str.GetPacketData__d
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
push esi
call fcn.004a9661
mov esi, eax
push esi
push str.GetPacketData_return:_d
push 0x55913c
mov dword [ebp - 0x30], esi
call fcn.004a9ba2
add esp, 0xc
test esi, esi
mov esi, dword [ebp - 0x2c]
je 0x4a95cf
call fcn.004917cc
mov dword [edi + 0x18], eax
test eax, eax
je 0x4a95cf
push 0x4ffb70
push 0x55913c
call fcn.004a9ba2
mov eax, dword [edi + 0x18]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push eax
call dword [ecx]
xor ecx, ecx
mov edi, eax
test edi, edi
sete cl
push ecx
push str.Extract_return:_d
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
test edi, edi
je 0x4a95c5
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [eax + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x4a95a4
mov edi, dword [edi]
push edi
call fcn.004241e6
pop ecx
mov ecx, dword [ebp - 0x20]
push eax
push edi
lea ecx, [ecx + 0x1c]
call fcn.0042416d
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402540
jmp 0x4a95ee
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x28], 1
cmp dword [esi - 0xc], ebx
je 0x4a95db
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x4a95eb
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov dword [edi + 0x18], ebx
mov ebx, dword [ebp - 0x28]
lea ecx, [esi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret 8