joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027ecd
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x10074c88
call fcn.1005a2eb
mov eax, dword [0x1009d334]
mov ecx, 0x1009d334
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x1008662c
push str.QQPCRtp.exe
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str.__s_s___d
push eax
call fcn.1000f214
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.10053710
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
add esp, 0x20
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10027fba
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
push dword [ebp - 0x1c]
call ebx
test eax, eax
je 0x10027fa1
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x10027f84
cmp dword [ebp - 0x38], 0x113
jne 0x10027f70
cmp dword [ebp - 0x34], 0x32
je 0x10027f84
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x3c]
push eax
call edi
test eax, eax
jne 0x10027f61
push 0x1f4
push dword [ebp - 0x1c]
call ebx
test eax, eax
jne 0x10027f84
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10027fb7
cmp dword [ebp + 8], esi
je 0x10027fba
push 2
pop esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10003389
mov eax, esi
call fcn.1005a3c3
ret 4
Function at 0x1002817b
Capabilities:
Create directory
Delete file

Disassembly:
push 0xc
mov eax, 0x1007a188
call fcn.1005a2eb
mov edi, dword [ebp + 8]
push edi
call fcn.100298e3
mov eax, dword [0x1009d334]
mov ecx, 0x1009d334
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
xor ebx, ebx
push 0x10086674
lea eax, [ebp + 8]
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0x10]
push eax
mov edx, 0x1007e388
call fcn.1002569b
mov byte [ebp - 4], 1
mov esi, dword [eax]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
push ebx
push str.supplyid
push eax
call dword [ecx + 0x18]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.1000f214
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10003389
lea esi, [ebp + 8]
call fcn.10009079
mov byte [ebp - 4], 2
call fcn.100029f5
push str.Download_
mov eax, esi
push eax
call fcn.1000923c
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100866a8
mov eax, esi
push eax
call fcn.1000923c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0x1438
push esi
call fcn.10052f00
push esi
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.10053710
mov eax, dword [ebp - 0x14]
push 0xe0
mov dword [eax + 4], 2
call fcn.10052f00
add esp, 0x14
cmp eax, ebx
je 0x1002826b
mov esi, eax
call fcn.100265a4
mov dword [ebp - 0x10], eax
jmp 0x1002826e
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov dword [eax + 8], ebx
call fcn.1000927b
push dword [ebp + 8]
mov ebx, esi
lea esi, [ebx + 0x1c]
call fcn.1000927b
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x30]
call fcn.1002b3a2
mov dword [eax], ebx
mov eax, dword [edi]
push edi
call dword [eax + 0x2c]
mov eax, edi
call fcn.10026a78
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10003389
xor eax, eax
call fcn.1005a3c3
ret 4

