joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140083690
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x1404a40d4], 0
jne 0x140083793
mov r12, r12
xor edx, edx
lea r8, [0x1404a40d0]
nop word [rax + rax]
mov ecx, edx
xchg rdi, rdi
lea r8, [r8 + 4]
and ecx, 1
mov eax, edx
mov r11, r11
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
mov dword [rsp - 0x38], ecx
xor ecx, eax
mov eax, ecx
shr ecx, 1
mov dword [rsp - 0x1c], 0x2c4384d8
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov r9, r9
mov ecx, eax
shr eax, 1
and ecx, 1
mov r10, r10
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
xchg r11, r11
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
mov dword [rsp - 0x28], 0x3bf28698
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xchg rsp, rsp
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
xchg r9, r9
shr ecx, 1
and eax, 1
neg eax
mov dword [rsp - 0x28], esp
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
mov dword [rsp - 0x38], ebx
shr eax, 1
and ecx, 1
neg ecx
mov dword [rsp - 0x24], 0x18f13457
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
xchg rbx, rbx
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rsp - 0x30], 0x306f5f66
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x1400836b3
ret
Function at 0x140088652
Capabilities:
Encode data using xor

Disassembly:
xchg rcx, r14
mov qword [rsp + 8], r14
xchg rcx, r14
nop
push 0x2e0a0dc
mov qword [rsp], rbp
push rsi
mov r8, r8
push r12
nop
mov qword [rsp - 8], r13
sub rsp, 8
nop
mov qword [rsp - 8], r14
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], r15
neg rsp
sub rsp, 0xffffffffffffffd8
neg rsp
mov r14, rdx
mov r13d, r8d
mov dword [rsp - 0x38], 0xb151bc7
mov edx, 0x480a2b0a
add edx, 0x21abfb22
sub edx, 0x28c08f
xor edx, 0x6989659d
cmp r8d, edx
jae 0x1400885e7
mov dword [rsp - 0x18], edi
mov edx, r13d
nop
movabs rcx, 0xffffffff5b895b3d
add rcx, 0x8b864fd
sub rcx, 0x43475e08
add rcx, 0x518d9226
add rcx, 0x7fffffff
add rcx, 0xd780ba8
mov eax, 0x575bce6c
add eax, 0xc266f1f
sub eax, 0x14e93ec5
add eax, 0x16953656
sub eax, 0x652e3518
mul rdx
cmovo rax, rcx
xchg r8, rax
mov rcx, r8
xchg r8, rax
call fcn.140099070
xchg r10, r10
xchg r15, rdx
mov rdx, rax
xchg r15, rdx
mov byte [rsp + 0x70], 0x50
add byte [rsp + 0x70], 0x28
sub byte [rsp + 0x70], 0x14
xor byte [rsp + 0x70], 0x65
xchg r13, rax
mov r13, qword [rsp + 0x60]
xchg r13, rax
lea r12d, [r13 + 0xfffff]
xor esi, esi
shr r12d, 0x12
shr r12d, 1
shr r12d, 1
mov ebp, dword [rax + 0x18]
test r12d, r12d
xchg r13, r13
je 0x1400887b0
mov qword [rsp + 0x68], rbx
mov ecx, 0x344c8e67
add ecx, 0x17e4af0f
add ecx, 0x16deef47
sub ecx, 0x1e273bdb
sub ecx, 0x44d8f0e2
xchg r10, rdi
mov qword [rsp + 0x20], r10
xchg r10, rdi
mov edi, esi
mov ebx, r13d
shl edi, 4
shl edi, 0xf
shl edi, 1
xchg r15, rsp
mov rdx, rsp
xchg r15, rsp
sub ebx, edi
mov dword [rsp - 0x28], 0x43ad931f
cmp ebx, ecx
cmova ebx, ecx
xchg rdx, rax
mov rcx, rdx
xchg rdx, rax
mov r8d, ebx
call fcn.140084f20
xchg rcx, rcx
test al, al
je 0x14008878a
shr ebx, 2
xor eax, eax
mov dword [rsp - 0x34], ebx
shr edi, 1
shr edi, 1
test ebx, ebx
je 0x14008874e
xchg rdx, rdx
xchg r9, r15
mov r15, r9
xchg r15, r9
lea ecx, [rdi + rax]
mov dword [rsp - 0xc], 0x4b15815
mov r8d, ebp
xor r8d, dword [r9]
lea r9, [r9 + 4]
mov dword [rsp - 0xc], 0x7f017c2e
xor r8d, 0x4c8b78f0
inc eax
mov dword [r14 + rcx*4], r8d
xchg rsi, rsi
cmp eax, ebx
jb 0x140088719
xchg rdi, rax
mov rdi, qword [rsp + 0x60]
xchg rdi, rax
inc esi
xchg rdi, rdi
mov ecx, 0x19766942
add ecx, 0x41ce3da3
sub ecx, 0x130b878d
sub ecx, 0x33f3e102
sub ecx, 0x14353e56
cmp esi, r12d
jb 0x1400886b9
xchg rcx, rcx
jmp 0x1400887a3
mov byte [rsp + 0x70], 0x64
sub byte [rsp + 0x70], 0x51
xor byte [rsp + 0x70], 0x2b
add byte [rsp + 0x70], 0x42
xor byte [rsp + 0x70], 0x7a
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x20]
xchg rsp, rsp
xchg rbx, r15
mov rcx, rbx
xchg r15, rbx
call fcn.140099080
mov dword [rsp - 0x30], ecx
movzx eax, byte [rsp + 0x70]
nop
add rsp, 0x7c12aa2
sub rsp, 0x7c12a7a
nop
mov r15, qword [rsp]
add rsp, 8
pop r14
mov r11, r11
nop
add rsp, 8
mov r13, qword [rsp - 8]
pop r12
mov dword [rsp - 0x2c], esi
pop rsi
nop
mov rbp, qword [rsp]
add rsp, 8
ret
Function at 0x140088810
Capabilities:
Encode data using xor

