joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e3b7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1010b070]
xor eax, esp
mov dword [esp + 0x20], eax
and dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp dword [ebx + 4], 1
push 9
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
pop esi
jne 0x1001e40f
cmp dword [ecx + 0xd0], 0
jne 0x1001e40f
call fcn.1001e5d5
movzx esi, ax
test si, si
jne 0x1001e4ee
mov dword [esp + 0x10], 1
call fcn.10018b84
add eax, 4
push 0
push str.VerMode
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1001e4a9
xor eax, eax
lea edi, [esp + 0x20]
stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push 0x2001f
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.10003d94
test eax, eax
je 0x1001e47b
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x3c]
call fcn.1001937f
mov eax, dword [esp + 0x1c]
push 4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 4
push edi
push str.VerMode
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x20]
call fcn.10003d7a
mov edi, dword [esp + 0x14]
lea eax, [ebx + 0x28]
cmp dword [eax + 0x14], 8
jb 0x1001e4b4
mov eax, dword [eax]
push dword [ebx + 4]
push dword [ebx + 0x98]
push dword [esp + 0x20]
push eax
call fcn.1002276d
mov ecx, eax
call fcn.10016fb6
test eax, eax
je 0x1001e4e2
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 4]
test eax, eax
je 0x1001e4e2
xor esi, esi
jmp 0x1001e4ee
cmp dword [esp + 0x10], 0
je 0x1001e4ee
call fcn.10019485
mov ecx, dword [esp + 0x2c]
mov ax, si
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001e66e
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x100bde7c
call fcn.1008b481
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x18], edi
call fcn.100017d6
push eax
lea ecx, [ebp - 0x18]
call fcn.10001572
push 0x100f1860
push str.QQPCRtp.exe
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edi
push str.__s_s___d
push eax
call fcn.10005db1
push 0x44
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.1008dc90
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x94]
add esp, 0x20
xorps xmm0, xmm0
movups xmmword [ebp - 0x94], xmm0
push eax
lea eax, [ebp - 0x84]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1001e77d
jmp 0x1001e72a
cmp dword [ebp - 0x34], 0x113
jne 0x1001e703
cmp dword [ebp - 0x30], 0x32
je 0x1001e717
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1001e6f4
push 0xf
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1001e717
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1001e756
cmp dword [ebp - 0x1c], 0
je 0x1001e77d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.10018a1a
mov dword [eax + 0x150], edi
mov edi, dword [ebp - 0x1c]
call fcn.10018a1a
push 2
mov dword [eax + 0x20], edi
mov dword [eax + 0x154], edi
pop edi
lea ecx, [esi - 0x10]
call fcn.100018f3
mov eax, edi
call fcn.1008b42b
ret 4
Function at 0x1001e9de
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x1010b070]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
call fcn.10020678
xor esi, esi
mov dword [esp + 0x34], esi
call fcn.100017d6
push eax
lea ecx, [esp + 0x38]
call fcn.10001572
push str.Download_
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], esi
call fcn.1001b109
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.10001474
pop ecx
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.100018f3
push esi
push dword [esp + 0x34]
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0xb
push str.QQPCFix.exe
lea ecx, [esp + 0x38]
call fcn.10003991
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x38]
call fcn.1001c841
push dword [esp + 0x30]
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], esi
call fcn.10001a48
pop ecx
push eax
push dword [esp + 0x34]
lea ecx, [esp + 0x68]
call fcn.10001ddf
call fcn.10018b84
push 0x100d0a54
push 0x100f127c
lea edi, [eax + 4]
lea eax, [esp + 0x20]
push eax
call fcn.10018b84
mov ecx, eax
call fcn.1000a09a
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x1001eac4
mov esi, dword [esi]
mov eax, dword [edi]
push 0
push 0x100eb278
push edi
call dword [eax + 0x10]
push eax
lea eax, [esp + 0x38]
push esi
push eax
call fcn.10005db1
add esp, 0xc
lea ecx, [esp + 0x18]
push 0
push 1
call fcn.10001f53
lea ecx, [esp + 0xe0]
call fcn.1001c359
mov esi, dword [esp + 0x34]
push esi
call fcn.10001a48
pop ecx
push eax
push esi
lea ecx, [esp + 0xe8]
call fcn.10001ddf
push dword [esp + 0x30]
call fcn.10001a48
pop ecx
push eax
push dword [esp + 0x34]
lea ecx, [esp + 0x100]
call fcn.10001ddf
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x10]
call fcn.10023478
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xe0]
push eax
lea ecx, [ecx + 0xb8]
call fcn.1001c3e6
lea eax, [ebx + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
lea ecx, [esp + 0xe0]
call fcn.1001dbe6
lea ecx, [esp + 0x38]
call fcn.1001c919
mov ecx, dword [esp + 0x30]
lea ecx, [ecx - 0x10]
call fcn.100018f3
lea ecx, [esi - 0x10]
call fcn.100018f3
mov ecx, dword [esp + 0x1ac]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a777
mov esp, ebp
pop ebp
ret 4

Function at 0x1001ed1d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.10018b84
mov esi, dword [ebp + 8]
add eax, 4
push esi
push eax
mov edx, dword [eax]
call dword [edx + 4]
test eax, eax
js 0x1001ed5c
mov ecx, ebx
call fcn.1001edbe
mov ecx, ebx
call fcn.1001f5cb
mov ecx, ebx
call fcn.1001fe33
xor eax, eax
inc eax
cmp eax, dword [ebx + 0x14]
sbb edi, edi
neg edi
cmp dword [esi + 0x14], 8
jb 0x1001ed64
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1001edbe
Capabilities:
Check if file exists
Create directory
Get common file path
Query environment variable

Disassembly:
push 0x454
mov eax, 0x100bdf8f
call fcn.1008b481
mov edi, ecx
push 0x412
xor ebx, ebx
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.1008dc90
add esp, 0xc
call fcn.1001b206
test eax, eax
je 0x1001ee50
push 0x208
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x428]
lea ecx, [edi + 0x84]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1001ee1d
sub edx, esi
lea eax, [ebp - 0x428]
sar edx, 1
push edx
push eax
call fcn.10005c3c
push 0xe
lea ecx, [edi + 0x88]
push str.YoudaoNote.exe
call fcn.10005c3c
jmp 0x1001f008
push str._appdata__tencentQQPCMgrDownload_
lea eax, [ebp - 0x444]
push str.PackageDirCfg
push eax
call fcn.10018b84
mov ecx, eax
call fcn.1000a09a
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x428]
cmp dword [ebp - 0x430], 8
lea eax, [ebp - 0x444]
push 0x208
cmovae eax, dword [ebp - 0x444]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x428]
push eax
call esi
test eax, eax
jne 0x1001ef20
push ebx
lea eax, [ebp - 0x428]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x428]
push eax
call esi
test eax, eax
je 0x1001eee2
lea edx, [ebp - 0x428]
lea ecx, [edi + 0x84]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1001eed5
jmp 0x1001ef3a
lea ecx, [ebp - 0x448]
call fcn.1001b109
lea esi, [edi + 0x84]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10005601
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x448]
lea ecx, [ecx - 0x10]
call fcn.100018f3
push 9
push str.Download_
mov ecx, esi
call fcn.10003991
jmp 0x1001ef4b
lea edx, [ebp - 0x428]
lea ecx, [edi + 0x84]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1001ef2f
sub edx, esi
lea eax, [ebp - 0x428]
sar edx, 1
push edx
push eax
call fcn.10005c3c
push 0x100d0a54
lea eax, [ebp - 0x460]
mov dword [ebp - 0x42c], ebx
push str.QQPCMgrNameCfg
push eax
call fcn.10018b84
mov ecx, eax
call fcn.1000a09a
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x1001ef7a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x42c]
call fcn.1000564f
push ebx
push 1
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 4
call fcn.10001f53
mov eax, dword [ebp - 0x42c]
cmp dword [eax - 0xc], ebx
jne 0x1001efda
call fcn.10018b84
add eax, 4
push ebx
push str.ModuleType
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
mov ecx, str.QQPCMgr_Setup.dll
mov esi, str.QQPCMgr_Setup.exe
cmovne esi, ecx
mov ecx, esi
call fcn.10001556
push eax
push esi
lea ecx, [ebp - 0x42c]
call fcn.10005c3c
lea eax, [ebp - 0x42c]
push eax
lea ecx, [edi + 0x88]
call fcn.10005601
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.100018f3
push ebx
push 1
lea ecx, [ebp - 0x444]
call fcn.10001f53
call fcn.1008b42b
ret
Function at 0x100204bb
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x220
mov eax, 0x100be24d
call fcn.1008b481
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x224], ebx
call fcn.100017d6
push eax
lea ecx, [ebp - 0x224]
call fcn.10001572
mov dword [ebp - 4], ebx
call fcn.10018b84
add eax, 4
push ebx
push str.KvNoCmdline
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
je 0x1002051f
cmp dword [esi + 0x60], ebx
jne 0x1002051f
push ebx
push 0x100d0a54
lea ecx, [ebp - 0x224]
call fcn.10005c3c
jmp 0x100205e1
push 0x20a
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x21c]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Kingsoft
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x220], ebx
call fcn.100017d6
push eax
lea ecx, [ebp - 0x220]
call fcn.10001572
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x220]
push edi
push str._silence1handle_dsupply_dinstallpath__s_
push eax
call fcn.10005db1
lea eax, [esi + 0x80]
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x1002059f
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
call fcn.10001474
pop ecx
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.10005601
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.100018f3
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.100018f3
cmp dword [esi + 0x78], 0
mov dword [ebp - 0x228], ebx
jne 0x100205f4
mov eax, str.Install
jmp 0x100205ff
lea eax, [esi + 0x68]
cmp dword [eax + 0x14], 8
jb 0x100205ff
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x228]
call fcn.1000564f
xor ecx, ecx
mov byte [ebp - 4], 3
cmp dword [esi + 0x60], ebx
lea eax, [esi + 0x28]
setne cl
mov dword [esi + 0x98], ecx
cmp dword [eax + 0x14], 8
jb 0x10020628
mov eax, dword [eax]
push dword [esi + 4]
push ecx
push dword [ebp - 0x228]
push eax
call fcn.1002276d
mov ecx, eax
call fcn.10016fb6
mov esi, dword [ebp - 0x224]
test eax, eax
je 0x10020655
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx + 4]
test eax, eax
jne 0x10020658
push 9
pop ebx
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.100018f3
lea ecx, [esi - 0x10]
call fcn.100018f3
mov eax, ebx
call fcn.1008b42b
ret 0xc
Function at 0x10020a0e
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x20a
lea eax, [ebp - 0x210]
xor edi, edi
push esi
push edi
push eax
mov dword [ebp - 0x224], edi
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x218], edi
call fcn.100017d6
push eax
lea ecx, [ebp - 0x218]
call fcn.10001572
lea eax, [ebp - 0x224]
mov dword [ebp - 0x21c], esi
push eax
push 0x20019
push edi
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10020b47
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push str.InstallDir
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10020b3b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10020ac8
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x218]
call fcn.10005c3c
push str.QQRepair.exe
lea edx, [ebp - 0x218]
mov dword [ebp - 0x214], edi
lea ecx, [ebp - 0x214]
call fcn.10001474
pop ecx
push dword [ebp - 0x214]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10020b2d
push ecx
push edi
push ecx
mov ecx, dword [ebp - 0x214]
mov edx, str._ext1
call fcn.1001b4a1
add esp, 0xc
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.100018f3
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.100018f3
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1008a777
mov esp, ebp
pop ebp
ret 4
Function at 0x10021cf4
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x224
mov eax, 0x100be490
call fcn.1008b481
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x224]
mov eax, dword [ebp + 0xc]
xor esi, esi
push edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], esi
call fcn.1000564f
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x224]
mov eax, dword [ebp - 0x224]
push dword [eax - 0xc]
call fcn.10001a10
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.100056a7
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.1000159b
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
mov byte [ebp - 4], 1
mov ecx, ebx
push dword [ebp - 0x224]
push edi
call fcn.10021b72
test eax, eax
je 0x10021e17
push str.Info.ini
lea ecx, [ebp - 0x224]
call fcn.10018acc
push dword [ebp - 0x224]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
je 0x10021e17
push 0x20a
xor edi, edi
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x220]
push dword [ebp - 0x224]
push 0x104
push eax
push str.setup.exe
push str.PacketExe
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x228]
call fcn.10018acc
mov esi, dword [ebp - 0x228]
push esi
call fcn.10001a48
pop ecx
mov ecx, dword [ebp - 0x22c]
push eax
push esi
add ecx, 0x28
call fcn.10001ddf
push esi
call ebx
mov edi, eax
jmp 0x10021e19
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.100018f3
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.100018f3
mov eax, edi
call fcn.1008b42b
ret 8
Function at 0x1002206f
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x230
mov eax, 0x100be536
call fcn.1008b481
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
mov dword [ebp - 4], ebx
call fcn.10018b84
add eax, 4
lea edx, [ebp - 0x238]
push 0x100d0a54
push edx
push 0x100f2b24
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], ebx
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.1000564f
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], ebx
je 0x100221f1
call fcn.10022351
test eax, eax
je 0x100221f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xdc], eax
cmp dword [edi + 0x9c], ebx
jne 0x10022136
push 0xc8
call fcn.1008aaf7
pop ecx
mov ecx, eax
mov dword [ebp - 0x23c], eax
call fcn.1001c359
mov dword [edi + 0x9c], eax
push dword [ebp - 0x220]
call fcn.10001a48
pop ecx
mov ecx, dword [edi + 0x9c]
push eax
push dword [ebp - 0x220]
call fcn.10001ddf
push 0x20a
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.UIConfig.Zip
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x21c]
push eax
call fcn.10001a48
pop ecx
mov ecx, dword [edi + 0x9c]
push eax
lea eax, [ebp - 0x21c]
add ecx, 0x18
push eax
call fcn.10001ddf
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0xa0]
push eax
push dword [edi + 0x9c]
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
jne 0x100221f1
mov esi, dword [edi + 0x18]
jmp 0x100221ec
mov ecx, dword [esi]
test ecx, ecx
je 0x100221e9
mov eax, dword [ecx]
push 0x12
push ecx
call dword [eax + 0x10]
add esi, 4
cmp esi, dword [edi + 0x1c]
jne 0x100221db
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.100018f3
push ebx
push 1
lea ecx, [ebp - 0x238]
call fcn.10001f53
xor eax, eax
call fcn.1008b42b
ret 4
Function at 0x10022449
Capabilities:
Check if file exists