Function at 0x100282c7
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x10074c59
call fcn.1005a2eb
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [eax]
sub eax, 0x10
call fcn.1000305a
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.100029f5
push str.Download_
push esi
call fcn.1000923c
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100866c0
push esi
call fcn.1000923c
mov edi, dword [ebp + 8]
add edi, 0x3c
mov eax, esi
call fcn.10002da9
mov eax, esi
call fcn.1005a3c3
ret 0xc
Function at 0x100285a1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x34]
mov eax, dword [eax]
add ebx, 0x30
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx + 4]
lea edi, [ebp - 0x14]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x10], eax
call fcn.1004a229
test al, al
jne 0x10028612
mov edi, dword [ebp - 0xc]
test edi, edi
jne 0x100285de
call fcn.10053094
mov esi, dword [ebp - 8]
cmp esi, dword [edi + 4]
jne 0x100285eb
call fcn.10053094
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100285fa
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 8]
je 0x10028604
lea esi, [ebp - 0xc]
call fcn.1002b764
jmp 0x100285bd
add eax, 0x90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x10028614
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10028686
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push 0x42c
mov eax, 0x100792f2
call fcn.1005a354
mov ecx, dword [ebx + 0x10]
push str.PackageDirCfg
lea eax, [ebp - 0x438]
push eax
mov edx, str._appdata__tencentQQPCMgrDownload
call fcn.1002569b
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x1009d334]
mov ecx, 0x1009d334
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
push 0x410
lea eax, [ebp - 0x426]
push esi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x428], si
call fcn.10053710
add esp, 0xc
push 0x208
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x428]
push eax
call edi
test eax, eax
lea eax, [ebp - 0x428]
jne 0x1002873a
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x428]
push eax
call edi
test eax, eax
je 0x1002886c
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.10002fc7
push 0x1007dfc8
lea eax, [ebp - 0x42c]
push eax
call fcn.1000923c
lea edi, [ebx + 0xb8]
lea eax, [ebp - 0x42c]
call fcn.10002da9
mov ecx, dword [ebx + 0x10]
push str.QQPCMgrNameCfg
lea eax, [ebp - 0x434]
push eax
mov edx, 0x1007e388
call fcn.1002569b
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x434]
cmp dword [eax - 0xc], esi
jne 0x100287bb
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push esi
push str.ModuleType
push eax
call dword [ecx + 0x18]
test eax, eax
mov eax, str.QQPCMgr_Setup.exe
je 0x100287ae
mov eax, str.QQPCMgr_Setup.dll
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.10002fc7
lea edi, [ebx + 0xbc]
lea eax, [ebp - 0x434]
call fcn.10002da9
mov ecx, dword [ebx + 0x10]
push str.KvNameCfg
lea eax, [ebp - 0x430]
push eax
mov edx, str.Kingsoft_Antivirus.exe
call fcn.1002569b
lea edi, [ebx + 0xc0]
mov byte [ebp - 4], 4
call fcn.10002da9
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.10003389
mov ecx, dword [ebx + 0x10]
push str.FixNameCfg
lea eax, [ebp - 0x430]
push eax
mov edx, str.QQPCFix.exe
call fcn.1002569b
lea edi, [ebx + 0xc4]
mov byte [ebp - 4], 5
call fcn.10002da9
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
call fcn.10003389
call fcn.1005a3d7
ret
lea esi, [ebp - 0x430]
call fcn.10009079
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 2
call fcn.10002da9
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.10003389
push str.Download
mov eax, edi
push eax
call fcn.1000923c
xor esi, esi
jmp 0x10028747
Function at 0x1002962e
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x230
mov eax, 0x10079cec
call fcn.1005a354
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov eax, dword [0x1009d334]
mov esi, ecx
mov edi, 0x1009d334
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x230]
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
push str.KvNoCmdline
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x100296a5
cmp dword [esi + 0x320], ebx
jne 0x100296a5
push 0x1007dca8
lea eax, [ebp - 0x224]
push eax
call fcn.10002fc7
jmp 0x10029768
push 0x208
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call fcn.10053710
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Kingsoft
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [0x1009d334]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x228]
push dword [ebp - 0x238]
mov byte [ebp - 4], 1
push str._silence1handle_dsupply_dinstallpath__s_
push eax
call fcn.1000f214
add esp, 0x14
lea eax, [esi + 0x3a8]
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x228]
call fcn.1000d4ab
pop ecx
pop ecx
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.10002da9
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
call fcn.10003389
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
call fcn.10003389
lea edi, [esi + 0x328]
push edi
call fcn.1005317b
test eax, eax
pop ecx
mov eax, str.Install
je 0x10029780
mov eax, edi
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10002d62
mov ecx, dword [ebp - 0x230]
mov byte [ebp - 4], 3
xor eax, eax
cmp dword [esi + 0x320], ebx
setne al
add esi, 0x90
mov dword [esi + 0x398], eax
push dword [ecx + 0x10]
push dword [esi - 0x8c]
push eax
push dword [ebp - 0x22c]
call fcn.1002b6dd
mov edx, esi
mov ecx, eax
call fcn.10023053
cmp eax, ebx
mov esi, dword [ebp - 0x224]
je 0x10029802
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 4]
test eax, eax
je 0x10029802
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.10003389
lea eax, [esi - 0x10]
call fcn.10003389
mov eax, ebx
call fcn.1005a3d7
ret 0xc
push 9
pop ebx
jmp 0x100297e2
Function at 0x10029807
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
add eax, 0x30
push ebx
mov ebx, dword [ecx]
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0x30
mov eax, dword [eax + 4]
lea edi, [ebp - 0x14]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x10], eax
call fcn.1004a229
test al, al
jne 0x100298d9
mov esi, dword [ebp - 0xc]
test esi, esi
jne 0x1002984f
call fcn.10053094
cmp ebx, dword [esi + 4]
jne 0x10029859
call fcn.10053094
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x100298c9
cmp dword [esi + 4], 0x186a0
je 0x100298c9
lea edi, [esi + 0x90]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100298c9
lea eax, [esi + 0x2a0]
push eax
push edi
call fcn.10015f34
test eax, eax
pop ecx
pop ecx
je 0x100298c2
cmp dword [esi + 8], 1
je 0x100298c9
cmp dword [esi + 0x324], 0
je 0x100298ab
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.1002aff8
test eax, eax
je 0x100298c9
and dword [esi + 0xc], 0
mov dword [esi + 0x42c], 0x64
mov dword [esi + 8], 8
jmp 0x100298c9
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0xc]
call fcn.1002b764
mov ebx, dword [ebp - 8]
jmp 0x10029824
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4

