joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100021ab
Capabilities:
Check os version
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x10047338
call fcn.100464e0
sub esp, 0x388
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.100010ed
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.100010ca
pop ecx
pop ecx
push str.Netsh.exe
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::operator_1
mov ecx, 0x82
xor eax, eax
cmp dword [ebp + 8], ebx
lea edi, [ebp - 0x392]
mov word [ebp - 0x394], bx
rep stosd dword es:[edi], eax
jne 0x10002214
lea eax, [ebp - 0x394]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x10002226
push dword [ebp + 8]
lea eax, [ebp - 0x394]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
cmp dword [ebp + 0xc], ebx
jne 0x10002232
mov dword [ebp + 0xc], str.TencentDownloadProgram
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov esi, 0x11c
lea eax, [ebp - 0x188]
push esi
push ebx
push eax
mov byte [ebp - 4], 1
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x188]
mov dword [ebp - 0x188], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, ebx
jne 0x10002288
lea eax, [ebp - 0x188]
mov dword [ebp - 0x188], 0x114
push eax
call esi
test eax, eax
je 0x10002361
cmp dword [ebp - 0x184], 5
jb 0x10002361
push 5
pop eax
cmp eax, dword [ebp - 0x184]
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
jne 0x100022b8
push str.advfirewall_firewall_delete_rule_name_
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator
push dword [ebp + 0xc]
jmp 0x100022cc
push 0x1005c344
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator
lea eax, [ebp - 0x394]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_1
push 0x1005c340
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_1
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 0x181
mov word [ebp - 0x3c], bx
stosd dword es:[edi], eax
call sub.MFC42u.DLL_CString::CString_1
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
push 0x1005c1c4
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10002355
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10002387
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x10047354
call fcn.100464e0
sub esp, 0x228
push ebx
push edi
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
mov dword [ebp - 0x14], ebx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call sub.MFC42u.DLL_CString::CString_1
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push str.SoftwareTencentQQPCMgr
push SysStringLen
mov dword [ebp - 0x1c], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000249d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.InstallDir
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10002494
lea eax, [ebp - 0x234]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42u.DLL_CString::operator
lea eax, [ebp - 0x10]
push str.QQPCtray.exe
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42u.DLL_operator_1
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
call esi
test eax, eax
je 0x1000247a
lea eax, [ebp - 0x10]
push str.QQPCMgr.exe
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42u.DLL_operator_1
push dword [eax]
call esi
lea ecx, [ebp - 0x24]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
cmp esi, ebx
je 0x1000247a
mov bl, 1
jmp 0x1000247c
xor bl, bl
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
test bl, bl
pop esi
je 0x10002494
mov dword [ebp - 0x18], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100024ba
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x10047378
call fcn.100464e0
sub esp, 0x228
push ebx
push edi
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
mov dword [ebp - 0x18], ebx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call sub.MFC42u.DLL_CString::CString_1
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREkingsoftAntivirus
push SysStringLen
mov dword [ebp - 0x24], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000262f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.ProgramPath
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10002626
lea eax, [ebp - 0x234]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42u.DLL_CString::operator
lea eax, [ebp - 0x10]
push str.kismain.exe
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42u.DLL_operator_1
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 1
call esi
test eax, eax
je 0x100025ad
lea eax, [ebp - 0x10]
push str.kisuisp.exe
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42u.DLL_operator_1
push dword [eax]
call esi
lea ecx, [ebp - 0x20]
mov edi, eax
call sub.MFC42u.DLL_CString::CString
cmp edi, ebx
je 0x100025ad
mov bl, 1
jmp 0x100025af
xor bl, bl
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x100025c6
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x10]
push str.kxetray.exe
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42u.DLL_operator_1
push dword [eax]
mov byte [ebp - 4], 2
call esi
test eax, eax
je 0x1000260c
lea eax, [ebp - 0x10]
push str.kislive.exe
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42u.DLL_operator_1
push dword [eax]
call esi
lea ecx, [ebp - 0x1c]
mov esi, eax
call sub.MFC42u.DLL_CString::CString
test esi, esi
je 0x1000260c
mov bl, 1
jmp 0x1000260e
xor bl, bl
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString
test bl, bl
pop esi
je 0x10002626
mov dword [ebp - 0x14], 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000317c
Capabilities:
Check for time delay via gettickcount
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push ebx
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
jne 0x100031a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.QQPCDetector.dll_RunDetector
jmp 0x10003314
lea eax, [ebp + 0x14]
mov ecx, 0x10060b18
push eax
lea eax, [ebp - 4]
push eax
call fcn.10004ad5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10060b1c]
je 0x100031db
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x10003314
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x10003314
push esi
push edi
call fcn.1001544d
mov edx, 0x82
mov esi, eax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x626]
mov word [ebp - 0x628], bx
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x20e]
mov word [ebp - 0x210], bx
mov word [ebp - 0x41c], bx
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [ebp - 0x41a]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x628]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [ebp - 0x41c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push str._s_d.dll
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x100032a1
lea eax, [ebp - 0x210]
push ebx
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100032aa
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10003254
push 0x30
call sub.MFC42u.DLL_operatornew
cmp eax, ebx
pop ecx
je 0x100032d5
mov dword [eax], 0x1004d8d4
mov dword [eax + 0x2c], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov esi, eax
jmp 0x100032d7
xor esi, esi
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.1000331c
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x100032f1
push dword [ebp + 0x14]
call eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10003302
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
lea eax, [ebp + 0x14]
mov ecx, 0x10060b18
push eax
call fcn.10004996
mov dword [eax], esi
pop edi
pop esi
push 1
pop eax
pop ebx
leave
ret 0x10
Function at 0x1000331c
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov dword [esi + 0x2c], eax
cmp eax, ebx
je 0x100033f1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RunDetector
push eax
call edi
push str.GetDectectorResult
mov dword [esi + 4], eax
push dword [esi + 0x2c]
call edi
push str.WaitDetectorComplete
mov dword [esi + 8], eax
push dword [esi + 0x2c]
call edi
push str.CancelDetector
mov dword [esi + 0xc], eax
push dword [esi + 0x2c]
call edi
push str.InitDetector
mov dword [esi + 0x10], eax
push dword [esi + 0x2c]
call edi
push str.UnInitDetector
mov dword [esi + 0x14], eax
push dword [esi + 0x2c]
call edi
push str.SetGroupId
mov dword [esi + 0x18], eax
push dword [esi + 0x2c]
call edi
push str.RunDetectorEx
mov dword [esi + 0x1c], eax
push dword [esi + 0x2c]
call edi
push str.GetDectectorResultEx
mov dword [esi + 0x20], eax
push dword [esi + 0x2c]
call edi
push str.WaitDetectorCompleteEx
mov dword [esi + 0x24], eax
push dword [esi + 0x2c]
call edi
cmp dword [esi + 4], ebx
mov dword [esi + 0x28], eax
pop edi
je 0x100033ea
cmp dword [esi + 8], ebx
je 0x100033ea
cmp dword [esi + 0xc], ebx
je 0x100033ea
cmp dword [esi + 0x10], ebx
je 0x100033ea
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x100033ea
cmp dword [esi + 0x1c], ebx
je 0x100033ea
push dword [esp + 0xc]
call eax
push 1
pop eax
jmp 0x100033f3
mov ecx, esi
call fcn.100033f8
xor eax, eax
pop esi
pop ebx
ret 4
Function at 0x10003f2c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [ebp + 0xc]
and word [ebp - 0x20c], 0
mov dword [0x10060b0c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10060b10], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, 0x82
push edi
mov dword [0x10060c08], eax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10004053
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x20c]
push eax
call esi
and word [ebp - 0x418], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x416]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x418]
push eax
call fcn.10004053
lea eax, [ebp - 0x418]
push eax
call esi
and word [ebp - 0x624], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x622]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x624]
push eax
call fcn.10004053
lea eax, [ebp - 0x624]
push eax
call esi
mov esi, dword [sym.imp.MSVCRT.dll__wtoi]
lea eax, [ebp - 0x20c]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x418]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x624]
push eax
call esi
add esp, 0xc
push eax
push ebx
push edi
call sym.QQPCDetector.dll_RunDetector
cmp edi, 1
jne 0x1000404e
and word [ebp - 0x82c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x82a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x64
push 0x1005c8f4
lea eax, [ebp - 0x82c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x82c]
push eax
push 0xa
call fcn.1000408d
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100040c2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [ebp + 0xc]
and word [ebp - 0x418], 0
mov dword [0x10060b0c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10060b10], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, 0x82
push edi
mov dword [0x10060c08], eax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x416]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x418]
push eax
call fcn.10004053
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x418]
push eax
call esi
and word [ebp - 0x20c], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10004053
lea eax, [ebp - 0x20c]
push eax
call esi
and word [ebp - 0x830], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x82e]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x830]
push eax
call fcn.10004053
lea eax, [ebp - 0x830]
push eax
call esi
and word [ebp - 0x624], 0
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x622]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x624]
push eax
call fcn.10004053
lea eax, [ebp - 0x624]
push eax
call esi
mov esi, dword [sym.imp.MSVCRT.dll__wtoi]
lea eax, [ebp - 0x418]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x20c]
push eax
call esi
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x830]
push eax
call esi
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x624]
push eax
call esi
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10004215
cmp ebx, 1
jne 0x10004215
and word [ebp - 0xa38], ax
mov ecx, 0x81
lea edi, [ebp - 0xa36]
push 0x64
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x1005c8f4
lea eax, [ebp - 0xa38]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
push 0xa
call fcn.1000408d
push esi
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push ebx
call sym.QQPCDetector.dll_RunDetectorEx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000426c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [ebp + 0xc]
push esi
mov dword [0x10060b0c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10060b10], eax
mov eax, dword [ebp + 0x10]
mov edx, 0x81
push edi
mov dword [0x10060c08], eax
xor esi, esi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x206]
mov word [ebp - 0x208], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x822]
mov word [ebp - 0x824], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x61a]
mov word [ebp - 0x61c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], si
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x414]
mov dword [ebp + 0xc], esi
push eax
call fcn.10004053
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, esi
pop ecx
mov dword [ebp + 0x14], eax
jne 0x1000433f
mov eax, 0x103
push esi
lea ecx, [ebp - 0x824]
push eax
push ecx
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp + 0xc]
push eax
call sym.QQPCDetector.dll_GetDectectorResult
jmp 0x10004375
lea eax, [ebp + 0x14]
mov ecx, 0x10060b18
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.10004ad5
mov eax, dword [ebp + 0x10]
cmp eax, dword [0x10060b1c]
je 0x10004375
lea ecx, [ebp + 0xc]
push ecx
push esi
lea ecx, [ebp - 0x208]
push 0x104
push ecx
mov ecx, dword [eax + 0x10]
call fcn.100043f8
lea eax, [ebp - 0x208]
push eax
call edi
lea eax, [ebp - 0x208]
push eax
call fcn.100043b2
push dword [ebp + 0xc]
lea eax, [ebp - 0x61c]
push 0x1005c8f4
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
call fcn.100043b2
pop edi
pop esi
leave
ret

