joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140090ab0
Capabilities:
Delete registry key

Disassembly:
sub rsp, 0x28
lea rdx, [0x1400ac120]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140090c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
mov rsi, rdx
lea rcx, [rsp + 0x40]
xor ebp, ebp
xor edx, edx
mov r8d, 0xff
mov dword [rsp + 0x38], 0x100
or ebx, 0xffffffff
mov qword [rsp + 0x30], rbp
call fcn.1400719a0
lea rdx, [0x1400ac6e4]
mov rcx, rdi
call fcn.140064d74
test eax, eax
jne 0x140090d2c
lea r8, str.SoftwarePanda_SoftwarePanda_Antivirus_6.0
lea rcx, [rsp + 0x40]
mov edx, 0xff
call fcn.1400658ac
lea r11, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140090da3
lea r8, str.SoftwarePanda_SoftwarePanda_Antivirus_Platinum
lea rcx, [rsp + 0x40]
mov edx, 0xff
call fcn.1400658ac
lea r11, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140090da3
lea r8, str.SoftwarePanda_SoftwareActiveScan
mov edx, 0xff
lea rcx, [rsp + 0x40]
call fcn.1400658ac
lea r11, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140090da3
jmp 0x140090dd6
lea rdx, [0x1400ac344]
mov rcx, rdi
call fcn.140064d74
test eax, eax
jne 0x140090d48
lea r8, str.SoftwarePanda_SoftwarePanda_Antivirus_Lite
jmp 0x140090cef
lea rdx, str.PathPavProt
mov rcx, rdi
call fcn.140064d74
mov edx, 0xff
lea rcx, [rsp + 0x40]
test eax, eax
jne 0x140090d6e
lea r8, str.SoftwarePanda_SoftwarePavProt
jmp 0x140090cf9
lea r8, str.SoftwarePanda_SoftwareInternet
call fcn.1400658ac
lea r11, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140090dd6
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmove ebx, ebp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140064b70
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001acc0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140032738], rbx
je 0x14001ad27
cmp rax, rbx
jne 0x14001ad1a
mov ebx, 1
mov esi, ebx
jmp 0x14001ad2c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001acff
mov ebx, 1
mov eax, dword [0x140032740]
cmp eax, ebx
jne 0x14001ad44
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001adb0
mov eax, dword [0x140032740]
test eax, eax
jne 0x14001ada5
mov dword [0x140032740], ebx
lea r15, [0x1400206d8]
lea rdi, [0x1400206c0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14001ad97
test eax, eax
jne 0x14001ad9b
cmp qword [rdi], r14
je 0x14001ad8c
mov rax, qword [rdi]
mov rcx, qword [0x140020620]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14001ad6e
test eax, eax
je 0x14001adab
mov eax, 0xff
jmp 0x14001af06
mov dword [0x140031ff0], ebx
mov edi, 0x1f
mov eax, dword [0x140032740]
cmp eax, ebx
jne 0x14001add7
lea rdx, [0x1400206b8]
lea rcx, [0x140020628]
call sub.msvcrt.dll__initterm
mov dword [0x140032740], 2
test esi, esi
jne 0x14001ade5
mov rax, r14
xchg qword [0x140032738], rax
cmp qword [0x140032758], r14
je 0x14001ae18
lea rcx, [0x140032758]
call fcn.14001b3b0
test eax, eax
je 0x14001ae18
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140032758]
mov r9, qword [0x140020620]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14001ae31
mov eax, 0xff
jmp 0x14001af06
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14001aeb7
test ax, ax
je 0x14001ae4c
test edx, edx
jne 0x14001aeb7
sub ax, bx
cmp ax, di
ja 0x14001ae62
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14001ae4c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140004034
mov dword [0x140031fec], eax
cmp dword [0x140032010], r14d
jne 0x14001aea0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140031ff0], r14d
jne 0x14001aeb5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140031fec]
jmp 0x14001af06
cmp ax, 0x22
jne 0x14001aecb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001ae3a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call 0x140180000
add rsp, 0x28
jmp 0x14001acc0
Function at 0x1400066c0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14000f960], rbx
je 0x140006727
cmp rax, rbx
jne 0x14000671a
mov ebx, 1
mov esi, ebx
jmp 0x14000672c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400066ff
mov ebx, 1
mov eax, dword [0x14000f968]
cmp eax, ebx
jne 0x140006744
mov edi, 0x1f
mov ecx, edi
call fcn.1400b7000
jmp 0x1400067b0
mov eax, dword [0x14000f968]
test eax, eax
jne 0x1400067a5
mov dword [0x14000f968], ebx
lea r15, [0x1400089b8]
lea rdi, [0x1400089a0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140006797
test eax, eax
jne 0x14000679b
cmp qword [rdi], r14
je 0x14000678c
mov rax, qword [rdi]
mov rcx, qword [0x140008920]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000676e
test eax, eax
je 0x1400067ab
mov eax, 0xff
jmp 0x140006906
mov dword [0x14000d3e4], ebx
mov edi, 0x1f
mov eax, dword [0x14000f968]
cmp eax, ebx
jne 0x1400067d7
lea rdx, [0x140008998]
lea rcx, [0x140008928]
call sub.msvcrt.dll__initterm
mov dword [0x14000f968], 2
test esi, esi
jne 0x1400067e5
mov rax, r14
xchg qword [0x14000f960], rax
cmp qword [0x14000f970], r14
je 0x140006818
lea rcx, [0x14000f970]
call fcn.140006b30
test eax, eax
je 0x140006818
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000f970]
mov r9, qword [0x140008920]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140006831
mov eax, 0xff
jmp 0x140006906
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400068b7
test ax, ax
je 0x14000684c
test edx, edx
jne 0x1400068b7
sub ax, bx
cmp ax, di
ja 0x140006862
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000684c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400013dc
mov dword [0x14000d3e0], eax
cmp dword [0x14000d400], r14d
jne 0x1400068a0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000d3e4], r14d
jne 0x1400068b5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000d3e0]
jmp 0x140006906
cmp ax, 0x22
jne 0x1400068cb
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000683a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140006bc4
add rsp, 0x28
jmp 0x1400066c0
Function at 0x140011113
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001d7c0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1403bd068]
call fcn.140011974
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001d818
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001d92a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001d8c3
cmp qword [rbp + 0x28], 0
jle 0x14001d8c3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001d861
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400118ed
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x14001d919
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001d919
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011582
Capabilities:
Terminate process