Function at 0x10029cdb
Capabilities:
Create directory
Delete file

Disassembly:
push 0x1c
mov eax, 0x100757a0
call fcn.1005a2eb
mov eax, dword [0x1009d334]
mov ecx, 0x1009d334
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea esi, [ebp - 0x24]
call fcn.10009079
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10002da9
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10003389
mov esi, edi
call fcn.100029f5
push str.Download_
mov eax, edi
push eax
call fcn.1000923c
mov edi, dword [ebp - 0x10]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 8]
lea esi, [ebp - 0x20]
call fcn.1002ac8a
mov eax, esi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10002e6c
pop ecx
pop ecx
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
lea eax, [ebp - 0x1c]
push str..tdl
push eax
lea ecx, [ebp - 0x14]
call fcn.1000d4ab
pop ecx
pop ecx
mov byte [ebp - 4], 4
push dword [ebp - 0x1c]
call esi
lea eax, [ebp - 0x28]
push str..xfd
push eax
lea ecx, [ebp - 0x14]
call fcn.1000d4ab
lea eax, [ebp - 0x18]
push str..xftp
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1000d4ab
add esp, 0x10
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10003389
lea eax, [edi - 0x10]
call fcn.10003389
xor eax, eax
inc eax
call fcn.1005a3c3
ret 0xc
Function at 0x10029e99
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10076620
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10098428]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x1c]
call fcn.100267f6
lea ecx, [esp + 0x18]
push str.qmdr
push ecx
xor ebx, ebx
mov ecx, eax
mov dword [esp + 0x50], ebx
call fcn.1000d4ab
pop ecx
pop ecx
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10003389
push ebx
push dword [esp + 0x1c]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [esp + 0x14]
push 0x100869bc
push eax
lea ecx, [esp + 0x20]
call fcn.1000d4ab
mov byte [esp + 0x50], 3
mov ecx, dword [esp + 0x1c]
push 0x69
call fcn.1002665f
add esp, 0xc
cmp eax, ebx
jne 0x10029f6d
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029f6d
xor edi, edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10003389
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10003389
mov eax, edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.1000189d
push eax
lea eax, [edi + 0xc8]
mov byte [esp + 0x4c], 4
call fcn.1002b5b9
push ebx
push 1
lea esi, [esp + 0x28]
mov byte [esp + 0x50], 3
call fcn.10001efb
push dword [esp + 0x18]
lea eax, [esp + 0x24]
call fcn.1000189d
push eax
lea eax, [edi + 0xd8]
mov byte [esp + 0x4c], 5
call fcn.1002b5b9
push ebx
push 1
lea esi, [esp + 0x28]
mov byte [esp + 0x50], 3
call fcn.10001efb
push dword [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.1000189d
mov byte [esp + 0x48], 6
call fcn.1002efd5
lea edx, [esp + 0x20]
mov ecx, eax
call fcn.1002ea2a
push ebx
push 1
lea esi, [esp + 0x28]
mov edi, eax
call fcn.10001efb
jmp 0x10029f40
Function at 0x1002a1e9
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14
mov eax, 0x10077950
call fcn.1005a2eb
xor esi, esi
push 0x208
lea eax, [ebp + 2]
push esi
push eax
mov dword [ebp - 0x14], esi
mov word [ebp], si
call fcn.10053710
mov eax, dword [0x1009d334]
add esp, 0xc
mov ecx, 0x1009d334
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push esi
push str.SoftwareTencentQQPCMgr
mov dword [ebp - 4], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], 0x20a
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002a2e1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push str.InstallDir
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002a2d8
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10002fc7
lea eax, [ebp - 0x18]
push str.QQRepair.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.1000d4ab
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002a2cd
push dword [ebp - 0x18]
xor edx, edx
mov ecx, str._ext1
call fcn.10015e3c
pop ecx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10003389
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10003389
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.10053191
add ebp, 0x210
leave
ret 4
Function at 0x1002aff8
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x224
mov eax, 0x10079956
call fcn.1005a354
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x230], eax
push ebx
lea eax, [ebp - 0x224]
push eax
call fcn.10002d62
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x224]
push dword [eax - 0xc]
lea esi, [ebp - 0x224]
call fcn.1000328a
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [ebp - 0x224], 0
jne 0x1002b054
xor eax, eax
jmp 0x1002b060
push dword [ebp - 0x224]
call fcn.1005317b
pop ecx
lea edx, [ebp - 0x224]
call fcn.1000324e
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.1000305a
lea edi, [eax + 0x10]
mov dword [ebp - 0x228], edi
push ebx
push dword [ebp - 0x22c]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
call fcn.1002ae5d
test eax, eax
jne 0x1002b0bc
lea eax, [edi - 0x10]
call fcn.10003389
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.10003389
xor eax, eax
call fcn.1005a3d7
ret 8
push str.Info.ini
lea eax, [ebp - 0x224]
call fcn.10024cab
push dword [ebp - 0x224]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
jne 0x1002b0fa
xor esi, esi
lea eax, [edi - 0x10]
call fcn.10003389
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.10003389
mov eax, esi
jmp 0x1002b0b4
and word [ebp - 0x220], 0
push 0x208
lea eax, [ebp - 0x21e]
push 0
push eax
call fcn.10053710
add esp, 0xc
push dword [ebp - 0x224]
mov esi, 0x104
push esi
lea eax, [ebp - 0x220]
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 eax, [ebp - 0x228]
call fcn.10024cab
mov edi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x230]
push edi
add eax, 0x90
push esi
push eax
call fcn.10058053
add esp, 0xc
push edi
call ebx
mov esi, eax
jmp 0x1002b0e0

