joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100269e9
Capabilities:
Create directory
Delete file

Disassembly:
push 0xc
mov eax, 0x10078538
call fcn.1005886f
mov edi, dword [ebp + 8]
push edi
call fcn.100280ab
mov eax, dword [0x1009a0f4]
mov ecx, 0x1009a0f4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
xor ebx, ebx
push 0x1008445c
lea eax, [ebp + 8]
mov dword [ebp - 4], ebx
mov ecx, dword [edi + 0x10]
push eax
mov edx, 0x1007c320
call fcn.10023f39
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.1000eccb
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, 0xfffffff0
call fcn.100033b2
lea esi, [ebp + 8]
call fcn.10008ef5
mov byte [ebp - 4], 2
call fcn.10002a18
push str.Download_
mov eax, esi
push eax
call fcn.100090b8
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x10084490
mov eax, esi
push eax
call fcn.100090b8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0x1438
push esi
call fcn.100515d4
push esi
push ebx
push eax
mov dword [ebp - 0x14], eax
call fcn.10051de0
mov eax, dword [ebp - 0x14]
push 0xe0
mov dword [eax + 4], 2
call fcn.100515d4
add esp, 0x14
cmp eax, ebx
je 0x10026ad9
mov esi, eax
call fcn.10024e42
mov dword [ebp - 0x10], eax
jmp 0x10026adc
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.100090de
push dword [ebp + 8]
mov ebx, esi
lea esi, [ebx + 0x1c]
call fcn.100090de
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x30]
call fcn.10029ae4
mov dword [eax], ebx
mov eax, dword [edi]
push edi
call dword [eax + 0x2c]
mov eax, edi
call fcn.10025315
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.100033b2
xor eax, eax
call fcn.10058947
ret 4