Disassembly:
jmp 0x140021060
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x1400116d6
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400203f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020410
xor al, al
jmp 0x140020491
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020423
xor al, al
jmp 0x140020491
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002044d
xor al, al
jmp 0x140020491
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140020461
xor al, al
jmp 0x140020491
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140020473
xor al, al
jmp 0x140020491
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002048f
xor al, al
jmp 0x140020491
mov al, 1
add rsp, 0x38
ret
Function at 0x140011951
Capabilities:
Write file on windows

Disassembly:
jmp 0x140019150
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1403b6040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1403bd068]
call fcn.140011974
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x1400191b7
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400191be
mov al, 1
jmp 0x14001930e
call fcn.1400112b2
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.1400112b2
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1400117b2
movzx eax, al
test eax, eax
je 0x14001920f
xor al, al
jmp 0x14001930e
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140019274
cmp dword [rbp + 0x154], 1
je 0x14001927f
cmp dword [rbp + 0x154], 3
je 0x1400192fd
jmp 0x14001930c
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1400192cf
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1400192cf
xor al, al
jmp 0x14001930e
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400192ea
mov dword [rbp + 0x154], 1
jmp 0x1400192f4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14001930e
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14001930e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400299a0]
call fcn.1400117fd
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1400114bf
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14001f1e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400119ba
movzx eax, al
test eax, eax
jne 0x14001f200
mov ecx, 7
call fcn.140011811
nop
mov byte [rsp + 0x20], 0
call fcn.14001184d
mov byte [rsp + 0x21], al
cmp dword [0x1403b6750], 1
jne 0x14001f224
mov ecx, 7
call fcn.140011811
nop
jmp 0x14001f27c
cmp dword [0x1403b6750], 0
jne 0x14001f277
mov dword [0x1403b6750], 1
lea rdx, [0x140028880]
lea rcx, [0x140028550]
call fcn.140011497
test eax, eax
je 0x14001f258
mov eax, 0xff
jmp 0x14001f381
lea rdx, [0x140028440]
lea rcx, [section..rdata]
call fcn.140011834
mov dword [0x1403b6750], 2
jmp 0x14001f27c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400117ee
call fcn.14001170d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001f2d9
mov rcx, qword [rsp + 0x30]
call fcn.1400113a7
movzx eax, al
test eax, eax
je 0x14001f2d9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x1403be020]
nop
call fcn.14001178a
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001f30d
mov rcx, qword [rsp + 0x38]
call fcn.1400113a7
movzx eax, al
test eax, eax
je 0x14001f30d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011924
nop
call fcn.14001f3f0
mov dword [rsp + 0x28], eax
call fcn.1400116d6
movzx eax, al
test eax, eax
jne 0x14001f32c
mov ecx, dword [rsp + 0x28]
call fcn.1400110b9
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001f33b
call fcn.14001193d
nop
xor edx, edx
mov cl, 1
call fcn.14001136b
mov eax, dword [rsp + 0x28]
jmp 0x14001f381
add rsp, 0x68
ret
Function at 0x1416ba058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1416ba1df
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 0x1416ba089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416ba06f
add dl, dl
jne 0x1416ba096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416ba0f6
xor eax, eax
add dl, dl
jne 0x1416ba0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416ba1ad
add dl, dl
jne 0x1416ba0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416ba0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416ba0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416ba0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1416ba0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1416ba07e
mov eax, 1
add dl, dl
jne 0x1416ba106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416ba113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416ba0fb
sub eax, ebx
mov ebx, 1
jne 0x1416ba14c
mov ecx, 1
add dl, dl
jne 0x1416ba12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1416ba13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416ba123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416ba07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1416ba168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1416ba175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416ba15d
cmp eax, 0x7d00
jae 0x1416ba19b
cmp eax, 0x500
jb 0x1416ba196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416ba07e
cmp eax, 0x7f
ja 0x1416ba19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1416ba07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1416ba1d2
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 0x1416ba07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140010d10
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x58
mov rax, qword [rcx + 8]
mov ecx, 1
mov dword [rsp + 0x24], 0x100
mov word [rsp + 0x20], cx
mov ecx, 6
mov qword [rsp + 0x28], rax
mov word [rsp + 0x22], cx
mov ecx, 0xffbc
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
mov eax, 0xff01
mov word [rsp + 0x30], cx
mov ecx, 0x88
mov word [rsp + 0x40], ax
mov eax, 4
lea r8d, [rcx - 0x78]
mov word [rsp + 0x32], cx
lea rcx, [rsp + 0x20]
lea edx, [rax - 1]
mov dword [rsp + 0x34], 0x100
mov word [rsp + 0x42], ax
mov dword [rsp + 0x44], 0x100
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140010da8
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140010daa
movzx eax, ax
or eax, 0x80070000
add rsp, 0x58
ret
xor eax, eax
add rsp, 0x58
ret

