joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402e3f91
Capabilities:
Authenticate hmac

Disassembly:
mul eax
mov qword [rsp + rax], rdi
ret 0x10
lea r10, [rax + r10 - 0x85]
shrd bx, r11w, cl
mov ecx, edx
mov word [rax + r10 - 0x89], bx
lea r11, [rbp + rax*2 - 0x3ad093fa]
jmp 0x1402b58d2
neg r11w
or rax, rcx
not esi
movzx ebp, byte [rsp + rax - 0xfffffff]
xor r10w, r11w
pop rbx
lea r11, [rsp + r11 + 0x10]
push rsi
or rsi, rbx
mov qword [r11 + rax*2 - 0x20000000], rdx
jge 0x14015ebd6
dec bp
call fcn.14027f113
sbb r9b, 0x12
movsxd rdi, edi
lea r8, [r9 - 0x51c7cf5d]
not r9d
add rbp, rdi
mul r10w
mov qword [rsp + r10*2 - 0x24], 0x14288caa
mov r9w, word [r10 + r11 - 0x16]
lea rdi, [rdx + rdx*8 - 0x70f52df2]
jno 0x1402e32fa
xor dword [rsp + rbp*2 - 0xc338], eax
inc bp
sar cx, 0x6e
ror cl, 0x23
pop rbx
movsxd rax, eax
add r10, rax
call fcn.1401e6e5c
jge 0x1401963f4
jmp 0x1401efc3a
lea rdi, [rdi + rax - 0x8d]
bt rdx, 0x8e
ror rdx, cl
mov eax, dword [rax + rdi - 0x89]
call fcn.1402b4d75
mov r8w, word [r11 + r10*2 - 0x2a]
lea r11, [r11 + r10 - 0x14]
jae 0x1402da13a
xor r11w, si
mov qword [rsp + rax], 0xffffffffd116833d
not rsi
xadd dword [rsp + rsi + 0x10008], esi
neg r11w
xor dword [rsp + rax*4 + 2], 0x942a3f30
xadd al, ch
sbb byte [rsp + rsi*2 + 0xb], 0xa7
sbb r11w, 0x62f
push rsi
not r11w
xor bx, cx
sal ecx, 0x1c
jns 0x1402fa0bd
mov eax, 0x48b55181
lea rsi, [rsi + rax - 0x48b55185]
mov eax, dword [rsi + rax - 0x48b55181]
mov ecx, 0x6119e582
inc cl
push rcx
xor eax, ebx
xadd byte [rsp + rcx - 0x6119e581], cl
rol eax, 3
mov edi, ecx
inc eax
movzx ebp, word [rsp + rcx - 0x6119e517]
mov r9d, 0xc1a53c01
not eax
neg eax
mov qword [rsp + rdi - 0x6119e519], rbx
bts rdi, 0xab
jae 0x1402324eb
rol r11w, 1
jmp 0x140277c83
Function at 0x1402e5627
Capabilities:
Authenticate hmac