Function at 0x10026b35
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x100730b9
call fcn.1005886f
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.10003078
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.10002a18
push str.Download_
push esi
call fcn.100090b8
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100844a8
push esi
call fcn.100090b8
mov edi, dword [ebp + 8]
add edi, 0x3c
mov eax, esi
call fcn.10002dcc
mov eax, esi
call fcn.10058947
ret 0xc
Function at 0x10026e0f
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.10048719
test al, al
jne 0x10026e80
mov edi, dword [ebp - 0xc]
test edi, edi
jne 0x10026e4c
call fcn.10051768
mov esi, dword [ebp - 8]
cmp esi, dword [edi + 4]
jne 0x10026e59
call fcn.10051768
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10026e68
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 8]
je 0x10026e72
lea esi, [ebp - 0xc]
call fcn.10029ec1
jmp 0x10026e2b
add eax, 0x90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x10026e82
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10026ef4
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push 0x42c
mov eax, 0x10077692
call fcn.100588d8
mov ecx, dword [ebx + 0x10]
push str.PackageDirCfg
lea eax, [ebp - 0x438]
push eax
mov edx, str._appdata__tencentQQPCMgrDownload
call fcn.10023f39
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x1009a0f4]
mov ecx, 0x1009a0f4
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.10051de0
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 0x10026fa8
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 0x100270da
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.10002fe5
push 0x1007bf70
lea eax, [ebp - 0x42c]
push eax
call fcn.100090b8
lea edi, [ebx + 0xb8]
lea eax, [ebp - 0x42c]
call fcn.10002dcc
mov ecx, dword [ebx + 0x10]
push str.QQPCMgrNameCfg
lea eax, [ebp - 0x434]
push eax
mov edx, 0x1007c320
call fcn.10023f39
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x434]
cmp dword [eax - 0xc], esi
jne 0x10027029
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 0x1002701c
mov eax, str.QQPCMgr_Setup.dll
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.10002fe5
lea edi, [ebx + 0xbc]
lea eax, [ebp - 0x434]
call fcn.10002dcc
mov ecx, dword [ebx + 0x10]
push str.KvNameCfg
lea eax, [ebp - 0x430]
push eax
mov edx, str.Kingsoft_Antivirus.exe
call fcn.10023f39
lea edi, [ebx + 0xc0]
mov byte [ebp - 4], 4
call fcn.10002dcc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.100033b2
mov ecx, dword [ebx + 0x10]
push str.FixNameCfg
lea eax, [ebp - 0x430]
push eax
mov edx, str.QQPCFix.exe
call fcn.10023f39
lea edi, [ebx + 0xc4]
mov byte [ebp - 4], 5
call fcn.10002dcc
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
call fcn.100033b2
call fcn.1005895b
ret
lea esi, [ebp - 0x430]
call fcn.10008ef5
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 2
call fcn.10002dcc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.100033b2
push str.Download
mov eax, edi
push eax
call fcn.100090b8
xor esi, esi
jmp 0x10026fb5
Function at 0x10027df6
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x230
mov eax, 0x1007806c
call fcn.100588d8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x238], eax
mov eax, dword [0x1009a0f4]
mov esi, ecx
mov edi, 0x1009a0f4
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 0x10027e6d
cmp dword [esi + 0x320], ebx
jne 0x10027e6d
push 0x1007bc68
lea eax, [ebp - 0x224]
push eax
call fcn.10002fe5
jmp 0x10027f30
push 0x208
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call fcn.10051de0
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 [0x1009a0f4]
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.1000eccb
add esp, 0x14
lea eax, [esi + 0x3a8]
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x228]
call fcn.1000d005
pop ecx
pop ecx
lea edi, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.10002dcc
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
call fcn.100033b2
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
call fcn.100033b2
lea edi, [esi + 0x328]
push edi
call fcn.1005184b
test eax, eax
pop ecx
mov eax, str.Install
je 0x10027f48
mov eax, edi
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10002d85
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.10029e3a
mov edx, esi
mov ecx, eax
call fcn.1002168d
cmp eax, ebx
mov esi, dword [ebp - 0x224]
je 0x10027fca
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 4]
test eax, eax
je 0x10027fca
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
call fcn.100033b2
lea eax, [esi - 0x10]
call fcn.100033b2
mov eax, ebx
call fcn.1005895b
ret 0xc
push 9
pop ebx
jmp 0x10027faa
Function at 0x10027fcf
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.10048719
test al, al
jne 0x100280a1
mov esi, dword [ebp - 0xc]
test esi, esi
jne 0x10028017
call fcn.10051768
cmp ebx, dword [esi + 4]
jne 0x10028021
call fcn.10051768
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x10028091
cmp dword [esi + 4], 0x186a0
je 0x10028091
lea edi, [esi + 0x90]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10028091
lea eax, [esi + 0x2a0]
push eax
push edi
call fcn.10015cc0
test eax, eax
pop ecx
pop ecx
je 0x1002808a
cmp dword [esi + 8], 1
je 0x10028091
cmp dword [esi + 0x324], 0
je 0x10028073
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.1002973a
test eax, eax
je 0x10028091
and dword [esi + 0xc], 0
mov dword [esi + 0x42c], 0x64
mov dword [esi + 8], 8
jmp 0x10028091
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0xc]
call fcn.10029ec1
mov ebx, dword [ebp - 8]
jmp 0x10027fec
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 4

Function at 0x10028432
Capabilities:
Create directory
Delete file

