joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401bcedc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14019ea60
sub rsp, rax
mov rax, qword [0x1401f1080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1401b7a90
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1401bcf2b
mov rax, rbp
jmp 0x1401bd033
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1f4780]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1401bde28
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1f4780]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1401bd02f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401bd02f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1401bde28
test rax, rax
js 0x1401bd02f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1401bd02f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1401bd021
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1401bd021
cmp byte [rcx], 0xd
jne 0x1401bd007
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1401bd016
cmp byte [rcx + 1], 0xa
jne 0x1401bd016
inc rcx
jmp 0x1401bd016
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1f1490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401bcfe9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1401bd033
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14019dfb0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401bd1c8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1401f4780]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1401bd21f
cmp word [rdx], r13w
jne 0x1401bd21f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401bd224
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401bd349
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401bd36a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401bd25d
mov rdx, r9
mov word [rbx], cx
jmp 0x1401bd284
cmp r9, r8
jae 0x1401bd294
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1401bd23e
jmp 0x1401bd349
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401bd33e
cmp dword [rsp + 0x80], esi
je 0x1401bd33e
lea r8, [0x1401f4780]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401bd316
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401bd2e6
mov word [rbx], r13w
jmp 0x1401bd346
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1401bd2f3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401bd346
cmp word [rsp + 0x70], r13w
jne 0x1401bd323
cmp rbx, r14
je 0x1401bd2e0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401bde30
cmp word [rsp + 0x70], r13w
je 0x1401bd349
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1401f4780]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401bd343
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401bd349
Function at 0x1401c2800
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401c2830
xor eax, eax
jmp 0x1401c28f3
mov rbp, rbx
cmp word [rax], si
je 0x1401c2855
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401c283c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401c2838
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1401c0800
movsxd r14, eax
test eax, eax
jne 0x1401c2893
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401c2829
mov rcx, r14
call fcn.1401bab24
mov rdi, rax
test rax, rax
jne 0x1401c28ac
xor ecx, ecx
call fcn.1401b86bc
jmp 0x1401c2888
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1401c0800
test eax, eax
jne 0x1401c28dd
mov rcx, rdi
call fcn.1401b86bc
jmp 0x1401c28e7
xor ecx, ecx
call fcn.1401b86bc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1401c2910
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1401c2997
mov rsi, rbx
cmp word [rax], bp
je 0x1401c2956
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401c2940
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401c293c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1401bab24
mov rdi, rax
test rax, rax
je 0x1401c2984
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1401a0510
mov rbp, rdi
xor ecx, ecx
call fcn.1401b86bc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401c5f60
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1401b8070
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1401c6001
cmp ebx, dword [rsp + 0x30]
je 0x1401c5ffa
test esi, esi
je 0x1401c5ffa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401c5fd5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1401c5fe2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401c5fbf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1401c5fe6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1401c6003
mov eax, 1
jmp 0x1401c6003
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401cabfc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1401a5844
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401cac86
cmp byte [rbp - 0x21], r15b
je 0x1401cac81
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401cacbc
call fcn.1401b8a18
test eax, eax
jne 0x1401caca8
cmp byte [rbp - 0x21], r15b
je 0x1401caca0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401cacbc
cmp byte [rbp - 0x21], r15b
je 0x1401cacb9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401b16fc
test eax, eax
jne 0x1401cad5c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1401a5844
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401cacfb
cmp byte [rbp - 0x21], r15b
je 0x1401cad30
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401cad30
call fcn.1401b8a18
test eax, eax
jne 0x1401cad1c
cmp byte [rbp - 0x21], r15b
je 0x1401cad15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401cad30
cmp byte [rbp - 0x21], r15b
je 0x1401cad2d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401b16fc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401cad5c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401cad5f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401cad6d
mov rcx, rdi
call fcn.1401b86bc
cmp byte [rbp + 0x3f], r15b
je 0x1401cad7c
mov rcx, qword [rbp + 0x27]
call fcn.1401b86bc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401cbb84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401bde30
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401bde30
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401cbcd4
cmp rax, 0xffffffffffffffff
je 0x1401cbcd4
xor edi, edi
test rbp, rbp
jle 0x1401cbc7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1401b8644
mov rbx, rax
test rax, rax
jne 0x1401cbc0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401cbc75
mov edx, 0x8000
mov ecx, r14d
call fcn.1401b5640
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401b9f74
cmp eax, 0xffffffff
je 0x1401cbc55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401cbc1c
mov edx, r15d
mov ecx, r14d
call fcn.1401b5640
jmp 0x1401cbc75
cmp byte [rsi + 0x38], dil
je 0x1401cbc6c
cmp dword [rsi + 0x34], 5
jne 0x1401cbc6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1401cbc75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401b86bc
jmp 0x1401cbce8
jns 0x1401cbce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401bde30
cmp rax, 0xffffffffffffffff
jne 0x1401cbca0
cmp byte [rsi + 0x30], dil
je 0x1401cbce8
mov edi, dword [rsi + 0x2c]
jmp 0x1401cbce8
mov ecx, r14d
call fcn.1401c3a0c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401cbce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1401cbce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401cbce1
mov eax, dword [rsi + 0x2c]
jmp 0x1401cbce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401bde30
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1401cc210
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401cc238
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401cc238
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003a20
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a54
cmp word [rcx], 0x5a4d
jne 0x140003a54
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a54
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a54
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003960
test eax, eax
jne 0x140003a70
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400039d0
test rax, rax
je 0x140003a65
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004216
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004120
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400040c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004cd0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004cf3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004cf3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004da1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140527090]
mov r8, rcx
mov rcx, r9
call fcn.140004cd0
test eax, eax
je 0x140004dcd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004cf4
xor eax, eax
add rsp, 0x28
ret