Disassembly:
mov qword [rsp + r10*2 - 0x42a56ad4], 0xffffffffce9dcba3
inc dword [rsp + r10 - 0x2152b56d]
movzx eax, word [rbx + r10 - 0x2152b56e]
xadd byte [rsp + r10*2 - 0x42a56ad3], dl
lea rbx, [rbx + r10 - 0x2152b56c]
movzx r9d, byte [rsp + r10 - 0x2152b563]
xor ax, si
ror r9d, cl
shl qword [rsp + r10 - 0x2152b566], 0x14
xor ax, 0xa18
add byte [rsp + r10 - 0x2152b56d], r10b
rol ax, 1
pop r10
or bpl, dl
dec ax
xor ax, 0xbb12
rol r10b, 0xa1
ror dword [rsp + rcx - 0x1117e35], cl
ror ax, 1
call fcn.1402d011e
mov r8d, 0x35a23aa6
mov r9d, dword [r8 + rsi - 0x35a23aa6]
lea rsi, [rsi + r8 - 0x35a23aa2]
movsx edi, r8b
lea rcx, [rdi + r8*2 - 0x154aa0e2]
xor r9d, ebx
mov eax, r8d
not r9d
mov r10d, 0x5c89220e
btr edi, 0x89
rol r9d, 1
inc r9d
and rax, rcx
add r10, rdi
rol r9d, 1
dec r9d
neg r10b
push rbx
xor rax, r10
xor dword [rsp + r8*2 - 0x6b44754c], r9d
xor rdi, r8
call fcn.1401788ff
mov edx, 0x441fdf00
mov r8w, word [rdi + rdx - 0x441fdf00]
lea r9, [rdx + rdx*8 + 0x492cb69d]
lea rdi, [rdi + rdx - 0x441fdefe]
movsx esi, r9w
lea rbx, [rdx + rbx - 0x441fdf01]
bt dx, 0xe
movzx eax, byte [rbx + rdx - 0x441fdf00]
movsx ebp, sil
add ebp, edx
shr rsi, 0x41
xor al, r11b
lea rcx, [rbp + rsi - 0x6d45c057]
rol al, 1
inc al
neg al
sub al, 0x94
xor r11b, al
rol edx, 6
jae 0x1402fbcb4
add rax, rsp
inc bpl
js 0x140277e5f
mov word [rdx + rax - 0x7f7c011], r8w
push rsi
lea rbx, [rdx + rbx - 0x7f7c015]
add r9, r9
call fcn.140176582
mov rbp, qword [rbx]
mov r8d, 0x3f3c6531
movzx eax, r8b
lea rsi, [rax + rax*2 - 0x24539fb]
mov rax, qword [r8 + rbp - 0x3f3c6531]
movsx r10d, si
movzx edx, sil
movzx edx, dh
mov ebp, 0x10281c9f
mov qword [rbx + r8 - 0x3f3c6531], rax
bt r8d, ebp
mov r10d, dword [r9 + rsi + 0x2453968]
xchg rdx, rsi
movsx ecx, bpl
lea r9, [r9 + r8*2 - 0x7e78ca5e]
btr ebp, edx
xor r10d, edi
xor r10d, 0xaa3d6595
bt cx, si
or sil, r8b
sbb r10d, 0xfabdf284
movsx eax, dx
bswap r10d
rol dx, 0x43
call fcn.14017d7b2
sub ecx, 0x801d4616
bts rsi, rdx
btr r11w, r11w
mov qword [rsp + r11 - 0x7286e820], r10
cwd
add bx, bp
xor dword [rsp + r11 - 0x7286e820], ecx
pop r10
shr al, 0xc5
jp 0x1402e652b
xor dword [rsp + r10 - 0x2152b566], eax
mov qword [rsp + r10 - 0x2152b56e], rcx
not qword [rsp + rdx*4 - 0x14b64]
neg dword [rsp + r10*2 - 0x42a56adc]
mov rsi, qword [rsp + r10 - 0x2152b566]
movsxd rax, eax
not ebp
sbb dword [rsp + r10 - 0x2152b56c], 0x51a0b1af
adc rdi, rax
jmp 0x1401b87ce
movsxd rcx, ecx
btr esi, ebp
neg si
add r8, rcx
sub esi, esi
bswap r11d
xor rsi, r8
jmp rsi
xor ebx, ebp
mov word [rbp + r9 - 0x4baf6b4], ax
lea r11, [rbp*8 + 0x5c9dc2ae]
pop rax
adc rax, 0xfffffffffffad288
jmp rax

Function at 0x1402e807e
Capabilities:
Authenticate hmac

Disassembly:
setbe dl
pop rax
pop rax
jp fcn.14020409d
push rbp
neg r9d
neg r8
rol bpl, 0x42
mov qword [rsp + rbp - 0x148], r11
pop r11
xor dword [rsp + rbp*8 - 0xab8], r9d
mov r11, qword [rsp + rbp*4 - 0x558]
mov qword [rsp + rbp - 0x150], 0x7b383d00
or dword [rsp + rbp - 0x14c], edx
movsxd r9, r9d
adc r10, r9
shl si, 0xc9
jne 0x1402a512b
Function at 0x1402e8a81
Capabilities:
Encode data using base64

Disassembly:
dec ebx
rol ax, 0xe3
bt rdx, rsi
bswap ebx
rol ebx, 1
inc edx
and ax, 0x61b5
inc si
push r10
xor dword [rsp + rsi - 0x54da0001], ebx
pop r10
movsxd rbx, ebx
sub al, sil
adc r8, rbx
btr ecx, edx
mov r9w, word [r9 + rax*4 - 0x47c]
jb 0x1401ea5e6
call fcn.140253118
mov eax, 0x36130aaa
mov r10d, dword [rax + r9 - 0x36130aaa]
lea r9, [r9 + rax*2 - 0x6c261550]
xor r10d, edi
movzx ebp, al
mov edx, 0x21c7c32
cbw
inc r10d
bswap r10d
dec r10d
movzx esi, bp
xchg ebp, eax
movzx ecx, ax
bswap r10d
push rdi
sar rdx, cl
xor dword [rsp + rax - 0xaa], r10d
pop rdi
lea r8, [rcx + rbp*8 + 0x3c898521]
movsxd r10, r10d
or rsi, rbp
sar bpl, 1
adc r11, r10
btr rax, rbp
call fcn.1402299a6
xor ecx, esi
not ecx
rol ecx, 2
mov r9d, 0xe21fa89e
inc ecx
inc r9w
js 0x1402e3351
mov edi, 0xc7a82926
lea r11, [rdi*4 + 0x3f8ac2a8]
movzx esi, di
lea r8, [r8 + rsi - 0x292a]
mov ebp, dword [r8 + rsi*8 - 0x14930]
jmp 0x140262ade
lea r11, [rsi + rdx*4 + 0x19a5ea8a]
jb fcn.1401b1934
mov ebx, 0xcd19beb0
mov rdx, qword [r9]
movzx esi, bl
not sil
lea r9, [rsi + r9 - 0x47]
xor ebx, 0x451ec0b3
lea rcx, [rsi + rsi - 0x5c40beda]
call fcn.140271160
mov qword [rsp + rax*2 - 0xcb6c4e], r10
ret
movsx eax, di
jp 0x140246b97
xor ebp, r9d
dec edi
sar dil, 0xe6
ror ebp, 1
jmp 0x1402b7a31
not r11d
not ebp
lea rdi, [r11 + r11*4 - 0xec1f8f8]
movzx edx, sil
shr rsi, 0x1f
neg ebp
lea rsi, [r11 + r11*8 + 0x57880e00]
inc ebp
push r9
xor dword [rsp + rdx*2 - 0x4c], ebp
sar dx, 0x2f
pop r9
jae 0x14023a246
ror ecx, 1
push rsi
cqo
xor dword [rsp + rax - 0x10a9b132], ecx
lea rax, [r9 + 0x48910a0b]
lea r8, [rax*4 - 0x4ddce05c]
pop rsi
movsxd rcx, ecx
cwde
add rdi, rcx
mov rax, qword [r11 + rdx*2]
inc r8b
sar r8, 0x9b
sal dl, 5
adc rdx, qword [r11 + rdx + 8]
call fcn.14029a266
mov ecx, 0xfa2b67a5
call fcn.1401923b7
sub r11d, 0xce3caa8f
btc ebp, edx
neg r11d
movzx r9d, cx
cwde
bswap r11d
ror r9d, 0x3f
lea r11d, [rbp + r11 + 0x1c910530]
imul ecx, ebp
call fcn.14026cb34
add rdi, 4
xor ebx, r10d
btc cx, dx
movsx esi, dx
add cx, si
lea ebx, [rbx + rsi - 0x7b8dee10]
movsx eax, sil
lea r11, [rsi - 0x7caa860]
rol esi, cl
ror ebx, 1
cbw
bts esi, ecx
not ebx
jae 0x14016a130
mov r8, qword [r11]
mov eax, dword [r8]
mov edi, 0xb25d73a
lea r10, [rdi + rdi - 0x53f248de]
call fcn.1402766d0
bts ebx, ecx
xor bpl, 0x1a
xor r10b, bpl
or bx, word [rsp + r11 - 0x800fd]
lea rbp, [rsp + rbp + 8]
cqo
or eax, ebx
mov eax, dword [rbp + r11*2 - 0x100200]
and byte [rsp + r11 - 0x800fa], 0xb6
movzx ebp, cl
lea r9, [r11 + r9 - 0x80104]
or word [rsp + r11*4 - 0x2003fc], cx
mov dword [r11 + r9 - 0x80100], eax
call fcn.140212947
mov eax, 0x10a9b132
movsx ecx, ax
lea rdx, [rcx*2 + 0x1c384602]
mov ecx, dword [rbx + rax*4 - 0x42a6c4c8]
lea rbx, [rbx + rax*2 - 0x21536260]
jmp 0x1401b75eb