Disassembly:
xchg r14, rbx
mov qword [rsp + 8], r14
xchg rbx, r14
xchg rbp, r13
mov qword [rsp + 0x10], r13
xchg rbp, r13
xchg rsi, r15
mov qword [rsp + 0x20], r15
xchg r15, rsi
nop
push 0x191feddb
mov qword [rsp], rdi
nop
mov qword [rsp - 8], r12
sub rsp, 8
nop
sub rsp, 8
mov qword [rsp], r13
nop
sub rsp, 8
mov qword [rsp], r14
push r15
sub rsp, 0x20
mov rbp, rbp
mov r14d, r8d
xchg rsp, rdx
mov rdi, rsp
xchg rdx, rsp
mov r9d, r14d
mov rdi, rdi
xchg rcx, r13
mov rcx, r13
xchg rcx, r13
cmp r8d, 0x40000
jb 0x1400888a6
xchg r9, r9
mov r9d, 0x24e5845a
add r9d, 0x170db6e5
sub r9d, 0x21d3bab0
sub r9d, 0x1a1b808f
nop
movabs rcx, 0xffffffff61ba4695
xor rcx, 0x349f5203
xor rcx, 0x33a496
add rcx, 0x69633ca
add rcx, 0x7fffffff
add rcx, 0x24531c36
mov eax, 0x6d160239
sub eax, 0x31102f91
xor eax, 0x44cca3ad
xor eax, 0x78c97101
mul r9
cmovo rax, rcx
mov rcx, rax
mov dword [rsp - 0x30], ebp
call fcn.140099070
mov esi, dword [r13 + 0x18]
lea r15d, [r14 + 0xfffff]
mov rsp, rsp
shr r15d, 0x12
shr r15d, 1
shr r15d, 1
xor ebx, ebx
mov rbp, rax
mov dword [rsp - 0x44], 0x73a194c
mov r12b, 0x60
add r12b, 4
xor r12b, 0x28
add r12b, 2
sub r12b, 0x4d
test r15d, r15d
je 0x140088a5d
mov dword [rsp - 0x1c], edi
nop
mov r8d, ebx
mov r10d, r14d
shl r8d, 0xc
shl r8d, 4
shl r8d, 2
shl r8d, 1
shl r8d, 1
xor eax, eax
mov dword [rsp - 0x2c], ecx
sub r10d, r8d
shr r8d, 1
shr r8d, 1
cmp r10d, 0x100000
mov dword [rsp - 0x1c], 0x422de226
jbe 0x1400889c0
mov r10d, 0x430e978f
add r10d, 0x2dbf09d4
xor r10d, 0x53c1de46
xor r10d, 0x51f04f5a
xor r10d, 0x72ec307f
mov r11d, 0x280ad9ba
xor r11d, 0x3fb38443
xor r11d, 0x4567fbe4
xor r11d, 0x52daa61d
jmp 0x1400889dd
mov r11d, r10d
mov dword [rsp - 0x18], 0x3037c0ce
shr r11d, 1
shr r11d, 1
test r11d, r11d
je 0x140088a1d
mov r13, r13
mov r9, rbp
nop dword [rax]
lea edx, [r8 + rax]
mov dword [rsp - 0x30], ebp
mov ecx, esi
xor ecx, dword [rdi + rdx*4]
lea r9, [r9 + 4]
mov dword [rsp - 0xc], 0x27ac6e30
xor ecx, 0x4c8b78f0
inc eax
mov dword [r9 - 4], ecx
cmp eax, r11d
mov dword [rsp - 0xc], 0x60c73f01
jb 0x1400889e7
mov r8d, r10d
xchg rbp, rdx
mov rbp, rdx
xchg rbp, rdx
xchg r13, r10
mov rcx, r10
xchg r13, r10
call fcn.140085390
test al, al
mov dword [rsp - 0x24], 0x4d7225a1
je 0x140088a5a
inc ebx
cmp ebx, r15d
jb 0x140088942
mov rbp, rbp
jmp 0x140088a5d
xor r12b, r12b
xchg r15, rbp
mov rcx, r15
xchg r15, rbp
call fcn.140099080
xchg rsp, rsp
xchg r12, rbx
mov r12, qword [rsp + 0x50]
xchg rbx, r12
movzx eax, r12b
xchg rbp, r8
mov r8, qword [rsp + 0x58]
xchg rbp, r8
xchg r12, rsi
mov r12, qword [rsp + 0x68]
xchg rsi, r12
nop
add rsp, 0x37dc8267
sub rsp, 0x37dc8247
nop
add rsp, 8
mov r15, qword [rsp - 8]
pop r14
nop
add rsp, 8
mov r13, qword [rsp - 8]
nop
add rsp, 8
mov r12, qword [rsp - 8]
pop rdi
mov dword [rsp - 0x34], esi
ret
Function at 0x140088ad0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rax
mov qword [rsp], rsi
push rdi
push r12
mov dword [rsp - 0x10], 0x11a7b8ff
nop
sub rsp, 8
mov qword [rsp], r14
nop
sub rsp, 8
mov qword [rsp], r15
mov eax, 0x22059303
add eax, 0x3dbb7af1
xor eax, 0x600bdcec
sub eax, 0x5d8308b
sub eax, 0x39f2906d
call fcn.14009af40
sub rsp, rax
mov r12, r12
xchg r13, rcx
mov r15, r13
xchg rcx, r13
call fcn.14009ae00
mov ebp, eax
mov dword [rsp - 0x10], ecx
and ebp, 0x3fc
jbe 0x140088b78
lea rdi, [rsp + 0x20]
mov r12, r12
mov esi, ebp
call fcn.14009ae00
movzx ebx, ax
shl ebx, 0xf
shl ebx, 1
call fcn.14009ae00
movzx ecx, ax
xchg rbx, rbx
lea rdi, [rdi + 4]
or ecx, ebx
mov dword [rdi - 4], ecx
sub rsi, 1
xchg r13, r13
jne 0x140088b4a
lea r14d, [rbp*4]
mov eax, 0x479befd6
add eax, 0x29c9c61b
xor eax, 0x6045b19
sub eax, 0x5340eb38
sub eax, 0x242103ac
mov ecx, r14d
mul rcx
pushf
movabs rcx, 0xffffffff11fefbb0
xor rcx, 0x5a958662
sub rcx, 0x17a21c53
add rcx, 0x7fffffff
add rcx, 0x4c369e81
popf
cmovo rax, rcx
mov r10, r10
xchg r13, rax
mov rcx, r13
xchg r13, rax
call fcn.140099070
mov rdx, rdx
mov edi, dword [r15 + 0x18]
lea ebp, [r14 + 0xfffff]
shr ebp, 0xe
shr ebp, 2
shr ebp, 1
shr ebp, 3
xor ebx, ebx
mov rsi, rax
mov r12b, 0x2d
add r12b, 0x34
sub r12b, 0x19
sub r12b, 0x47
test ebp, ebp
je 0x140088d30
mov dword [rsp - 0x3c], edx
nop
mov r8d, ebx
mov r10d, r14d
mov dword [rsp - 0x10], edx
shl r8d, 0x10
shl r8d, 2
shl r8d, 1
shl r8d, 1
xor eax, eax
sub r10d, r8d
mov dword [rsp - 0x10], esp
shr r8d, 1
shr r8d, 1
cmp r10d, 0x100000
mov dword [rsp - 0xc], 0x7bbd2848
jbe 0x140088c9c
mov r10d, 0x2c9f549b
add r10d, 0x34457942
xor r10d, 0x35f9c38f
xor r10d, 0x102cbd19
xor r10d, 0x4521b34b
mov r11d, 0x7cac50bd
add r11d, 0x13c6b03
xor r11d, 0x5dfb29ef
xor r11d, 0x7a242a68
xor r11d, 0x5a33b847
jmp 0x140088cb0
mov r11d, r10d
shr r11d, 2
mov dword [rsp - 0x30], esp
test r11d, r11d
je 0x140088ced
xchg r9, r8
mov r8, rsi
xchg r9, r8
nop dword [rax]
xchg r8, r8
lea edx, [r8 + rax]
mov ecx, edi
xor ecx, dword [rsp + rdx*4 + 0x20]
mov dword [rsp - 0x28], ecx
lea r9, [r9 + 4]
xor ecx, 0x4c8b78f0
inc eax
mov dword [r9 - 4], ecx
mov rdi, rdi
cmp eax, r11d
jb 0x140088cc3
mov r8d, r10d
mov rdx, rsi
mov dword [rsp - 0x44], 0x63ebe345
mov rcx, r15
call fcn.140085390
test al, al
je 0x140088d2a
mov dword [rsp - 0x2c], 0x4caf6b2e
inc ebx
cmp ebx, ebp
jb 0x140088c17
mov dword [rsp - 0xc], 0x691d3d49
jmp 0x140088d30
xor r12b, r12b
mov r13, r13
mov rcx, rsi
call fcn.140099080
lea r11, [rsp + 0x1020]
xchg r8, r8
movzx eax, r12b
mov rbx, qword [r11 + 0x38]
xchg rdx, rbp
mov rdx, qword [r11 + 0x40]
xchg rbp, rdx
xchg r11, rsp
mov r11, rsp
xchg rsp, r11
pop r15
mov dword [rsp - 0xc], esi
nop
mov r14, qword [rsp]
add rsp, 8
pop r12
xchg rdi, rdi
nop
add rsp, 8
mov rdi, qword [rsp - 8]
nop
add rsp, 8
mov rsi, qword [rsp - 8]
ret
Function at 0x14008c1a0
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, rbp
mov qword [rsp + 8], rbp
xchg rbp, rbx
xchg r11, rbp
mov qword [rsp + 0x10], r11
xchg rbp, r11
mov qword [rsp + 0x18], rsi
mov r13, r13
mov qword [rsp + 0x20], rdi
nop
mov qword [rsp - 8], r12
sub rsp, 8
push r13
nop
push 0xf700c41
mov qword [rsp], r14
nop
push 0x7e84a1d0
mov qword [rsp], r15
movsxd rax, r8d
xchg rbx, rbx
xchg r12, rcx
mov r13, r12
xchg r12, rcx
xor ecx, ecx
xchg r12, r15
mov r15, r9
xchg r15, r12
xchg r9, rbx
mov r9, rdx
xchg rbx, r9
mov r10d, ecx
lea r11, [rax + rax*2]
shl r11, 1
shl r11, 1
nop word [rax + rax]
movsxd rax, dword [r12 + r10*4]
xchg r10, r10
mov edi, ecx
xchg rbx, r9
mov rbx, qword [r13 + 8]
xchg rbx, r9
add r9, r11
mov dword [r9 + 8], ecx
mov rdx, rdx
xchg rcx, rax
mov rax, rcx
xchg rcx, rax
and eax, 3
xchg r15, r15
mov qword [r9], 0x2efa07e4
add qword [r9], 0x26b37c47
xor qword [r9], 0x7f58d71c
sub qword [r9], 0x2af55337
lea rsi, [rbx + rax*2]
mov dword [rsp - 0x38], edi
lea rax, [rcx + 1]
and eax, 3
lea r14, [rbx + rax*2]
lea rax, [rcx - 2]
xchg r12, r12
and eax, 3
lea r15, [rbx + rax*2]
lea rax, [rcx - 1]
xchg rdi, rdi
and eax, 3
lea rbp, [rbx + rax*2]
mov eax, 0x4e1b3278
add eax, 0x26a3535
sub eax, 0x1014f93f
sub eax, 0x397b6647
xor eax, 0xac5fa28c
mov ecx, edi
mul edi
mov dword [rsp - 0x24], 0x2deaf43f
inc edi
shr edx, 1
lea eax, [rdx + rdx*2]
mov dword [rsp - 0x1c], 0x172021ff
movzx edx, word [rsi]
sub ecx, eax
and dx, 1
xchg r15, r15
movsxd rax, ecx
mov ecx, dword [r9 + rax*4]
lea r8, [r9 + rax*4]
movzx eax, dx
xchg r12, r12
add ecx, ecx
or ecx, eax
not dx
mov dword [rsp - 0x20], edx
mov dword [r8], ecx
movzx eax, word [rsi]
shl dx, 5
shl dx, 2
shl dx, 6
shl dx, 1
shl dx, 1
shr ax, 1
or dx, ax
mov word [rsi], dx
mov dword [rsp - 0x34], 0x67feced3
movzx edx, word [r14]
mov ecx, dword [r8]
and dx, 1
mov r15, r15
movzx eax, dx
add ecx, ecx
or ecx, eax
not dx
mov dword [rsp - 0x24], 0x64c06c20
mov dword [r8], ecx
movzx eax, word [r14]
shl dx, 0xc
shl dx, 2
shl dx, 1
shr ax, 1
mov dword [rsp - 0x3c], esi
or dx, ax
mov word [r14], dx
movzx edx, word [r15]
mov rbp, rbp
mov ecx, dword [r8]
and dx, 1
movzx eax, dx
mov dword [rsp - 0x28], ebp
add ecx, ecx
or ecx, eax
not dx
mov dword [rsp - 0x10], ebx
mov dword [r8], ecx
movzx eax, word [r15]
shl dx, 0xb
shl dx, 1
shl dx, 1
shl dx, 1
shl dx, 1
shr ax, 1
xchg rsp, rsp
or dx, ax
mov word [r15], dx
movzx edx, word [rbp]
xchg rsi, rsi
mov ecx, dword [r8]
and dx, 1
movzx eax, dx
mov r8, r8
add ecx, ecx
or ecx, eax
not dx
mov dword [r8], ecx
mov r11, r11
movzx eax, word [rbp]
shr ax, 1
shl dx, 3
shl dx, 9
shl dx, 2
shl dx, 1
or dx, ax
xchg rdi, rdi
mov word [rbp], dx
cmp edi, 0xf
jl 0x14008c293
mov r13, r13
inc r10
sub r11, 0xfffffffffffffff4
mov ecx, 0xdd5eaf2
add ecx, 0x5b27e88d
sub ecx, 0x2ee5a1ec
sub ecx, 0x3a183193
cmp r10, 8
jl 0x14008c21e
mov dword [rsp - 0x14], 0x75a8446b
xchg r13, rbx
mov r13, qword [rsp + 0x28]
xchg rbx, r13
mov rbp, qword [rsp + 0x30]
xchg rbp, rbp
xchg r12, rsi
mov r12, qword [rsp + 0x38]
xchg rsi, r12
mov rdi, qword [rsp + 0x40]
mov r9, r9
pop r15
nop
add rsp, 8
mov r14, qword [rsp - 8]
pop r13
nop
mov r12, qword [rsp]
add rsp, 8
ret
Function at 0x14008c790
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, rcx
mov qword [rsp + 8], rcx
xchg rbx, rcx
mov ebx, edx
mov dword [rsp - 0x40], esi
mov r8d, ecx
test ecx, ecx
jne 0x14008c7be
xor eax, eax
mov dword [rsp - 0x40], ebp
xchg rbx, r13
mov r13, qword [rsp + 8]
xchg rbx, r13
ret
xor r10d, r10d
mov r15, r15
mov r11d, r8d
mov edx, r10d
mov r9d, r8d
xchg rbp, rbp
nop dword [rax]
nop word [rax + rax]
lea eax, [r9 + r9]
mov r12, r12
mov ecx, edx
xor ecx, r9d
mov r9d, eax
mov dword [rsp - 0x24], ebx
test r11b, 1
cmove ecx, edx
xor r9d, ebx
mov dword [rsp - 0x44], esp
cmp eax, 0x100
mov edx, ecx
cmovb r9d, eax
shr r11d, 1
mov dword [rsp - 0x24], esp
jne 0x14008c7de
mov r11d, r8d
mov r9d, r10d
mov dword [rsp - 0x38], 0x417116cf
test ecx, ecx
je 0x14008c867
lea eax, [r11 + r11]
mov ecx, r9d
mov dword [rsp - 0x28], 0x45fb8fee
xor ecx, r11d
mov r11d, eax
test dl, 1
cmove ecx, r9d
mov dword [rsp - 0x38], ecx
xor r11d, ebx
cmp eax, 0x100
mov r9d, ecx
cmovb r11d, eax
mov r8, r8
shr edx, 1
jne 0x14008c82d
mov r11d, r9d
xchg r12, r12
mov edx, r10d
test r9d, r9d
je 0x14008c8c0
nop dword [rax]
mov dword [rsp - 0x14], esp
nop word [rax + rax]
lea eax, [r11 + r11]
mov ecx, edx
xor ecx, r11d
mov rbx, rbx
mov r11d, eax
test r9b, 1
cmove ecx, edx
xor r11d, ebx
mov dword [rsp - 0x28], esi
cmp eax, 0x100
mov edx, ecx
cmovb r11d, eax
mov dword [rsp - 0x28], ecx
shr r9d, 1
jne 0x14008c88b
test edx, edx
je 0x14008c908
mov dword [rsp - 0x28], esp
nop word [rax + rax]
mov ecx, r10d
xor ecx, r8d
test dl, 1
xchg rbp, rbp
cmove ecx, r10d
mov r10d, ecx
lea ecx, [r8 + r8]
xchg r8, r8
mov r8d, ecx
xor r8d, ebx
cmp ecx, 0x100
mov dword [rsp - 0x40], esi
cmovb r8d, ecx
shr edx, 1
jne 0x14008c8d2
xchg r14, rbx
mov r14, qword [rsp + 8]
xchg r14, rbx
mov eax, r10d
ret
Function at 0x1404973f0
Capabilities:
Execute syscall