Function at 0x140011cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r13, rdx
mov rbp, rcx
xor r14d, r14d
mov qword [rax - 0x40], r14
mov qword [rax - 0x48], r14
mov qword [rax + 0x20], r14
mov qword [rax + 0x18], r14
cmp qword [r9 + 0x20], 8
jb 0x140011d36
mov r9, qword [r9 + 8]
jmp 0x140011d3a
add r9, 8
cmp qword [r8 + 0x20], 8
jb 0x140011d47
mov rdx, qword [r8 + 8]
jmp 0x140011d4b
lea rdx, [r8 + 8]
mov r8, r9
lea rcx, [0x14000f000]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r12, rax
mov ebx, 0x80004005
mov edi, ebx
test rax, rax
cmovne edi, r14d
test edi, edi
jns 0x140011dc0
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140011d84
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140011d98
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011da9
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011db9
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
jmp 0x140012267
mov rdx, rax
lea rcx, [0x14000f000]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, ebx
test rax, rax
cmovne edi, r14d
test edi, edi
jns 0x140011e2d
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140011df1
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140011e05
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011e16
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011e26
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
jmp 0x140012267
mov rcx, rax
Function at 0x140012910
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push rbx
sub rsp, 0x860
mov rax, qword [0x140018020]
xor rax, rsp
mov qword [rsp + 0x850], rax
xor eax, eax
lea rbx, [rcx + 0xe0]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov dword [rbx], eax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, str.GETBASFM
lea rcx, str..pipe_stacsv
mov r8d, 9
mov dword [rsp + 0x20], 0x400
mov dword [rsp + 0x40], 0x80004005
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
je 0x1400129b6
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x450]
lea rdx, str._s__d__x
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.MSVCR90.dll_sscanf]
mov al, 1
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140013530
add rsp, 0x860
pop rbx
ret
cmp dword [rsp + 0x40], 0
je 0x14001299b
xor al, al
jmp 0x14001299d

Function at 0x1400129d0
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push rdi
sub rsp, 0xce0
mov rax, qword [0x140018020]
xor rax, rsp
mov qword [rsp + 0xcd0], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x480
call fcn.140013aba
mov r9d, dword [rdi + 0xe0]
lea r8, str.SETBASFM
lea rdx, str._s__x
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCR90.dll_sprintf]
or rcx, 0xffffffffffffffff
xor eax, eax
xor r11d, r11d
lea rdi, [rsp + 0x50]
mov dword [rsp + 0x40], 0x80004005
repne scasb al, byte [rdi]
mov dword [rsp + 0x44], r11d
not rcx
dec rcx
add ecx, 1
je 0x140012abb
mov dword [rsp + 0x30], r11d
lea rax, [rsp + 0x48]
mov r8d, ecx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4d0]
lea rdx, [rsp + 0x50]
lea rcx, str..pipe_stacsv
mov dword [rsp + 0x20], 0x400
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
je 0x140012ab0
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x8d0]
lea rdx, str._s__d__x
lea rcx, [rsp + 0x4d0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR90.dll_sscanf]
mov al, 1
jmp 0x140012abd
cmp dword [rsp + 0x40], 0
jne 0x140012abb
mov al, 1
jmp 0x140012abd
xor al, al
mov rcx, qword [rsp + 0xcd0]
xor rcx, rsp
call fcn.140013530
add rsp, 0xce0
pop rdi
ret