Function at 0x1402f2fad
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
mov qword [rsp + r15 - 0x1440a0b2], rsi
not r9w
push r14
call fcn.1402dc491
Function at 0x1402fb523
Capabilities:
Encode data using base64

Disassembly:
movsxd rbx, ebx
jg 0x14021ae32
mov esi, 0x650ab79e
lea rbx, [rbx + rsi - 0x650ab7a2]
push rsi
sub qword [rsp + rsi - 0x650ab79e], 0x5295b582
movzx edx, byte [rsp + rsi - 0x650ab79d]
mov eax, dword [rbx + rsi - 0x650ab79e]
xor eax, r11d
sub dword [rsp + rdx*2 - 4], 0xeb86a720
movsx ebp, dx
ror word [rsp + rsi - 0x650ab79e], 0x2d
ror eax, 1
lea r9, [rsi + rdx + 0x52908ba0]
neg byte [rsp + rbp*8 - 0xf]
xor eax, 0x6ea484b7
sub qword [rsp + rdx - 2], rdx
jae 0x14020dcd5
mul eax
neg ebx
xchg ebp, ecx
jmp 0x1402a9672
lea r8, [rsi*4 + 0x631c87a9]
call fcn.1401e44f8
bswap r9
not eax
jns 0x1401dcee3
adc rsi, rbx
rol al, 0x41
lea rdi, [rdi + rdx*4 - 0xb1]
adc al, byte [rdi + rdx*2 - 0x58]
call fcn.1402c75c2
pop rdx
neg di
sar r11, 0xe0
mul ax
mov r9d, r11d
xor bx, di
bts r11, rdx
adc rdi, rsp
call fcn.14019dc58
xor bpl, bpl
lea ebx, [rbx + rdx*2 - 0x2e9e1db1]
shr ax, cl
adc r11w, 0x6797
adc bp, 0xbc2c
xor ebx, 0x7f0c692f
or bp, bp
ror ebx, 1
not ebx
sar rax, cl
lea ebx, [rbx + rdx*4 + 0x5705dcbb]
push r9
xor dword [rsp + rdx*2], ebx
pop r9
xadd dl, bpl
lea r11, [r8 + r8*4 - 0xd5b12c9]
jno 0x140152058
pop r10
call fcn.14015b864
neg r10d
rol r10d, 3
lea r8, [rdx - 0x124febfa]
bts bp, dx
sbb word [rsp + 2], r8w
adc r10d, 0x2a8f6cb0
lea rbp, [rbp*4 + 0x1192e3bb]
ror r10d, 1
movsx r9d, bp
bt bp, r9w
mov ecx, edx
bswap r10d
shr dl, 0x27
btr r9d, 0xb0
sbb r10d, 0xfc09b334
mov qword [rsp + rcx - 0x64a2e920], rsi
shl edx, 0xac
lea r9, [rdx + r9*4 - 0x337de9f1]
lea r8, [rcx + rbp*8 - 0xe51b649]
xor dword [rsp + rdx - 0x2e900000], r10d
movsx esi, dx
pop rsi
btr r9, r9
sal dl, 0xa3
movsxd r10, r10d
not r9d
setns r9b
adc rdi, r10
jmp fcn.1401f1629
shl byte [rsp + rax*8 + 0x13], 0x47
setp r11b
mov si, word [r10 + rdx - 0x709c0000]
mov ebp, 0xe6ab208e
xor ax, word [rdx + r10 - 0x709bfffe]
not ebp
add cl, byte [r10 + r11 - 0x709c02fd]
lea r10, [r10 + r11 - 0x709c02fd]
shld si, ax, cl
mov eax, 0xad349517
mov word [r10 + r11 - 0x709c0301], si
lea rcx, [r11 + rdi - 0x35e70c56]
call fcn.1401574a7
mul al
pop rdx
xor di, bx
cdqe
bt rax, 0x85
ror di, 1
xor di, 0xfe0e
rol di, 1
add word [rsp + rax + 0xccefc43], r11w
jne 0x140221e6f
jmp 0x1401d9b05