Function at 0x1000451e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [ebp + 0xc]
push ebx
mov dword [0x10060b0c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [0x10060c0c], eax
mov eax, dword [ebp + 0x10]
push edi
push 0x41
mov dword [0x10060b08], eax
xor bl, bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], bl
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push eax
call fcn.100045f7
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x210]
push eax
call esi
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
mov byte [ebp - 0x108], bl
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.100045f7
lea eax, [ebp - 0x108]
push eax
call esi
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x317]
mov byte [ebp - 0x318], bl
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x318]
push eax
call fcn.100045f7
lea eax, [ebp - 0x318]
push eax
call esi
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
lea eax, [ebp - 0x210]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x108]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x318]
push eax
call esi
add esp, 0xc
push eax
push ebx
push edi
call sym.QQPCDetector.dll_RunDetector
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100047f6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
xor esi, esi
push str.Local5292C169_0B23_423a_A3EF_F72F15AF5DD2
push esi
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareTencentQQPCMgrDownloadResever
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100048a2
lea eax, [ebp - 0x18]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x222]
mov word [ebp - 0x224], si
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push str._d__d__d
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x14
lea eax, [ebp - 0x18]
push 0x10
push eax
push 3
lea eax, [ebp - 0x224]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret

Function at 0x1000986f
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x100098cc
mov ecx, dword [esp + 8]
push edi
cmp ecx, 0xffffffff
mov edi, 0x11333
jne 0x10009891
cmp dword [esi + 0x18], edi
jne 0x10009891
mov ecx, 0xa4cb80
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100098c6
cmp dword [esi + 0x18], edi
jne 0x100098bc
mov eax, dword [esi + 0x14]
push 0
push 0
or eax, 0xdead0000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 1
pop eax
pop edi
jmp 0x100098ce
xor eax, eax
pop esi
ret 4

