joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003f4f
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov ebx, eax
push dword [ebx]
call esi
push dword [ebx + 4]
mov edi, eax
call esi
and dword [ebp - 4], 0
mov ebx, eax
mov eax, dword [ebp - 4]
push dword [eax + str.37k_IF__y_d]
call esi
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
cmp dword [ebp - 4], 0x10
mov dword [ebp + ecx - 0x14], eax
jl 0x10003f71
push 0x10
xor eax, eax
pop ecx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0x10]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x14]
sub eax, 0x61c88647
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 8]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
dec ecx
jne 0x10003f92
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push edi
call esi
mov edi, dword [ebp + 8]
push ebx
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003fe5
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp - 4]
push dword [eax + str.37k_IF__y_d]
call esi
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
cmp dword [ebp - 4], 0x10
mov dword [ebp + ecx - 0x14], eax
jl 0x10004007
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 8]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
sub edi, edx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x10]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
sub ebx, edx
add eax, 0x61c88647
dec ecx
jne 0x1000402b
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov ebx, dword [ebp + 8]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret
Function at 0x100056a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x10098428]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
mov edi, 0x20019
push edi
push ebx
push 0x1007de98
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x78], 0x104
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call esi
test eax, eax
jne 0x1000581c
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push 0x1007dee8
push 0x103
push eax
call fcn.1004d490
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
push edi
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call esi
test eax, eax
jne 0x10005813
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x1007def8
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x1000580a
push 0x104
xor edi, edi
lea eax, [ebp - 0x64]
push ebx
inc edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x103
call fcn.100541d0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push 0x1007df08
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x1000580a
cmp dword [ebp - 0x70], edi
jne 0x100057fa
mov esi, 0x1007df18
push esi
call fcn.10053bb0
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.10056093
add esp, 0x10
test eax, eax
jne 0x100057d4
mov dword [ebp - 0x6c], ebx
jmp 0x1000580a
cmp dword [ebp - 0x70], edi
jne 0x100057fa
push esi
call fcn.10053bb0
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.10056093
add esp, 0x10
test eax, eax
je 0x100057fa
mov dword [ebp - 0x6c], 2
jmp 0x1000580a
xor eax, eax
cmp dword [ebp - 0x70], 2
setne al
lea eax, [eax + eax + 1]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053c51
add ebp, 0xa4
leave
ret
Function at 0x10005aa3
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10077b28
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.10005d33
pop ecx
mov dword [esp + 0x68], ebx
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x10005b05
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 0x10005bbf
push 1
lea edi, [esp + 0x24]
call fcn.10005d33
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.10006234
test al, al
pop ecx
jne 0x10005b8e
mov eax, edi
push eax
call fcn.10006234
test al, al
pop ecx
je 0x10005b8e
cmp dword [esp + 0x54], 8
mov ecx, dword [esp + 0x40]
jae 0x10005b5c
lea ecx, [esp + 0x40]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10005b6b
lea eax, [esp + 0x24]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10005b8e
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10005b87
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x10005b9d
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.10001ef7
cmp edi, 0xffffffff
je 0x10005bfb
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x10
jb 0x10005bf4
cmp esi, 0xffffffff
je 0x10005bf4
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 0x10005bf4
cmp dword [esp + 0x18], esi
jne 0x10005bf4
mov byte [esp + 0x17], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea esi, [esp + 0x44]
call fcn.10001ef7
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.10053c51
mov esp, ebp
pop ebp
ret 4
Function at 0x10005c2b
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x10077af8
call fcn.1005acb8
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.10005d33
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x10005c5b
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 0x10005caf
push 1
lea edi, [ebp - 0x2c]
call fcn.10005d33
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x10005c8e
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.10001ef7
cmp edi, 0xffffffff
je 0x10005cd5
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 0x10005cce
cmp dword [ebp - 0x50], 0x10
jne 0x10005cce
mov byte [ebp - 0x49], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.10001ef7
mov al, byte [ebp - 0x49]
call fcn.1005ad3b
ret 4

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

Disassembly:
push 0x230
mov eax, 0x10077abd
call fcn.1005acb8
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.100541d0
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 0x10005e04
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
call fcn.1000188f
push 0xffffffffffffffff
mov dword [ebp - 4], esi
push ebx
mov esi, edi
call fcn.100022e6
push ebx
push 1
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], bl
call fcn.10001ef7
cmp byte [ebp + 8], bl
je 0x10005ddc
push 0x1007df24
jmp 0x10005de1
push 0x1007df4c
push edi
call fcn.10006ad3
mov ecx, edi
call fcn.10005e0c
test al, al
jne 0x10005df9
mov ecx, edi
call fcn.10005ed9
push 0x1007df70
push edi
call fcn.10006ad3
mov eax, edi
call fcn.1005ad3b
ret