Function at 0x14030094c
Capabilities:
Authenticate hmac

Disassembly:
neg r8b
mov ecx, dword [rbx + r8 - 0xbebebc]
lea rbx, [rbx + r9*8 - 0x2207c]
rol bp, 0x81
xor ecx, esi
add rdx, r9
jnp 0x140212c74
dec al
jmp 0x14027024f
not al
xchg dword [rsp + 1], r8d
sal cl, 0x82
sbb al, 0x84
sal dl, 0x25
neg al
pop rdx
xor sil, al
xchg rcx, rdx
shr cl, 0x23
add rax, rsp
movsx r9d, dx
mov dword [rax + r8 - 0xbebe44], r10d
movsx ebp, r9b
jmp 0x1401519c3
lea rdx, [r8*2 - 0x1564574d]
add r11, 4
movzx eax, byte [rbx]
add rbx, 1
mov qword [rsp], r8
xor al, sil
jmp 0x14020460f
Function at 0x14030bb4a
Capabilities:
Authenticate hmac

Disassembly:
xor dword [rsp + rdx*2 - 0x10602402], eax
neg sil
pop r11
neg ecx
sal rcx, 0xc5
movzx r8d, dx
movsxd rax, eax
xor esi, r9d
inc r8b
adc r10, rax
jmp r10
ror eax, cl
sub r9d, edx
cmovb r9, rcx
not eax
inc eax
not eax
lea rsi, [rbp - 0x614ebc48]
lea r9, [rbp + rbp*2 + 0x310df59a]
bt cx, si
xor eax, 0x592d1186
bt r9d, 0x31
mov qword [rsp + rdx - 0x8301201], 0x3b640a6
btr rsi, 0x3b
mov qword [rsp + rdx - 0x8301201], r11
xchg ebp, esi
jae 0x14015e7d3

Function at 0x14030fa27
Capabilities:
Authenticate hmac