Function at 0x100098d2
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.RT_RCDATA
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x10009941
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, edi
mov dword [ebp + 0xc], eax
je 0x10009941
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x10009941
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, edi
je 0x10009941
push edi
push 0x80
push 2
push edi
push 1
push 0x10000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10009945
xor eax, eax
jmp 0x10009965
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 0xc]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1000995c
push 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a14d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
and word [ebp - 0x41c], 0
push ebx
push esi
mov ebx, dword [sym.imp.MSVCRT.dll_swprintf]
mov dword [ebp - 4], ecx
mov esi, 0x82
push edi
mov ecx, esi
push dword [0x1005c9f0]
xor eax, eax
lea edi, [ebp - 0x41a]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x41c]
push 0x1005c8f4
push eax
call ebx
and word [ebp - 0x210], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add esp, 0xc
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x1000a1b8
mov eax, edx
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x1000a1c1
mov ecx, edx
push eax
push ecx
lea eax, [ebp - 0x210]
push str.Create_Task_URL:_s__FileName:__s
push eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call ebx
mov ecx, dword [0x10060c30]
test ecx, ecx
je 0x1000a263
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
test esi, esi
je 0x1000a25c
mov eax, dword [esi]
push dword [ebp - 4]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [edi + 0x14]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
test eax, eax
jne 0x1000a211
mov eax, ecx
mov edi, dword [edi + 4]
test edi, edi
jne 0x1000a21a
mov edi, ecx
mov edx, dword [esi]
lea ecx, [ebp - 0x41c]
push ecx
push eax
push edi
push 0
mov ecx, esi
call dword [edx + 8]
test eax, eax
je 0x1000a24d
mov eax, dword [ebp - 4]
push 0x1005c9f0
lea ecx, [eax + 4]
call fcn.1000a430
push 1
mov dword [eax], esi
inc dword [0x1005c9f0]
pop eax
jmp 0x1000a265
push str.Start_QQProxy_Download_Failed
call ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
jmp 0x1000a263
push str.Create_QQ_Proxy_Download_Failed
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8