Disassembly:
push 0x1d0
mov eax, 0x100be5ed
call fcn.1008b481
mov edi, dword [ebp + 8]
xor ebx, ebx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov esi, 0x100d0a54
mov byte [ebp - 4], 1
push esi
lea eax, [ebp - 0x1dc]
push 0x100f1f08
push eax
call fcn.10018b84
mov ecx, eax
call fcn.1000a09a
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000284a
push ebx
push 1
lea ecx, [ebp - 0x1dc]
call fcn.10001f53
lea ecx, [ebp - 0xec]
call fcn.1001c841
lea ecx, [ebp - 0x1b4]
call fcn.1001c359
push esi
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 3
push str.offline_package
push eax
mov dword [ebp - 0x14], ebx
call fcn.10018b84
mov ecx, eax
call fcn.1000a09a
mov esi, eax
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 4
call fcn.1001cc61
push 0x100d1d18
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b8]
call fcn.10001474
pop ecx
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 8
jb 0x1002251c
mov esi, dword [esi]
push esi
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.10001474
pop ecx
mov ecx, dword [ebp - 0x1b8]
lea ecx, [ecx - 0x10]
call fcn.100018f3
mov ecx, dword [ebp - 0x1bc]
lea ecx, [ecx - 0x10]
call fcn.100018f3
xor esi, esi
mov byte [ebp - 4], 0xa
push ebx
inc esi
lea ecx, [ebp - 0x1dc]
push esi
call fcn.10001f53
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002257d
push dword [ebp - 0x14]
call fcn.10001a48
pop ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x19c]
call fcn.10001ddf
push dword [ebp - 0x14]
call fcn.10001a48
pop ecx
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xc4]
call fcn.10001ddf
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.10001b8f
lea ecx, [edi + 0xc]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0xe4], 8
call fcn.100228a6
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [edi + 0xc]
call fcn.10023478
mov ecx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1b4]
push eax
add ecx, 0xb8
call fcn.1001c3e6
sub esp, 0x18
lea edx, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x1c0], esp
push ecx
call fcn.1006e0f0
pop ecx
mov byte [ebp - 4], 0xb
call fcn.10018a1a
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.10025907
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100018f3
lea ecx, [ebp - 0x1b4]
call fcn.1001dbe6
lea ecx, [ebp - 0xec]
call fcn.1001c919
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.10001f53
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001f53
xor eax, eax
inc eax
call fcn.1008b42b
ret 4
Function at 0x1002bbf1
Capabilities:
Delete registry value

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1c0], 2
mov dword [esi + 0x1d8], 1
jne 0x1002bc13
call fcn.10018a1a
mov ecx, eax
call fcn.1002596c
cmp dword [esi + 0x1c0], 3
je 0x1002bc38
cmp dword [esi + 0x1f4], 0
je 0x1002bc2a
call fcn.1002e804
push ecx
mov ecx, esi
call fcn.100311d5
pop esi
jmp fcn.1002bb74
pop esi
ret
Function at 0x1002dd78
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x3c
mov eax, 0x100bf8d6
call fcn.1008b481
mov ebx, ecx
push str.CMainWndUI::ShowDownloadingUI
mov edi, 0xd2
mov esi, str.D:qci_workspace_root_workspaces__qci_pipeline_11036542_1QQPCDownloadTxdlUIMainWndUI.cpp
push edi
push esi
call fcn.1006a3c4
add esp, 0xc
push str.CMainWndUI::begin_to_set_timer
push edi
push esi
call fcn.1006a3c4
add esp, 0xc
mov ecx, ebx
push 0xfa0
call fcn.1004ffa0
push eax
push str.CMainWndUI::end_to_set_timer_m_dwSwitchTimeId__d_
push edi
push esi
mov dword [ebx + 0x8c], eax
call fcn.1006a3c4
add esp, 0x10
xor esi, esi
xor eax, eax
mov dword [ebp - 0x30], esi
mov word [ebp - 0x40], ax
push 7
pop edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0xa4]
sub eax, dword [ebx + 0xa0]
push 0x18
pop ecx
cdq
idiv ecx
mov ecx, dword [ebx + 0x1b0]
cmp eax, ecx
jbe 0x1002de19
imul eax, ecx, 0x18
lea ecx, [ebp - 0x40]
add eax, dword [ebx + 0xa0]
cmp ecx, eax
je 0x1002de19
push 0xffffffffffffffff
push esi
push eax
call fcn.10001b8f
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0xb0]
sub eax, dword [ebx + 0xac]
push 0x18
pop ecx
cdq
idiv ecx
mov ecx, dword [ebx + 0x1b0]
cmp eax, ecx
jbe 0x1002de5e
imul eax, ecx, 0x18
lea ecx, [ebp - 0x28]
add eax, dword [ebx + 0xac]
cmp ecx, eax
je 0x1002de5e
push 0xffffffffffffffff
push esi
push eax
call fcn.10001b8f
mov ecx, dword [ebx + 0x1b0]
lea eax, [ebp - 0x28]
push esi
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx + 0x1d0]
lea eax, [eax + ecx*4]
mov ecx, ebx
add eax, 8
push eax
call fcn.10030e6a
inc dword [ebx + 0x1b0]
lea ecx, [ebx + 0x70]
mov eax, dword [ecx]
push 2
call dword [eax + 8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.homepagestay
call fcn.100111cd
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.costHomePageStay
call fcn.100111cd
mov byte [ebp - 4], 3
call fcn.1001c2c8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [eax + 0xd4]
call edi
sub eax, esi
push eax
push 0x138a
call fcn.10018a1a
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10024b6e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x100d1e22
call fcn.100111cd
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.actionEnterDownloading
call fcn.100111cd
push 0x7d4
mov byte [ebp - 4], 5
call fcn.10018a1a
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10024afc
call edi
mov esi, eax
call fcn.1001c2c8
push 0
push 1
lea ecx, [ebp - 0x28]
mov dword [eax + 0xd4], esi
mov dword [ebx + 0x1c0], 2
call fcn.10001f53
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10001f53
call fcn.1008b42b
ret