Disassembly:
push 0x1c
mov eax, 0x10073bd0
call fcn.1005886f
mov eax, dword [0x1009a0f4]
mov ecx, 0x1009a0f4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea esi, [ebp - 0x24]
call fcn.10008ef5
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10002dcc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.100033b2
mov esi, edi
call fcn.10002a18
push str.Download_
mov eax, edi
push eax
call fcn.100090b8
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.100293cc
mov eax, esi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10002e8a
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.1000d005
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.1000d005
lea eax, [ebp - 0x18]
push str..xftp
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.1000d005
add esp, 0x10
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.100033b2
lea eax, [edi - 0x10]
call fcn.100033b2
xor eax, eax
inc eax
call fcn.10058947
ret 0xc
Function at 0x100285f0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10074ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10095428]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x1c]
call fcn.10025095
lea ecx, [esp + 0x18]
push str.qmdr
push ecx
xor ebx, ebx
mov ecx, eax
mov dword [esp + 0x50], ebx
call fcn.1000d005
pop ecx
pop ecx
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.100033b2
push ebx
push dword [esp + 0x1c]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [esp + 0x14]
push 0x100847a4
push eax
lea ecx, [esp + 0x20]
call fcn.1000d005
mov byte [esp + 0x50], 3
mov ecx, dword [esp + 0x1c]
push 0x69
call fcn.10024f00
add esp, 0xc
cmp eax, ebx
jne 0x100286c4
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100286c4
xor edi, edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.100033b2
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.10029d16
push ebx
push 1
lea esi, [esp + 0x28]
mov byte [esp + 0x50], 3
call fcn.10001f1e
push dword [esp + 0x18]
lea eax, [esp + 0x24]
call fcn.1000189d
push eax
lea eax, [edi + 0xd8]
mov byte [esp + 0x4c], 5
call fcn.10029d16
push ebx
push 1
lea esi, [esp + 0x28]
mov byte [esp + 0x50], 3
call fcn.10001f1e
push dword [esp + 0x14]
lea eax, [esp + 0x24]
call fcn.1000189d
mov byte [esp + 0x48], 6
call fcn.1002d3d2
lea edx, [esp + 0x20]
mov ecx, eax
call fcn.1002ce27
push ebx
push 1
lea esi, [esp + 0x28]
mov edi, eax
call fcn.10001f1e
jmp 0x10028697
Function at 0x10028940
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x10095428]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14
mov eax, 0x10075d70
call fcn.1005886f
xor esi, esi
push 0x208
lea eax, [ebp + 2]
push esi
push eax
mov dword [ebp - 0x14], esi
mov word [ebp], si
call fcn.10051de0
mov eax, dword [0x1009a0f4]
add esp, 0xc
mov ecx, 0x1009a0f4
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 0x10028a36
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 0x10028a2d
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.10002fe5
lea eax, [ebp - 0x18]
push str.QQRepair.exe
push eax
lea ecx, [ebp - 0x10]
call fcn.1000d005
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10028a22
mov ecx, dword [ebp - 0x18]
push str._ext1
call fcn.10015bda
pop ecx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.100033b2
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.100033b2
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.10051861
add ebp, 0x210
leave
ret 4
Function at 0x1002973a
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x224
mov eax, 0x10077d36
call fcn.100588d8
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.10002d85
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x224]
push dword [eax - 0xc]
lea esi, [ebp - 0x224]
call fcn.100032b3
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [ebp - 0x224], 0
jne 0x10029796
xor eax, eax
jmp 0x100297a2
push dword [ebp - 0x224]
call fcn.1005184b
pop ecx
lea edx, [ebp - 0x224]
call fcn.1000326c
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.10003078
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.1002959f
test eax, eax
jne 0x100297fe
lea eax, [edi - 0x10]
call fcn.100033b2
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.100033b2
xor eax, eax
call fcn.1005895b
ret 8
push str.Info.ini
lea eax, [ebp - 0x224]
call fcn.10023503
push dword [ebp - 0x224]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
test eax, eax
jne 0x1002983c
xor esi, esi
lea eax, [edi - 0x10]
call fcn.100033b2
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, esi
jmp 0x100297f6
and word [ebp - 0x220], 0
push 0x208
lea eax, [ebp - 0x21e]
push 0
push eax
call fcn.10051de0
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.10023503
mov edi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x230]
push edi
add eax, 0x90
push esi
push eax
call fcn.10056543
add esp, 0xc
push edi
call ebx
mov esi, eax
jmp 0x10029822