Function at 0x1002b178
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
add ebx, 0xc8
push edi
lea esi, [ebp - 0xc]
mov edi, ebx
call fcn.1002b508
jmp 0x1002b1bd
lea esi, [ebp - 0xc]
call fcn.1002b7b1
cmp dword [eax + 0x18], 8
jb 0x1002b1a9
mov eax, dword [eax + 4]
jmp 0x1002b1ac
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0xc]
call fcn.1002c411
mov edi, ebx
lea esi, [ebp - 0x14]
call fcn.1002b59f
mov edi, eax
lea esi, [ebp - 0xc]
call fcn.1002b7ee
test al, al
jne 0x1002b196
mov eax, ebx
call fcn.1002b619
mov ebx, dword [ebp + 8]
add ebx, 0xd8
lea esi, [ebp - 0xc]
mov edi, ebx
call fcn.1002b508
jmp 0x1002b216
lea esi, [ebp - 0xc]
call fcn.1002b7b1
cmp dword [eax + 0x18], 8
jb 0x1002b202
mov eax, dword [eax + 4]
jmp 0x1002b205
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea esi, [ebp - 0xc]
call fcn.1002c411
mov edi, ebx
lea esi, [ebp - 0x14]
call fcn.1002b59f
mov edi, eax
lea esi, [ebp - 0xc]
call fcn.1002b7ee
test al, al
jne 0x1002b1ef
mov eax, ebx
call fcn.1002b619
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1002e75d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
je 0x1002e845
test eax, eax
jle 0x1002e845
push ebx
push esi
or esi, 0xffffffff
cmp eax, 8
mov ecx, 0xff
jl 0x1002e825
push edi
mov edi, eax
shr edi, 3
mov ebx, edi
imul ebx, ebx, 0xfffffff8
add eax, ebx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
dec edi
jne 0x1002e78d
pop edi
test eax, eax
je 0x1002e83e
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10083f00]
inc edx
dec eax
jne 0x1002e829
mov eax, esi
pop esi
not eax
pop ebx
ret
xor eax, eax
ret
Function at 0x1002f396
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor ecx, ecx
cmp eax, ecx
push edi
je 0x1002f3f7
cmp dword [ebp + 0xc], ecx
jle 0x1002f3f7
cmp ebx, ecx
je 0x1002f3f7
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
call fcn.1002f4ad
pop ecx
lea edi, [ebp - 0x60]
call fcn.1002f554
mov al, 1
jmp 0x1002f3f9
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10053191
leave
ret

Function at 0x100377cd
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x10079828
call fcn.1005a2eb
mov esi, ecx
push str.CDownload::Init__
push 3
call fcn.1003a124
xor edi, edi
cmp dword [esi + 0xc], edi
pop ecx
pop ecx
je 0x100377f8
xor eax, eax
inc eax
jmp 0x10037882
cmp dword [esi + 0x64], edi
mov dword [esi + 0xb8], 0x5dc
jne 0x10037840
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x68], eax
call ebx
push edi
push edi
push edi
push edi
mov dword [esi + 0x6c], eax
call ebx
mov dword [esi + 0x70], eax
lea eax, [esi + 0x74]
push eax
push edi
push esi
push 0x10038fd1
push edi
push edi
call fcn.1005671f
add esp, 0x18
mov dword [esi + 0x64], eax
lea eax, [esi + 0x8c]
mov dword [ebp - 0x14], eax
add eax, 4
push eax
mov dword [ebp - 0x18], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
xor edi, edi
push eax
inc edi
lea eax, [esi + 0x78]
mov dword [ebp - 0x20], edi
call fcn.10039669
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea esi, [ebp - 0x18]
call fcn.100398b1
mov eax, edi
call fcn.1005a3c3
ret