Function at 0x10008d53
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x10008d71
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 0x10008e5f
xor eax, eax
cmp dword [esp + 0xc], esi
je 0x10008dd8
push dword [esp + 0xc]
call ebx
cmp eax, esi
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esp + 0xc], ecx
jne 0x10008e5f
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 0x10008e2f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.10008d71
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x10008e84
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 0x10008e02
cmp dword [esp + 0xc], esi
je 0x10008e4d
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 0x10008e6b
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.10053c51
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0xc], esi
je 0x10008e90
push dword [esp + 0xc]
call ebx
mov eax, dword [esp + 0x10]
jmp 0x10008e6d

Function at 0x10008e96
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.100541d0
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 0x10008eea
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x10008efb
cmp dword [ebp - 0x7c], 6
jne 0x10008efb
cmp dword [ebp - 0x78], 0
jne 0x10008efb
xor eax, eax
inc eax
jmp 0x10008efd
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.10053c51
add ebp, 0xa0
leave
ret
Function at 0x10008f13
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.100541d0
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 0x10008f67
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x10008f75
cmp dword [ebp - 0x7c], 6
jne 0x10008f75
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jae 0x10008f77
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.10053c51
add ebp, 0xa0
leave
ret

Function at 0x10008f8d
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 0x1000902c
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 0x1000902c
cmp dword [ebp - 0x7c], esi
je 0x1000902c
push 0x20a
lea eax, [ebp - 0x76]
push esi
push eax
mov word [ebp - 0x78], si
call fcn.100541d0
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 0x1000901f
push 0x103
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.10056e86
add esp, 0xc
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1000902e
xor eax, eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.10053c51
add ebp, 0x198
leave
ret
Function at 0x10009044
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 [0x1009d8dc], 1
mov dword [ebp - 0x80], edi
jne 0x10009095
mov eax, dword [0x1009d194]
or dword [0x1009d8dc], 1
mov ecx, 0x1009d194
call dword [eax + 0xc]
add eax, 0x10
push 0x1007acfa
mov dword [0x1009d8d8], eax
call fcn.100541bb
pop ecx
mov eax, dword [0x1009d8d8]
cmp dword [eax - 0xc], edi
jne 0x100090fd
push 0x20a
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.100541d0
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 0x1009d8d8
call fcn.100030a8
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100090fd
push edi
push dword [0x1009d8d8]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [0x1009d8d8]
add eax, 0xfffffff0
call fcn.1000313b
mov ecx, dword [ebp + 0x190]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
call fcn.10053c51
add ebp, 0x194
leave
ret

Function at 0x10009127
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, 0x10075989
call fcn.1005ac4f
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov ecx, 0x1009d194
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.10002f9e
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.100034a5
push 0x20a
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.100541d0
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.100030a8
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
cmp eax, edi
jle 0x100091e2
lea ecx, [eax - 1]
mov eax, esi
call fcn.10002e2d
cmp ax, 0x5c
je 0x100091c0
mov eax, esi
call fcn.10002ed0
push str.TencentQQPCMgr_
push esi
call fcn.10009207
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100091e2
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.10053c51
add ebp, 0x210
leave
ret
Function at 0x100092ff
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 0x10009324
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10009384
push ebx
push esi
push edi
push edi
push edi
push edi
push 0x1007e1a0
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 0x10009367
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1000937a
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 0x100093ee
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.100541d0
push 0x104
push dword [ebp + 8]
push esi
call fcn.10056e86
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 0x1000943b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100094c6
push 0xf01ff
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
jne 0x1000945a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100094bd
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x10009471
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100094b6
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 0x100094ad
cmp dword [ebp - 0x20], 4
je 0x100094b5
dec dword [ebp - 4]
cmp dword [ebp - 4], ebx
jg 0x10009479
jmp 0x100094b5
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 0x1000c51c
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.100541d0
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 0x1007e5a8
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 0x1000c5d9
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.10053c51
leave
ret

Function at 0x1000caa7
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x10075768
call fcn.1005ac4f
mov eax, dword [0x1009d194]
mov ecx, 0x1009d194
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.1000ee4f
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 [0x1009d3c4], eax
je 0x1000cb29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000cb29
call fcn.100430bb
test al, al
je 0x1000cb26
push str.CTxdlApp::CheckInstance_TRUE
push 0xd2
mov ebx, str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlTxdl.cpp
call fcn.10042e8b
pop ecx
pop ecx
xor edi, edi
inc edi
lea eax, [esi - 0x10]
call fcn.10003475
mov eax, edi
call fcn.1005ad27
ret 4