joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005a98
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100772c8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10098428]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x10098428]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea edi, [esp + 0x40]
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b], bl
call fcn.10005d28
pop ecx
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x10005afa
lea eax, [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x10005bb4
push 1
lea edi, [esp + 0x24]
call fcn.10005d28
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.10006229
test al, al
pop ecx
jne 0x10005b83
mov eax, edi
push eax
call fcn.10006229
test al, al
pop ecx
je 0x10005b83
cmp dword [esp + 0x54], 8
mov ecx, dword [esp + 0x40]
jae 0x10005b51
lea ecx, [esp + 0x40]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10005b60
lea eax, [esp + 0x24]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10005b83
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10005b7c
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10005b92
lea eax, [esp + 0x24]
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call esi
push ebx
push 1
lea esi, [esp + 0x28]
mov edi, eax
call fcn.10001efb
cmp edi, 0xffffffff
je 0x10005bf0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x10
jb 0x10005be9
cmp esi, 0xffffffff
je 0x10005be9
push ebx
lea eax, [esp + 0x1c]
push eax
push esi
push dword [esp + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10005be9
cmp dword [esp + 0x18], esi
jne 0x10005be9
mov byte [esp + 0x17], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea esi, [esp + 0x44]
call fcn.10001efb
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10053191
mov esp, ebp
pop ebp
ret 4
Function at 0x10005c20
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x10077298
call fcn.1005a354
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea edi, [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x49], bl
call fcn.10005d28
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10005c50
lea eax, [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x10005ca4
push 1
lea edi, [ebp - 0x2c]
call fcn.10005d28
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x10005c83
lea eax, [ebp - 0x28]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call esi
push ebx
push 1
lea esi, [ebp - 0x2c]
mov edi, eax
call fcn.10001efb
cmp edi, 0xffffffff
je 0x10005cca
push ebx
lea eax, [ebp - 0x50]
push eax
push 0x10
push dword [ebp - 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10005cc3
cmp dword [ebp - 0x50], 0x10
jne 0x10005cc3
mov byte [ebp - 0x49], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.10001efb
mov al, byte [ebp - 0x49]
call fcn.1005a3d7
ret 4

Function at 0x10005d28
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x230
mov eax, 0x1007725d
call fcn.1005a354
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [ebp - 0x220], edi
mov word [edi + 4], bx
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push ebx
mov dword [ebp - 4], ebx
inc esi
push eax
mov dword [ebp - 0x21c], esi
call fcn.10053710
mov al, byte [ebp + 8]
add esp, 0xc
neg al
push esi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10005df9
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
call fcn.1000189d
push 0xffffffffffffffff
mov dword [ebp - 4], esi
push ebx
mov esi, edi
call fcn.10002207
push ebx
push 1
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], bl
call fcn.10001efb
cmp byte [ebp + 8], bl
je 0x10005dd1
push 0x1007df5c
jmp 0x10005dd6
push 0x1007df84
push edi
call fcn.10006aa8
mov ecx, edi
call fcn.10005e01
test al, al
jne 0x10005dee
mov ecx, edi
call fcn.10005ece
push 0x1007dfa8
push edi
call fcn.10006aa8
mov eax, edi
call fcn.1005a3d7
ret
Function at 0x10008da6
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x10098428]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
lea edx, [esp + 0x10]
push edx
push 0x2001f
mov eax, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
push esi
mov dword [esp + 0x28], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x10008e94
xor eax, eax
cmp dword [esp + 0xc], esi
je 0x10008e0d
push dword [esp + 0xc]
call ebx
cmp eax, esi
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0xc], ecx
jne 0x10008e94
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push ecx
jmp 0x10008e64
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.10008da6
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x10008eb9
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
mov dword [esp + 0x34], pe_nt_image_headers32
call edi
test eax, eax
je 0x10008e37
cmp dword [esp + 0xc], esi
je 0x10008e82
push dword [esp + 0xc]
call ebx
mov dword [esp + 0xc], esi
push dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [esp + 0xc], esi
je 0x10008ea0
push dword [esp + 0xc]
call ebx
mov eax, edi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10053191
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0xc], esi
je 0x10008ec5
push dword [esp + 0xc]
call ebx
mov eax, dword [esp + 0x10]
jmp 0x10008ea2

Function at 0x10008ecb
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.10053710
add esp, 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x10008f1f
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x10008f30
cmp dword [ebp - 0x7c], 6
jne 0x10008f30
cmp dword [ebp - 0x78], 0
jne 0x10008f30
xor eax, eax
inc eax
jmp 0x10008f32
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.10053191
add ebp, 0xa0
leave
ret
Function at 0x10008f48
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.10053710
add esp, 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x10008f9c
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x10008faa
cmp dword [ebp - 0x7c], 6
jne 0x10008faa
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jae 0x10008fac
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.10053191
add ebp, 0xa0
leave
ret

