joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140061290
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1400a3310]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa0]
xor ebp, ebp
add eax, eax
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], eax
mov rsi, r9
mov qword [rsp + 0x30], rbp
mov rdi, r8
test rdx, rdx
je 0x140061349
cmp word [rdx], bp
je 0x140061349
test r8, r8
je 0x140061349
cmp word [r8], bp
je 0x140061349
test r9, r9
je 0x140061349
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140061335
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140061335
cmp dword [rsp + 0x38], 1
lea eax, [rbp + 0xd]
cmovne ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140061345
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14006134e
mov eax, 0x57
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400652d0
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140061364
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400a3310]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0xb0]
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov rsi, r9
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x140061477
cmp word [rdx], r14w
je 0x140061477
test r9, r9
je 0x140061477
cmp word [r9], r14w
je 0x140061477
test rdi, rdi
je 0x140061477
cmp word [rdi], r14w
je 0x140061477
mov edx, 0x7fffffff
mov rax, rdi
mov ecx, edx
cmp word [rax], r14w
je 0x1400613ea
add rax, 2
sub rcx, 1
jne 0x1400613da
sub rdx, rcx
mov rax, rcx
neg rax
sbb rbp, rbp
and rbp, rdx
test rcx, rcx
jne 0x140061403
lea ebx, [rcx + 0x57]
jmp 0x140061473
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r8
mov rdx, r10
mov dword [rsp + 0x28], 0x20106
xor r8d, r8d
mov rcx, r11
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x140061463
mov rcx, qword [rsp + 0x50]
lea eax, [rbp*2 + 2]
mov dword [rsp + 0x28], eax
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140061473
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14006147c
mov eax, 0x57
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400652d0
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400615b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400a3310]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov bl, r8b
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x80], edi
mov qword [rcx], rdi
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea edx, [rdi + 1]
lea rcx, [rbp - 0x70]
call fcn.140022840
nop
test bl, bl
je 0x140061621
lea rdx, str.Wow6432Node_
lea rcx, [rbp - 0x70]
call fcn.140014428
lea rdx, str.CLSID_
lea rcx, [rbp - 0x70]
call fcn.140014428
mov rcx, rax
mov rdx, rsi
call fcn.140014428
mov rcx, rax
lea rdx, str.LocalServer32
call fcn.140014428
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.1400142d0
nop
mov ebx, 5
mov dword [rbp - 0x80], ebx
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rsi, 0xffffffff80000000
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400616df
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1400142d0
mov ebx, 0xf
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov sil, dil
jne 0x1400616e2
mov sil, 1
test bl, 2
je 0x1400616f5
and ebx, 0xfffffffd
lea rcx, [rsp + 0x40]
call fcn.140004738
nop
test bl, 1
je 0x140061704
lea rcx, [rsp + 0x60]
call fcn.140004738
test sil, sil
je 0x140061795
mov dword [rbp - 0x80], edi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14006178a
mov ecx, dword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14006178a
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140061781
mov qword [r14], rbx
mov dil, 1
jmp 0x14006178a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x18]
call fcn.1400227c8
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov al, dil
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400652d0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140062570
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rcx]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 2
jb 0x14006257d
mov rax, rdx
ret

Function at 0x140066408
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140066452
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140066452
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140066452
mov eax, SHFlushSFCache
cmp word [rcx + 0x18], ax
jne 0x140066452
cmp dword [rcx + 0x84], 0xe
jbe 0x140066452
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140066454
xor al, al
add rsp, 0x28
ret
Function at 0x1400035a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140006600], rbx
je 0x1400035ec
cmp rax, rbx
jne 0x1400035df
mov ebx, 1
mov esi, ebx
jmp 0x1400035f1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400035c4
mov ebx, 1
mov eax, dword [0x140006608]
cmp eax, ebx
jne 0x140003607
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000366c
mov eax, dword [0x140006608]
test eax, eax
jne 0x140003666
mov dword [0x140006608], ebx
lea r15, [0x1400043a8]
lea rdi, [0x140004390]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140003658
test eax, eax
jne 0x14000365c
cmp qword [rdi], 0
je 0x14000364d
mov rax, qword [rdi]
mov rcx, qword [0x140004370]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000362e
test eax, eax
je 0x14000366c
mov eax, 0xff
jmp 0x140003748
mov dword [0x140006024], ebx
mov eax, dword [0x140006608]
cmp eax, ebx
jne 0x140003693
lea rdx, [0x140004388]
lea rcx, [0x140004378]
call sub.msvcrt.dll__initterm
mov dword [0x140006608], 2
test esi, esi
jne 0x1400036a0
xor eax, eax
xchg qword [0x140006600], rax
cmp qword [0x140006610], 0
je 0x1400036d4
lea rcx, [0x140006610]
call fcn.140003950
test eax, eax
je 0x1400036d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140006610]
mov r9, qword [0x140004370]
call r9
mov r8, qword [0x140006038]
mov rdx, qword [0x140006030]
mov ecx, dword [0x140006028]
call fcn.140001008
mov dword [0x140006020], eax
cmp dword [0x140006040], 0
jne 0x140003704
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140006024], 0
jne 0x140003719
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140006020]
jmp 0x140003748
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140176000
add rsp, 0x28
jmp 0x1400035a0