Function at 0x141287000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x14128700a
jmp 0x14128900f
jmp fcn.140cda058
Function at 0x140022240
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 0x14002230c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002230c
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 0x140022325
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 0x1400222fc
cmp byte [rax], 0x5c
jne 0x1400222f6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400222f6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400222e2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400222f3
test r8b, 0x10
jne 0x1400222f6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400222f6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140025630
test edi, edi
jne 0x140022260
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.140023400
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140026374
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140026360
ret
Function at 0x1400328e0
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x1400de900], 0
jne 0x1400329d0
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400acbf8]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400acc08]
call sub.mscoree.dll_CLRCreateInstance
lea rdi, [0x1400de900]
test eax, eax
js 0x140032994
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400acc18]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140032985
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400acbe8]
mov r9, rdi
lea rdx, [0x1400acbd8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14003297a
mov rcx, qword [0x1400de900]
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 0x1400329d0
cmp qword [0x1400de900], 0
jne 0x1400329d0
lea r9, [0x1400acbe8]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400acbd8]
xor edx, edx
lea rcx, str.v2.0.50727
call sub.mscoree.dll_CorBindToRuntime
test eax, eax
js 0x1400329dd
mov rcx, qword [0x1400de900]
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, [0x1400acd00]
lea rdx, [0x1400acd20]
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 0x140037180
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.14004e100
mov ecx, dword [rbx + 0x318]
test al, al
je 0x1400372c4
cmp ecx, 1
je 0x1400372ac
mov dword [rbx + 0x318], 1
xor edx, edx
mov rcx, rbx
call fcn.14003a880
mov rcx, rbx
call fcn.14003a0c0
lea rcx, [0x1400de3b0]
call fcn.14003b8b0
test al, al
je 0x140037319
lea rcx, [rbx + 0x10]
call fcn.14004e000
test al, al
je 0x140037319
lea rcx, [rbx + 0x10]
call fcn.14004e610
lea rdi, [rbx + 0x608]
cmp byte [rdi + 8], sil
jne 0x140037293
cmp qword [rdi + 0x18], rsi
je 0x140037293
mov word [rdi + 8], 0x101
mov dword [rdi + 0x20], 0x32
lea ecx, [rsi + 8]
call fcn.14007f328
test rax, rax
je 0x140037234
mov qword [rax], rdi
jmp 0x140037237
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, [0x140033610]
xor edx, edx
xor ecx, ecx
call fcn.140090778
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003732c
cmp dword [rsp + 0x38], 0
je 0x140037321
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14007e268
test eax, eax
jne 0x140037321
mov dl, 1
mov rcx, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.14003a880
lea rcx, [rbx + 0x10]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp fcn.140024460
test ecx, ecx
je 0x140037309
mov dword [rbx + 0x318], esi
mov rcx, rbx
call fcn.14003a0c0
mov byte [rbx + 0x610], sil
mov edi, 0x1388
cmp byte [rbx + 0x611], sil
je 0x140037309
nop dword [rax + rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x140037309
cmp byte [rbx + 0x611], sil
jne 0x1400372f0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.140090e24
nop
mov ecx, 1
call fcn.14007d5f4
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.14007d5f4
int3
Function at 0x14003a0c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x1400de9a0]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.14007d49c
test eax, eax
jne 0x14003a151
cmp dword [0x1400de9ec], 0x7fffffff
je 0x14003a13c
lea edx, [rax + 2]
mov rcx, rbx
call fcn.140042be0
mov eax, dword [rbx + 0xc0]
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.14007d4a4
mov dword [0x1400de9ec], 0x7ffffffe
mov ecx, 6
call fcn.14007d5f4
int3
mov ecx, 5
call fcn.14007d5f4
int3
Function at 0x14003a5b0
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, [0x1400de9a0]
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call fcn.14007d49c
test eax, eax
jne 0x14003a648
cmp dword [0x1400de9ec], 0x7fffffff
je 0x14003a633
lea edx, [rax + 7]
mov rcx, rbx
call fcn.140042be0
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.14007d4a4
mov dword [0x1400de9ec], 0x7ffffffe
mov ecx, 6
call fcn.14007d5f4
int3
mov ecx, 5
call fcn.14007d5f4
int3

Function at 0x14003a740
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, [0x1400de9a0]
mov qword [rsp + 0x50], r14
mov rcx, r14
call fcn.14007d49c
test eax, eax
jne 0x14003a86a
cmp dword [0x1400de9ec], 0x7fffffff
je 0x14003a855
lea edx, [rbp + 8]
mov rcx, rdi
call fcn.140042be0
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140005380
mov rdx, rax
mov rcx, rdi
call fcn.14003dc00
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 esi, 0xf
jbe 0x14003a817
movzx r8d, byte [rsp + 0x30]
mov rcx, rbx
call fcn.140034010
mov qword [rbx + 0x10], rbp
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003a824
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.14007d4a4
mov rax, rbx
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [0x1400de9ec], 0x7ffffffe
mov ecx, 6
call fcn.14007d5f4
int3
mov ecx, 5
call fcn.14007d5f4
int3
Function at 0x14003a880
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, [0x1400de9a0]
mov qword [rsp + 0x80], rsi
mov rcx, rsi
call fcn.14007d49c
test eax, eax
jne 0x14003a9c4
cmp dword [0x1400de9ec], 0x7fffffff
je 0x14003a9af
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.140042be0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
lea edx, [rbp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140025a90
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 [0x1400ada28]
mov word [rax + 0x10], cx
mov byte [rax + 0x12], bpl
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003dc00
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 0x14003a99b
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.14007d4a4
mov dword [0x1400de9ec], 0x7ffffffe
mov ecx, 6
call fcn.14007d5f4
int3
mov ecx, 5
call fcn.14007d5f4
int3