Function at 0x10008fc2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
xor esi, esi
cmp edi, esi
je 0x10009061
lea ecx, [ebp - 0x7c]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009061
cmp dword [ebp - 0x7c], esi
je 0x10009061
push 0x20a
lea eax, [ebp - 0x76]
push esi
push eax
mov word [ebp - 0x78], si
call fcn.10053710
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push ebx
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x20b
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10009054
push 0x103
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.100563c6
add esp, 0xc
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10009063
xor eax, eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.10053191
add ebp, 0x198
leave
ret
Function at 0x10009079
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp + 0x190], eax
push edi
xor edi, edi
test byte [0x1009de84], 1
mov dword [ebp - 0x80], edi
jne 0x100090ca
mov eax, dword [0x1009d334]
or dword [0x1009de84], 1
mov ecx, 0x1009d334
call dword [eax + 0xc]
add eax, 0x10
push 0x1007a44a
mov dword [0x1009de80], eax
call fcn.100536fb
pop ecx
mov eax, dword [0x1009de80]
cmp dword [eax - 0xc], edi
jne 0x10009132
push 0x20a
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.10053710
add esp, 0xc
push 0x208
lea eax, [ebp - 0x7c]
push eax
push str._appdata_TencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x7c]
push eax
push 0x1009de80
call fcn.10002fc7
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009132
push edi
push dword [0x1009de80]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [0x1009de80]
add eax, 0xfffffff0
call fcn.1000305a
mov ecx, dword [ebp + 0x190]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
call fcn.10053191
add ebp, 0x194
leave
ret

Function at 0x1000915c
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 8
mov eax, 0x10075179
call fcn.1005a2eb
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov ecx, 0x1009d334
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.10002ebd
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.100033b9
push 0x20a
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.10053710
add esp, 0xc
push 1
push 0x23
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp]
push eax
push esi
call fcn.10002fc7
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, edi
jle 0x10009217
lea ecx, [eax - 1]
mov eax, esi
call fcn.10002d47
cmp ax, 0x5c
je 0x100091f5
mov eax, esi
call fcn.10002dea
push str.TencentQQPCMgr_
push esi
call fcn.1000923c
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10009217
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
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
Function at 0x1000934d
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
push 2
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x10009372
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100093d2
push ebx
push esi
push edi
push edi
push edi
push edi
push str.COM_Infrastructure
push dword [ebp + 8]
mov esi, str.Installer_Service
push 1
push 3
push 0x110
push 0xf01ff
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
cmp ebx, edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jne 0x100093b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x100093c8
lea eax, [ebp - 8]
push eax
push 1
push ebx
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push ebx
call edi
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
leave
ret

Function at 0x1000943c
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push 0x20a
xor ebx, ebx
push ebx
mov esi, str.InstallerSvcEx2014
push esi
call fcn.10053710
push 0x104
push dword [ebp + 8]
push esi
call fcn.100563c6
add esp, 0x18
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x10009489
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x10009514
push 0xf01ff
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
jne 0x100094a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1000950b
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x100094bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x10009504
mov dword [ebp - 4], 7
push edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100094fb
cmp dword [ebp - 0x20], 4
je 0x10009503
dec dword [ebp - 4]
cmp dword [ebp - 4], ebx
jg 0x100094c7
jmp 0x10009503
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
pop edi
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x1000c568
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov word [ebp - 0x20c], di
call fcn.10053710
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x1007e5f0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x1000c625
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push ebx
mov dword [esi], 1
call edi
push str.CloseThemeData
push ebx
mov dword [esi + 4], eax
call edi
push str.DrawThemeBackground
push ebx
mov dword [esi + 8], eax
call edi
push str.SetWindowTheme
push ebx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.10053191
leave
ret