Function at 0x14000383c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140003888
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140003880
cmp dword [rcx + 0x3c], edx
jl 0x140003880
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140003880
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140003888
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000a110
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6e], 0
mov rdx, rcx
je 0x14000a139
xor eax, eax
mov r8d, 0x169
movzx ecx, ax
sub cx, r8w
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x36
jb 0x14000a121
mov byte [rdx + 0x6e], 0
mov rax, rdx
ret

Function at 0x14000a140
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x68], 0
mov rdx, rcx
je 0x14000a169
xor eax, eax
mov r8d, 0x169
movzx ecx, ax
sub cx, r8w
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x33
jb 0x14000a151
mov byte [rdx + 0x68], 0
mov rax, rdx
ret

Function at 0x14000a170
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6a], 0
mov rdx, rcx
je 0x14000a199
xor eax, eax
mov r8d, 0x169
movzx ecx, ax
sub cx, r8w
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x34
jb 0x14000a181
mov byte [rdx + 0x6a], 0
mov rax, rdx
ret

Function at 0x14000a1a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x64], 0
mov rdx, rcx
je 0x14000a1c9
xor eax, eax
mov r8d, 0x169
movzx ecx, ax
sub cx, r8w
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x31
jb 0x14000a1b1
mov byte [rdx + 0x64], 0
mov rax, rdx
ret

Function at 0x14000a1d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x72], 0
mov rdx, rcx
je 0x14000a1f9
xor eax, eax
mov r8d, 0x169
movzx ecx, ax
sub cx, r8w
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x38
jb 0x14000a1e1
mov byte [rdx + 0x72], 0
mov rax, rdx
ret

Function at 0x14000a200
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6c], 0
mov rdx, rcx
je 0x14000a229
xor eax, eax
mov r8d, 0x169
movzx ecx, ax
sub cx, r8w
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x35
jb 0x14000a211
mov byte [rdx + 0x6c], 0
mov rax, rdx
ret

Function at 0x14000b594
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b5de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b5de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b5de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b5de
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b5de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000b5e0
xor al, al
add rsp, 0x28
ret
Function at 0x1400243b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002447c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002447c
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 0x140024495
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 0x14002446c
cmp byte [rax], 0x5c
jne 0x140024466
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140024466
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140024452
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140024463
test r8b, 0x10
jne 0x140024466
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140024466
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140028030
test edi, edi
jne 0x1400243d0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.1400259a0
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140028ad4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140028ac0
ret
Function at 0x1400333a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400333d1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14003344b
mov rdi, r14
mov rcx, rbx
call fcn.140026370
test rax, rax
jle 0x140033423
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400ae8e0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14003343b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140033443
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400333e5
sub r14, rdi
jmp 0x14003352f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140033462
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140033464
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140033496
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400ae8e0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14003352c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400334d1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14003350d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140098c10
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14003352c
cmp rbp, rax
ja 0x1400334e0
test rbp, rbp
je 0x14003352c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140098c10
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140036ea0
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x1400f3b50], 0
jne 0x140036f90
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400bb1b8]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400bb1c8]
call sub.mscoree.dll_CLRCreateInstance
lea rdi, [0x1400f3b50]
test eax, eax
js 0x140036f54
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400bb1d8]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140036f45
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400bb1a8]
mov r9, rdi
lea rdx, [0x1400bb198]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140036f3a
mov rcx, qword [0x1400f3b50]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x140036f90
cmp qword [0x1400f3b50], 0
jne 0x140036f90
lea r9, [0x1400bb1a8]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400bb198]
xor edx, edx
lea rcx, str.v2.0.50727
call sub.mscoree.dll_CorBindToRuntime
test eax, eax
js 0x140036f9d
mov rcx, qword [0x1400f3b50]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x1400bb2c0]
lea rdx, [0x1400bb2e0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x14003bd40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor esi, esi
add rcx, 0x10
call fcn.1400531b0
mov ecx, dword [rbx + 0x340]
test al, al
je 0x14003be84
cmp ecx, 1
je 0x14003be6c
mov dword [rbx + 0x340], 1
xor edx, edx
mov rcx, rbx
call fcn.14003f340
mov rcx, rbx
call fcn.14003eb60
lea rcx, [0x1400f3600]
call fcn.140040360
test al, al
je 0x14003bee9
lea rcx, [rbx + 0x10]
call fcn.1400530b0
test al, al
je 0x14003bee9
lea rcx, [rbx + 0x10]
call fcn.140053800
lea rdi, [rbx + 0x630]
cmp byte [rdi + 8], sil
jne 0x14003be53
cmp qword [rdi + 0x18], rsi
je 0x14003be53
mov word [rdi + 8], 0x101
mov dword [rdi + 0x20], 0x32
lea ecx, [rsi + 8]
call fcn.140086ed0
test rax, rax
je 0x14003bdf4
mov qword [rax], rdi
jmp 0x14003bdf7
mov rax, rsi
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140037b50]
xor edx, edx
xor ecx, ecx
call fcn.140099b80
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003befc
cmp dword [rsp + 0x38], 0
je 0x14003bef1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14008617c
test eax, eax
jne 0x14003bef1
mov dl, 1
mov rcx, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.14003f340
lea rcx, [rbx + 0x10]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.1400024e0
test ecx, ecx
je 0x14003bed9
cmp ecx, 1
jne 0x14003be96
lea rcx, [rbx + 0x10]
call fcn.1400024e0
mov dword [rbx + 0x340], esi
mov rcx, rbx
call fcn.14003eb60
mov byte [rbx + 0x638], sil
mov edi, 0x1388
cmp byte [rbx + 0x639], sil
je 0x14003bed9
nop dword [rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x14003bed9
cmp byte [rbx + 0x639], sil
jne 0x14003bec0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.14009a234
nop
mov ecx, 1
call fcn.140085558
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.140085558
int3
Function at 0x14003eb60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x1400f3be0]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.1400852dc
test eax, eax
jne 0x14003ebf1
cmp dword [0x1400f3c2c], 0x7fffffff
je 0x14003ebdc
lea edx, [rax + 2]
mov rcx, rbx
call fcn.140047870
mov eax, dword [rbx + 0xe0]
mov dword [rsp + 0x50], eax
xor eax, eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.1400852e4
mov dword [0x1400f3c2c], 0x7ffffffe
mov ecx, 6
call fcn.140085558
int3
mov ecx, 5
call fcn.140085558
int3
Function at 0x14003f040
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movzx edi, dl
mov rbx, rcx
lea rsi, [0x1400f3be0]
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call fcn.1400852dc
test eax, eax
jne 0x14003f0d8
cmp dword [0x1400f3c2c], 0x7fffffff
je 0x14003f0c3
lea edx, [rax + 7]
mov rcx, rbx
call fcn.140047870
mov dword [rsp + 0x58], edi
xor eax, eax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400852e4
mov dword [0x1400f3c2c], 0x7ffffffe
mov ecx, 6
call fcn.140085558
int3
mov ecx, 5
call fcn.140085558
int3

Function at 0x14003f200
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rdx
xor ebp, ebp
mov dword [rsp + 0x3c], ebp
lea r14, [0x1400f3be0]
mov qword [rsp + 0x50], r14
mov rcx, r14
call fcn.1400852dc
test eax, eax
jne 0x14003f32b
cmp dword [0x1400f3c2c], 0x7fffffff
je 0x14003f316
lea edx, [rbp + 8]
mov rcx, rdi
call fcn.140047870
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140008110
mov rdx, rax
mov rcx, rdi
call fcn.140042b20
nop
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x34]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x34]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x3c], 2
mov rdx, rsi
cmp rsi, 0xf
jbe 0x14003f2d8
movzx r8d, byte [rsp + 0x30]
mov rcx, rbx
call fcn.140038550
mov qword [rbx + 0x10], rbp
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14003f2e5
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.1400852e4
mov rax, rbx
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [0x1400f3c2c], 0x7ffffffe
mov ecx, 6
call fcn.140085558
int3
mov ecx, 5
call fcn.140085558
int3
Function at 0x14003f340
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
movzx edi, dl
mov rbx, rcx
lea rsi, [0x1400f3be0]
mov qword [rsp + 0x80], rsi
mov rcx, rsi
call fcn.1400852dc
test eax, eax
jne 0x14003f47b
cmp dword [0x1400f3c2c], 0x7fffffff
je 0x14003f466
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.140047870
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rbp
lea ecx, [rbp + 0x20]
call fcn.140086ed0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], SafeArrayUnaccessData
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.TRAINER_INITIALIZE]
movups xmmword [rax], xmm0
movzx ecx, word [0x1400bbfc0]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], bpl
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140042b20
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x88], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x88]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x80]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x80], 1
jne 0x14003f452
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x80], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x80]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x88]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp fcn.1400852e4
mov dword [0x1400f3c2c], 0x7ffffffe
mov ecx, 6
call fcn.140085558
int3
mov ecx, 5
call fcn.140085558
int3