joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d80
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2c0
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea r8, [0x14001387c]
lea rcx, [rsp + 0x38]
call fcn.1400070f0
cmp qword [rax + 0x18], 7
jbe 0x140001dd2
mov rax, qword [rax]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140001e28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011970
movdqa xmm0, xmmword [0x140014330]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], r14
cmp rbp, 0xffffffffffffffff
je 0x140001f0c
nop dword [rax]
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140001f0c
lea rdx, [rsp + 0x74]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x140001e70
mov rax, qword [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x8c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140001eb3
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x140001ef7
mov rsi, rdi
cmp rax, 7
jbe 0x140001ed2
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x8c]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi], r14w
jmp 0x140001e70
lea r9, [rsp + 0x8c]
mov rcx, rdi
call fcn.140007a40
jmp 0x140001e70
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140011520
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140005e60
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x140005e91
xor eax, eax
jmp 0x140005fdb
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140005ece
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x140005ece
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x140005fdb
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140005fd0
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140005f15
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005f23
movzx ecx, di
jmp 0x140005f77
lea rax, [rsp + 0x48]
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005f90
sub eax, 1
je 0x140005f90
cmp eax, 2
jne 0x140005fd0
movzx ecx, word [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x140005fd3
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x140005fbe
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x140005fd0
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140011520
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400061f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140006234
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140006220
ret
Function at 0x140006970
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006a45
cmp byte [rcx + 0x72], 0
je 0x140006a45
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140006a41
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006a06
sub eax, 1
je 0x140006a0a
cmp eax, 2
jne 0x140006a41
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011520
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006a38
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140006a41
cmp byte [rbx + 0x72], 0
sete al
jmp 0x1400069ee
xor al, al
jmp 0x1400069ee
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011520
add rsp, 0x60
pop rbx
ret
Function at 0x14000e9f0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14000ead3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000ead3
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14000eaf1
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000eac3
cmp word [rax], 0x5c
jne 0x14000eabc
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14000eabc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000eaa7
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14000eab9
test r8b, 0x10
jne 0x14000eabc
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14000eabc
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.140009b50
test edi, edi
jne 0x14000ea20
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140009b40
int3

Function at 0x140012170
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400121ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400121ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400121ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400121ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400121ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400121bc
xor al, al
add rsp, 0x28
ret
Function at 0x140e47058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e471df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e47089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e4706f
add dl, dl
jne 0x140e47096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e470f6
xor eax, eax
add dl, dl
jne 0x140e470a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e471ad
add dl, dl
jne 0x140e470b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e470c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e470d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e470dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e470ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e4707e
mov eax, 1
add dl, dl
jne 0x140e47106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e47113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e470fb
sub eax, ebx
mov ebx, 1
jne 0x140e4714c
mov ecx, 1
add dl, dl
jne 0x140e4712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e4713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e47123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e4707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e47168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e47175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e4715d
cmp eax, 0x7d00
jae 0x140e4719b
cmp eax, 0x500
jb 0x140e47196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e4707e
cmp eax, 0x7f
ja 0x140e4719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e4707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e471d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e4707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000289c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400028e6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400028e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400028e6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400028e6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400028e6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400028e8
xor al, al
add rsp, 0x28
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x180001be0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
mov rax, qword [0x18002a1f8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rbx, rcx
call fcn.180001c80
lea r11, vtable.CTcpSocket.0
lea rcx, [rbx + 0x130]
mov qword [rbx], r11
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x378], 0xffffffffffffffff
mov qword [rbx + 0x148], rax
xor eax, eax
mov dword [rbx + 0x150], eax
mov qword [rbx + 0x368], rax
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.18000d640
add rsp, 0x1d0
pop rbx
ret

Function at 0x180001e10
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x378]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x80
xor ebx, ebx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x378]
call qword [sym.imp.KERNEL32.dll_CancelIo]
xchg dword [rdi + 0x150], ebx
mov rcx, qword [rdi + 0x378]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + 0x148]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x48]
mov qword [rdi + 0x378], 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
Function at 0x1800024c0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor edi, edi
mov r14d, r8d
mov rsi, rdx
mov r13, rcx
mov ebp, r8d
mov r12d, edi
cmp r8d, 0x40000
jl 0x180002551
nop dword [rax + rax]
mov ebx, edi
nop word [rax + rax]
mov rcx, qword [r13 + 0x378]
xor r9d, r9d
mov r8d, 0x40000
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x180002534
inc ebx
cmp ebx, 0xf
jl 0x180002510
cmp ebx, 0xf
je 0x1800025b2
sub ebp, 0x40000
add r12d, eax
add rsi, 0x40000
cmp ebp, 0x40000
jge 0x180002500
test ebp, ebp
jle 0x180002589
nop word [rax + rax]
mov rcx, qword [r13 + 0x378]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x180002581
inc edi
cmp edi, 0xf
jl 0x180002560
cmp edi, 0xf
je 0x1800025b2
add r12d, eax
or eax, 0xffffffff
cmp r12d, r14d
cmove eax, r12d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
or eax, 0xffffffff
jmp 0x180002593
Function at 0x180002a00
Capabilities:
Check for time delay via queryperformancecounter
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [rcx + 0x148]
mov rdi, r9
mov ebp, r8d
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x388]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor r14d, r14d
lea rcx, [rsi + 0x138]
mov eax, r14d
xchg dword [rsi + 0x150], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsi + 0x160]
mov r8, rdi
mov edx, 0xff
call fcn.18000e570
lea rcx, [rsi + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [rsi + 0x160]
lea rcx, [rsi + 0x160]
lea eax, [rax + rax + 2]
movsxd r8, eax
mov dword [rsi + 0x360], eax
call fcn.18000d680
movsxd r11, dword [rsi + 0x360]
lea eax, [r11 + 4]
mov rcx, r11
mov dword [rsi + 0x364], eax
call fcn.18000dbb0
mov qword [rsi + 0x380], rax
test rax, rax
je 0x180002b15
mov rcx, qword [rsi + 0x378]
mov edi, 1
movzx r8d, bp
mov rax, qword [rcx + 8]
add rcx, 8
mov rdx, r12
mov r9d, edi
mov word [rsp + 0x28], r14w
mov qword [rsp + 0x20], r14
call qword [rax]
mov rcx, qword [rsi + 0x388]
mov edx, 0x1770
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180002b1c
cmp eax, 0x102
je 0x180002b08
cmp eax, 0xffffffff
jne 0x180002b15
mov rcx, qword [rsi + 0x388]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
xor al, al
jmp 0x180002b9f
lea rcx, [rsi + 0x140]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi + 0x140]
sub rax, qword [rsi + 0x138]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, qword [rsi + 0x130]
cvtsi2sd xmm1, rax
divsd xmm0, qword [0x180024a30]
divsd xmm1, xmm0
movsd qword [rsi + 0x128], xmm1
xchg dword [rsi + 0x150], edi
mov rcx, qword [rsi + 0x388]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r11, [rsp + 0x60]
lea r8, [0x180002bc0]
mov qword [rsp + 0x28], r11
mov r9, rsi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call fcn.18000e47c
mov qword [rsi + 0x390], rax
mov al, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180003280
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov r8, rdx
mov rbx, rcx
lea rax, vtable.CManager.0
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov rax, qword [rdx]
mov rdx, rcx
mov rcx, r8
call qword [rax + 0x18]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rax
lea rax, vtable.CH264ScreenManager.0
mov qword [rbx], rax
xor edi, edi
mov qword [rbx + 0x128], rdi
mov qword [rbx + 0x130], rdi
mov qword [rbx + 0x138], rdi
mov qword [rbx + 0x268], rdi
mov qword [rbx + 0x270], rdi
mov qword [rbx + 0x278], rdi
mov dword [rbx + 0x3c0], edi
mov dword [rbx + 0x3a8], 0x18
mov qword [rbx + 0x448], 0xf
mov qword [rbx + 0x440], rdi
mov byte [rbx + 0x430], dil
mov qword [rbx + 0x470], 0xf
mov qword [rbx + 0x468], rdi
mov byte [rbx + 0x458], dil
mov qword [rbx + 0x498], 0xf
mov qword [rbx + 0x490], rdi
mov byte [rbx + 0x480], dil
call fcn.180005b50
mov qword [rbx + 0x860], rax
lea rdx, [0x180024928]
mov rcx, rax
call fcn.180005fb0
mov qword [rbx + 0x868], rax
lea rdx, [0x180024940]
mov rcx, qword [rbx + 0x860]
call fcn.180005fb0
mov qword [rbx + 0x870], rax
lea rdx, [0x180024958]
mov rcx, qword [rbx + 0x860]
call fcn.180005fb0
mov qword [rbx + 0x878], rax
lea rdx, [0x180024970]
mov rcx, qword [rbx + 0x860]
call fcn.180005fb0
mov qword [rbx + 0x880], rax
lea rdx, [0x180024988]
mov rcx, qword [rbx + 0x860]
call fcn.180005fb0
mov qword [rbx + 0x888], rax
lea rdx, [0x1800249a8]
mov rcx, qword [rbx + 0x860]
call fcn.180005fb0
mov qword [rbx + 0x890], rax
lea rdx, [0x1800249c8]
mov rcx, qword [rbx + 0x860]
call fcn.180005fb0
mov qword [rbx + 0x898], rax
lea rdx, str.x264_cpu_detect
mov rcx, qword [rbx + 0x860]
call fcn.180005fb0
mov qword [rbx + 0x8a0], rax
mov dword [rbx + 0x8d0], edi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbx + 0x8d8], rax
mov dword [rbx + 0x8e0], edi
mov dword [rbx + 0x8ac], 0x32
mov dword [rbx + 0x8b0], 0x2328
mov dword [rbx + 0x8a8], 1
mov qword [rbx + 0x8b8], rdi
mov qword [rbx + 0x8c0], 0x18
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x1800034d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rbx
lea r8, [0x180003c80]
xor edx, edx
xor ecx, ecx
call fcn.18000e47c
mov qword [rbx + 0x8c8], rax
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180004040
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov dword [rcx + 0x8e0], 1
mov rbx, rcx
mov r9, rcx
mov byte [rcx + 0x408], 1
lea r8, [0x180004110]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call fcn.18000e47c
lea r8, [0x1800043c0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov qword [rbx + 0x3f0], rax
mov dword [rsp + 0x20], 4
call fcn.18000e47c
lea r8, [0x1800046e0]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov qword [rbx + 0x3f8], rax
mov dword [rsp + 0x20], 4
call fcn.18000e47c
mov rcx, qword [rbx + 0x3f0]
mov qword [rbx + 0x400], rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbx + 0x3f8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbx + 0x400]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ResumeThread]
Function at 0x180005380
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x1800052a0]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x38
ret

Function at 0x1800053d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, r8d
mov r8, rcx
mov ebx, edx
lea rcx, [0x18002be40]
mov edx, 0xff
mov rdi, r9
call fcn.18000e570
lea rcx, str.123456
mov r8, rdi
mov edx, 0xff
mov dword [0x18002c040], ebx
call fcn.18000e570
xor eax, eax
lea r8, [0x1800052a0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x18002c2a8], esi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor al, al
add rsp, 0x30
pop rdi
ret