Disassembly:
call fcn.140291211
rol esi, cl
mov qword [rsp + rax - 0x37], r9
xor esi, 0x2ba2d519
rol dword [rsp + rax*8 - 0x1b7], cl
sar r9, 0x92
lea rdx, [rbp*8 + 0x9b5708a]
neg esi
mov qword [rsp + r9 - 0x21e1], r11
neg rax
shr ax, 0xee
inc rcx
xor dword [rsp + r9 - 0x21e1], esi
bts cx, r8w
movsx r11d, cl
pop r11
rol rcx, 0xfc
neg r9d
neg al
movsxd rsi, esi
add rbx, rsi
sub r9w, cx
jg 0x1402a3c2e
lea rdi, [rsi + rdi - 0x6ca956fd]
jmp 0x14020170f
Function at 0x140001290
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, rcx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x50]
call fcn.140002320
nop
cmp qword [rbp + 0x38], 0
jne 0x1400012f9
xor bl, bl
jmp 0x140001482
xor r14d, r14d
cmp qword [rsp + 0x70], r14
jbe 0x140001455
movabs r12, 0x7fffffffffffffff
mov r9d, 0x30
lea r8, [rsp + 0x30]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140001445
cmp dword [rsp + 0x50], 0x1000
jne 0x140001445
mov eax, dword [rsp + 0x58]
cmp eax, 0x20000
je 0x140001356
cmp eax, 0x1000000
jne 0x140001445
xorps xmm0, xmm0
mov rdi, qword [rsp + 0x48]
movdqu xmmword [rbp - 0x70], xmm0
xor esi, esi
mov qword [rbp - 0x60], rsi
test rdi, rdi
je 0x1400013d8
cmp rdi, r12
ja 0x1400014c0
cmp rdi, 0x1000
jb 0x1400013a9
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400014c6
call fcn.140002de0
test rax, rax
je 0x1400014b9
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400013b4
mov rcx, rdi
call fcn.140002de0
mov rbx, rax
mov qword [rbp - 0x70], rbx
lea rsi, [rdi + rbx]
mov qword [rbp - 0x60], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x68], rsi
mov rdi, qword [rsp + 0x48]
jmp 0x1400013dc
mov rbx, qword [rbp - 0x70]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rbx
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000140d
mov r8, qword [rbp - 0x58]
mov rdx, rbx
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
nop
test rbx, rbx
je 0x140001445
sub rsi, rbx
mov rax, rbx
cmp rsi, 0x1000
jb 0x14000143a
add rsi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400014b9
mov rdx, rsi
mov rcx, rbx
call fcn.140002e1c
add r14, qword [rsp + 0x48]
cmp r14, qword [rsp + 0x70]
jb 0x140001311
lea rcx, [rbp - 0x48]
call fcn.140002790
test rax, rax
jne 0x140001480
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov bl, 1
lea rcx, [rbp - 0x50]
call fcn.1400014d0
movzx eax, bl
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140002dc0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140002d40
int3
call fcn.140001110
int3
Function at 0x140001a50
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001a71
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140001a9e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001aa0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001af9
test ecx, ecx
jle 0x140001ad9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001af9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001af9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
mov r9d, r15d
lea rdx, [0x140028848]
mov r8d, eax
lea rcx, [0x140028160]
call 0x1400094b0
test ebx, ebx
jns 0x14000a54f
mov ecx, ebx
call qword [0x14001f800]
mov ecx, eax
call qword [0x14001f510]
test rdi, rdi
je 0x14000a55d
mov rcx, rdi
call qword [0x14001f5e0]
mov eax, esi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call 0x14000b100
mov rbx, qword [rsp + 0x190]
and al, 0x90
add dword [rax], eax
add byte [rax - 0x7f], cl
invalid
push rax
add dword [rax], eax
add byte [rcx + 0x5f], al
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001b20
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140001b42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001b51
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001b74
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001b76
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001bb2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140001c4e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001bed
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140001c2e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140001c4e
cmp rbx, rax
ja 0x140001c00
test rbx, rbx
je 0x140001c4e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
or eax, 0x13df8e8
add byte [rax + 0xfffc], bh
lea rdx, [rsp + 0x20]
push rsp
and al, 0x20
add bx, 0x1f
mov r8, rdi
and bx, ax
mov rcx, r14
movzx r9d, bx
call qword [0x14001f810]
mov ebx, eax
test eax, eax
js 0x14000a51c
mov r9d, ebp
lea rdx, [0x140028848]
mov r8d, r15d
lea rcx, [0x140028160]
mov esi, ebp
call 0x1400094b0
jmp 0x14000a554
call qword [0x14001f5b0]
Function at 0x1400020b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400020dd
xor eax, eax
jmp 0x140002249
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140002117
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140002117
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140002249
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000223c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000215a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140002185
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002241
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400021f4
sub eax, 1
je 0x1400021f4
cmp eax, 2
jne 0x14000223c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002241
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002222
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000223c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002241
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002dc0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400026a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002773
cmp byte [rcx + 0x71], 0
je 0x140002773
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000276f
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_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002734
sub eax, 1
je 0x140002738
cmp eax, 2
jne 0x14000276f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002dc0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002766
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 0x14000276f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000271c
xor al, al
jmp 0x14000271c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002dc0
add rsp, 0x60
pop rbx
ret

Function at 0x140003740
Capabilities:
Parse pe header

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

Function at 0x144677b40
Capabilities:
Encode data using xor

Disassembly:
jmp 0x144677b4a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x144677b73
pop rbp
sub rbp, 0x33
sub rbp, 0x4677b40
sub rsp, 0x20
jmp 0x144677b92
mov rax, 0x4677b40
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffc80fc7e8
xor byte [rax], dl
inc rax
dec rcx
jne 0x144677bb1
jmp 0x144677bc8
movabs al, byte [0xe8e8e8d461630161]
movabs al, byte [0xe9a0e8e8e9e02969]
add dword [rax - 0x1710d7d1], esp
call 0x16e971ccd
shr al, 0xe8
call 0xe4719b8d
jmp 0x128d0df1b