Function at 0x100298ba
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.10029c65
jmp 0x100298ff
lea esi, [ebp - 0xc]
call fcn.10029f0e
cmp dword [eax + 0x18], 8
jb 0x100298eb
mov eax, dword [eax + 4]
jmp 0x100298ee
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0xc]
call fcn.1002ab0d
mov edi, ebx
lea esi, [ebp - 0x14]
call fcn.10029cfc
mov edi, eax
lea esi, [ebp - 0xc]
call fcn.10029f4b
test al, al
jne 0x100298d8
mov eax, ebx
call fcn.10029d76
mov ebx, dword [ebp + 8]
add ebx, 0xd8
lea esi, [ebp - 0xc]
mov edi, ebx
call fcn.10029c65
jmp 0x10029958
lea esi, [ebp - 0xc]
call fcn.10029f0e
cmp dword [eax + 0x18], 8
jb 0x10029944
mov eax, dword [eax + 4]
jmp 0x10029947
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea esi, [ebp - 0xc]
call fcn.1002ab0d
mov edi, ebx
lea esi, [ebp - 0x14]
call fcn.10029cfc
mov edi, eax
lea esi, [ebp - 0xc]
call fcn.10029f4b
test al, al
jne 0x10029931
mov eax, ebx
call fcn.10029d76
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1002cb5a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
je 0x1002cc42
test eax, eax
jle 0x1002cc42
push ebx
push esi
or esi, 0xffffffff
cmp eax, 8
mov ecx, 0xff
jl 0x1002cc22
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 + 0x10081de8]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10081de8]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10081de8]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10081de8]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10081de8]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10081de8]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10081de8]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10081de8]
inc edx
dec edi
jne 0x1002cb8a
pop edi
test eax, eax
je 0x1002cc3b
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x10081de8]
inc edx
dec eax
jne 0x1002cc26
mov eax, esi
pop esi
not eax
pop ebx
ret
xor eax, eax
ret
Function at 0x1002d793
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10095428]
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 0x1002d7f4
cmp dword [ebp + 0xc], ecx
jle 0x1002d7f4
cmp ebx, ecx
je 0x1002d7f4
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.1002d8aa
pop ecx
lea edi, [ebp - 0x60]
call fcn.1002d951
mov al, 1
jmp 0x1002d7f6
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10051861
leave
ret

Function at 0x10035bcd
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x10077c08
call fcn.1005886f
mov esi, ecx
push str.CDownload::Init__
push 3
call fcn.10038753
xor edi, edi
cmp dword [esi + 0xc], edi
pop ecx
pop ecx
je 0x10035bf8
xor eax, eax
inc eax
jmp 0x10035c82
cmp dword [esi + 0x64], edi
mov dword [esi + 0xb8], 0x5dc
jne 0x10035c40
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 0x100373d1
push edi
push edi
call fcn.10054cc0
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.10037a69
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea esi, [ebp - 0x18]
call fcn.10037f3b
mov eax, edi
call fcn.10058947
ret
Function at 0x10035d03
Capabilities:
Print debug messages
Terminate thread

Disassembly:
push 0x10
mov eax, 0x10073958
call fcn.1005886f
push str.CDownload::Uninit__
push 3
call fcn.10038753
pop ecx
lea eax, [edi + 0x8c]
mov dword [ebp - 0x10], eax
pop ecx
add eax, 4
push eax
mov dword [ebp - 0x14], vtable.QQDectector::fund::lock::scoped_lock_class_QQDectector::fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [edi + 0x78]
mov dword [ebp - 0x1c], 2
call fcn.10037a69
push dword [edi + 0x70]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
call ebx
lea esi, [ebp - 0x14]
call fcn.10037f3b
push dword [edi + 0x68]
call ebx
push dword [edi + 0x70]
call ebx
cmp dword [edi + 0x64], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10035dab
push 0x1388
push dword [edi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10035da2
push 0x3ff
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push str.Uninit::TerminateThread
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [edi + 0x64]
call esi
and dword [edi + 0x64], 0
push dword [edi + 0x70]
call esi
push dword [edi + 0x68]
call esi
push dword [edi + 0x6c]
call esi
call fcn.10058947
ret