Function at 0x1000ce41
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x10074f28
call fcn.1005a2eb
mov eax, dword [0x1009d334]
mov ecx, 0x1009d334
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push str._s__d
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.1000f214
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, edi
mov dword [0x1009d974], eax
je 0x1000cec3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000cec3
call fcn.100434e4
test al, al
je 0x1000cec0
push str.CTxdlApp::CheckInstance_TRUE
push 0xd2
mov ebx, str..Txdl.cpp
call fcn.100432b4
pop ecx
pop ecx
xor edi, edi
inc edi
lea eax, [esi - 0x10]
call fcn.10003389
mov eax, edi
call fcn.1005a3c3
ret 4
Function at 0x1000d00e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xc8
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
push edi
mov edi, dword [ebp + 0x7c]
call fcn.100434e4
test al, al
je 0x1000d049
push edi
push str.TxDl_Main_enter__cmdline_s
push 0xd2
push str..Txdl.cpp
call fcn.10043373
add esp, 0x10
mov esi, 0x1007dca8
push esi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push edi
lea eax, [ebp + 4]
push eax
call fcn.10002d62
push esi
lea eax, [ebp + 4]
push eax
call fcn.10009291
test eax, eax
jne 0x1000d07d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp + 4]
push eax
call fcn.10002fc7
mov esi, dword [ebp + 4]
push 0x1007dc68
lea eax, [ebp - 0x38]
call fcn.1000189d
push eax
push 0x1007e7c4
lea eax, [ebp - 0x54]
call fcn.1000189d
push eax
push 0x1007e7c8
lea eax, [ebp - 0x1c]
call fcn.1000189d
push eax
sub esp, 0x1c
mov eax, esp
mov dword [ebp], esp
push esi
call fcn.1000189d
lea ecx, [ebp + 0xc]
call fcn.10001205
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x1c]
call fcn.10001efb
push edi
push 1
lea esi, [ebp - 0x54]
call fcn.10001efb
push edi
push 1
lea esi, [ebp - 0x38]
call fcn.10001efb
push 0x1007e7d0
lea eax, [ebp - 0x1c]
mov dword [ebp + 8], edi
mov dword [ebp], edi
call fcn.1000189d
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
lea edx, [ebp + 0xc]
call fcn.1000f96d
push edi
push 1
lea esi, [ebp - 0x1c]
call fcn.10001efb
push dword [ebp + 8]
call fcn.1000ce41
test eax, eax
je 0x1000d149
lea ecx, [ebp + 0xc]
call fcn.10001308
mov eax, dword [ebp + 4]
add eax, 0xfffffff0
call fcn.10003389
or eax, 0xffffffff
mov ecx, dword [ebp + 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.10053191
add ebp, 0x74
leave
ret 4
call fcn.1000ced5
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edi
call sym.QQPCDownload.dll_CreateTxdlController
test eax, eax
jge 0x1000d18a
call fcn.1000cf11
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1000d170
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or edi, 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10001308
mov eax, dword [ebp + 4]
add eax, 0xfffffff0
call fcn.10003389
mov eax, edi
jmp 0x1000d136
push dword [ebp + 4]
lea esi, [ebp]
call fcn.10014a87
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
push edi
push dword [eax]
push esi
call dword [ecx + 0xc]
push dword [ebp]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
call fcn.100150cb
mov ecx, esi
call fcn.1000cf44
call fcn.1001513e
cmp dword [0x1009d98c], edi
je 0x1000d1e5
mov eax, dword [0x1009d984]
mov ecx, dword [eax]
push 0x1009d978
push eax
call dword [ecx + 0x18]
mov eax, dword [0x1009d984]
mov ecx, dword [eax]
push 0x1009d97c
push eax
call dword [ecx + 0x20]
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
call fcn.1000cf11
call fcn.100434e4
test al, al
je 0x1000d210
push str.TxDl_Main_leave...
push 0xd2
push str..Txdl.cpp
call fcn.10043373
add esp, 0xc
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x1000d173
Function at 0x1000d2c5
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x1009d420]
test eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1000d2ff
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000d2f0
push 0xffffffffffffffff
push dword [0x1009d420]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1009d420]
call esi
and dword [0x1009d420], 0
mov eax, dword [0x1009d428]
test eax, eax
je 0x1000d312
push eax
call esi
and dword [0x1009d428], 0
pop esi
ret

Function at 0x1000d314
Capabilities:
Create thread

Disassembly:
push 0x1c
call fcn.10052f00
test eax, eax
pop ecx
je 0x1000d32b
push dword [esp + 4]
call fcn.1000189d
jmp 0x1000d32d
xor eax, eax
push 0x1009d424
push 0
push eax
push 0x1000d268
push 0
push 0
call fcn.1005671f
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [0x1009d420], eax
mov eax, ecx
mov dword [0x1009d42c], eax
ret 4

Function at 0x1000e91f
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1000e966
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1000e95f
cmp dword [esp + 4], 0x1b
jne 0x1000e946
push 0
push 2
jmp 0x1000e951
cmp dword [esp + 4], 0xd
jne 0x1000e95f
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x3c0], 0
ret 4
Function at 0x10013805
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x10013818
push 0x80004005
call fcn.100033a1
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1001381f
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10015e3c
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x10076bc8
call fcn.1005a354
mov esi, edx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
je 0x10015f2c
cmp ecx, ebx
je 0x10015f2c
push 0x40
lea eax, [ebp - 0x90]
push ebx
push eax
call fcn.10053710
xor eax, eax
mov dword [ebp - 0x48], ebx
add esp, 0xc
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
neg esi
sbb esi, esi
stosd dword es:[edi], eax
and esi, 5
mov word [ebp - 0x64], si
stosd dword es:[edi], eax
mov esi, 0x100846e4
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x94], 0x44
mov dword [ebp - 0x68], 0x81
call fcn.1000189d
push dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.10006aa8
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.10006aa8
push 0x1007dc68
lea eax, [ebp - 0x30]
push eax
call fcn.10006aa8
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
call fcn.10006aa8
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10015eee
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, ebx
je 0x10015f1d
push dword [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x44]
call esi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.10001efb
mov eax, edi
jmp 0x10015f2e
xor eax, eax
call fcn.1005a3d7
ret