Disassembly:
xchg rcx, r15
mov r10, r15
xchg rcx, r15
mov eax, dword [0x1404a4094]
cmp qword [0x1404a40a8], 0
jne 0x1400895d0
mov dword [rsp - 0x10], 0x61e9b963
syscall
ret
jmp 0x14008a0f7
Function at 0x140001bf5
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
mov rsi, rcx
test rbx, rbx
je 0x140001c38
cmp word [rbx + 0x48], 0
je 0x140001c36
mov rcx, qword [rbx + 0x50]
mov rdx, rsi
call fcn.140001b30
test eax, eax
je 0x140001c31
mov rbx, qword [rbx + 0x20]
jmp 0x140001c38
mov rbx, qword [rbx]
jmp 0x140001c0f
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140001c61
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp word [rcx], 0x5a4d
mov rbx, rcx
mov rdi, rdx
je 0x140001c82
xor eax, eax
jmp 0x140001cec
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001c7e
cmp word [rax + 0x18], 0x20b
mov esi, dword [rax + 0x88]
jne 0x140001c7e
add rsi, rcx
xor ebp, ebp
mov r13d, dword [rsi + 0x20]
mov r14d, dword [rsi + 0x1c]
mov r15d, dword [rsi + 0x24]
cmp ebp, dword [rsi + 0x14]
jae 0x140001c7e
mov eax, ebp
lea rdx, [rax + rax]
lea rax, [rbx + rax*4]
add rdx, rbx
mov ecx, dword [rax + r13]
movzx edx, word [rdx + r15]
add rcx, rbx
lea rdx, [rbx + rdx*4]
mov r12d, dword [rdx + r14]
call fcn.140001530
cmp rdi, rax
jne 0x140001ce8
mov eax, r12d
add rax, rbx
jmp 0x140001cec
inc ebp
jmp 0x140001cb0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140001fc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002de0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002de0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140002030
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400080b4]
mov rbx, rcx
test esi, esi
jle 0x140002160
mov rax, qword [0x1400080b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000207b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002105
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002060
mov rcx, rbx
call fcn.140002a80
mov rdi, rax
test rax, rax
je 0x140002182
mov rax, qword [0x1400080b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002bc0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400080b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002167
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400020fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002110
add dword [0x1400080b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400080b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400020fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001fc0
nop dword [rax]
xor esi, esi
jmp 0x140002088
mov rax, qword [0x1400080b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001fc0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001fc0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400026f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140008100]
test rbx, rbx
je 0x14000274c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002743
test rsi, rsi
je 0x140002743
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002728
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002a80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400053c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002aa0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002aa8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002aa0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002afd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002af4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002aa0
add rax, 0x28
cmp rax, r9
jne 0x140002ae0
xor eax, eax
ret

Function at 0x140002b00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400053c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002b1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002b28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002b1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002bc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400053c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002bdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002be8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14000b5b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x30
and qword [rax + 8], 0
mov r14, r9
xor ebx, ebx
lea r9, [rax + 8]
mov rcx, 0xffffffff80000002
lea r8d, [rbx + 1]
call fcn.14000c808
mov esi, eax
test eax, eax
jns 0x14000b5f6
mov ecx, eax
jmp 0x14000b6b0
and dword [rsp + 0x60], ebx
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, [0x1400232e0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x14000b639
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x14000b669
test rbx, rbx
jne 0x14000b674
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000b66d
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14000b5fa
mov esi, 0x8007000e
mov ecx, esi
jmp 0x14000b6b0
mov esi, 0x8000ffff
jmp 0x14000b669
cmp dword [rsp + 0x58], 0xb
je 0x14000b682
mov esi, 0x8007000d
jmp 0x14000b669
xor ebp, ebp
cmp dword [rsp + 0x60], 8
je 0x14000b69b
mov esi, 0x8007000d
mov ecx, esi
mov ebp, esi
call fcn.140009394
jmp 0x14000b6a1
mov rax, qword [rbx]
mov qword [r14], rax
mov ecx, ebp
call fcn.1400093b0
mov esi, ebp
test ebp, ebp
jns 0x14000b6b5
mov ecx, ebp
call fcn.140009394
mov ecx, esi
call fcn.1400093b0
test rbx, rbx
je 0x14000b6d5
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp qword [rsp + 0x50], 0
je 0x14000b6e8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret