joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ed580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x9a8]
cmp r12, qword [r14 + 0x10]
jbe 0x5ed6d3
sub rsp, 0xa28
mov qword [rsp + 0xa20], rbp
lea rbp, [rsp + 0xa20]
movabs rdx, 0x2c6d7558d7df7263
mov qword [rsp + 0x19], rdx
movabs rdx, 0x684b734e636fc270
mov qword [rsp + 0x21], rdx
lea rdi, [rsp + 0x28]
lea rsi, [0x0066d138]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00456708
mov rbp, qword [rbp]
movabs rdx, 0x2210058011402d8
mov qword [rsp + 0x368], rdx
lea rdi, [rsp + 0x370]
lea rsi, [0x006d0090]
mov ecx, 0xd6
rep movsq qword [rdi], qword [rsi]
xor eax, eax
nop
jmp 0x5ed640
movzx r9d, byte [rsp + rsi + 0x19]
sub r9d, edx
lea edx, [r9 + 0x31]
mov byte [rsp + rdi + 0x19], dl
lea edx, [r8 + 0x31]
mov byte [rsp + rsi + 0x19], dl
add rax, 2
nop
cmp rax, 0x35c
jge 0x5ed68b
movzx edx, word [rsp + rax*2 + 0x368]
lea rsi, [rax + 1]
cmp rsi, 0x35c
jae 0x5ed6c5
movzx esi, word [rsp + rax*2 + 0x36a]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x34f
jae 0x5ed6b8
movzx r8d, byte [rsp + rdi + 0x19]
sub r8d, edx
nop dword [rax]
cmp rsi, 0x34f
jb 0x5ed622
jmp 0x5ed6ac
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 0x34f
call fcn.00443880
mov rbp, qword [rsp + 0xa20]
add rsp, 0xa28
ret
mov eax, esi
mov ecx, 0x34f
call fcn.00456360
mov eax, edi
mov ecx, 0x34f
nop
call fcn.00456360
mov rax, rsi
mov ecx, 0x35c
call fcn.00456360
nop
call fcn.00453c40
jmp fcn.005ed580

Function at 0x5ed740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5ed815
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
mov dword [rsp + 0x1a], 0x6693a101
mov word [rsp + 0x1e], 0x10a
movabs rdx, 0x505040004020401
mov qword [rsp + 0x20], rdx
xor eax, eax
jmp 0x5ed794
movzx r9d, byte [rsp + rsi + 0x1a]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x60]
mov byte [rsp + rdi + 0x1a], dl
mov byte [rsp + rsi + 0x1a], r8b
add rax, 2
cmp rax, 8
jge 0x5ed7d0
movzx edx, byte [rsp + rax + 0x20]
lea rsi, [rax + 1]
cmp rsi, 8
jae 0x5ed807
movzx esi, byte [rsp + rax + 0x21]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 6
jae 0x5ed7fb
movzx r8d, byte [rsp + rdi + 0x1a]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x60]
cmp rsi, 6
jb 0x5ed77a
jmp 0x5ed7ef
xor eax, eax
lea rbx, [rsp + 0x1a]
mov ecx, 6
nop dword [rax]
call fcn.00443880
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
mov eax, esi
mov ecx, 6
call fcn.00456360
mov eax, edi
mov ecx, 6
call fcn.00456360
mov rax, rsi
mov ecx, 8
call fcn.00456360
nop
call fcn.00453c40
jmp fcn.005ed740
Function at 0x5eec60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5eed35
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
mov dword [rsp + 0x19], 0xe059a0f
mov dword [rsp + 0x1c], 0x9b2e310e
movabs rdx, 0x106000106030201
mov qword [rsp + 0x20], rdx
xor eax, eax
jmp 0x5eecb8
movzx r9d, byte [rsp + rsi + 0x19]
sub r9d, edx
lea edx, [r9 - 0x66]
mov byte [rsp + rdi + 0x19], dl
lea edx, [r8 - 0x66]
mov byte [rsp + rsi + 0x19], dl
add rax, 2
cmp rax, 8
jge 0x5eecef
movzx edx, byte [rsp + rax + 0x20]
lea rsi, [rax + 1]
cmp rsi, 8
jae 0x5eed27
movzx esi, byte [rsp + rax + 0x21]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 7
jae 0x5eed1b
movzx r8d, byte [rsp + rdi + 0x19]
sub r8d, edx
cmp rsi, 7
jb 0x5eec9b
jmp 0x5eed0f
xor eax, eax
lea rbx, [rsp + 0x19]
mov ecx, 7
nop dword [rax + rax]
call fcn.00443880
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
mov eax, esi
mov ecx, 7
call fcn.00456360
mov eax, edi
mov ecx, 7
call fcn.00456360
mov rax, rsi
mov ecx, 8
call fcn.00456360
nop
call fcn.00453c40
jmp fcn.005eec60

Function at 0x5ef780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x5ef934
sub rsp, 0x98
mov qword [rsp + 0x90], rbp
lea rbp, [rsp + 0x90]
movabs rdx, 0x6b50a55375e0f453
mov qword [rsp + 0x1f], rdx
movabs rdx, 0xaaca937265e1d76b
mov qword [rsp + 0x26], rdx
movabs rdx, 0x6ce89dd48a172065
mov qword [rsp + 0x2e], rdx
movabs rdx, 0xccd5bd746e6fea65
mov qword [rsp + 0x36], rdx
movabs rdx, 0x65a56cac46afbea4
mov qword [rsp + 0x3e], rdx
movabs rdx, 0xcf891d85e663b2a1
mov qword [rsp + 0x46], rdx
movabs rdx, 0x64a76c62c3905644
mov qword [rsp + 0x4e], rdx
movabs rdx, 0x802031411040807
mov qword [rsp + 0x56], rdx
movabs rdx, 0x709281313011131
mov qword [rsp + 0x5e], rdx
movabs rdx, 0x312e070928131301
mov qword [rsp + 0x60], rdx
movabs rdx, 0x251f182b23192c2a
mov qword [rsp + 0x68], rdx
movabs rdx, 0x2a0e23301d2b1e0d
mov qword [rsp + 0x70], rdx
movabs rdx, 0x3015323535142709
mov qword [rsp + 0x78], rdx
movabs rdx, 0x4231225152d1c2b
mov qword [rsp + 0x80], rdx
movabs rdx, 0x20270c2b30210405
mov qword [rsp + 0x88], rdx
xor eax, eax
jmp 0x5ef8ab
movzx r9d, byte [rsp + rsi + 0x1f]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x75]
mov byte [rsp + rdi + 0x1f], dl
mov byte [rsp + rsi + 0x1f], r8b
add rax, 2
cmp rax, 0x3a
jge 0x5ef8ed
movzx edx, byte [rsp + rax + 0x56]
lea rsi, [rax + 1]
nop word [rax + rax]
cmp rsi, 0x3a
jae 0x5ef926
movzx esi, byte [rsp + rax + 0x57]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x37
jae 0x5ef91a
movzx r8d, byte [rsp + rdi + 0x1f]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x75]
cmp rsi, 0x37
jb 0x5ef891
jmp 0x5ef90e
xor eax, eax
lea rbx, [rsp + 0x1f]
mov ecx, 0x37
call fcn.00443880
mov rbp, qword [rsp + 0x90]
add rsp, 0x98
ret
mov eax, esi
mov ecx, 0x37
call fcn.00456360
mov eax, edi
mov ecx, 0x37
call fcn.00456360
mov rax, rsi
mov ecx, 0x3a
call fcn.00456360
nop
call fcn.00453c40
jmp fcn.005ef780
Function at 0x5f04a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5f057f
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
movabs rdx, 0x913d8fbdb7ca6e8f
mov qword [rsp + 0x26], rdx
mov word [rsp + 0x2e], 0x738a
movabs rdx, 0x407030807020304
mov qword [rsp + 0x1c], rdx
mov word [rsp + 0x24], 5
xor eax, eax
jmp 0x5f0502
movzx r9d, byte [rsp + rsi + 0x26]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x37]
mov byte [rsp + rdi + 0x26], dl
mov byte [rsp + rsi + 0x26], r8b
add rax, 2
cmp rax, 0xa
jge 0x5f053e
movzx edx, byte [rsp + rax + 0x1c]
lea rsi, [rax + 1]
cmp rsi, 0xa
jae 0x5f0571
movzx esi, byte [rsp + rax + 0x1d]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0xa
jae 0x5f0565
movzx r8d, byte [rsp + rdi + 0x26]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x37]
cmp rsi, 0xa
jb 0x5f04e8
jmp 0x5f0559
xor eax, eax
lea rbx, [rsp + 0x26]
mov ecx, 0xa
call fcn.00443880
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov eax, esi
mov ecx, 0xa
call fcn.00456360
mov eax, edi
mov ecx, 0xa
call fcn.00456360
mov rax, rsi
mov ecx, 0xa
call fcn.00456360
nop
nop
call fcn.00453c40
jmp fcn.005f04a0

Function at 0x5f08a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5f097f
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
movabs rdx, 0x6c6ccc3231d6d22e
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x403010105050004
mov qword [rsp + 0x24], rdx
mov dword [rsp + 0x2c], 0x204
xor eax, eax
jmp 0x5f0900
movzx r9d, byte [rsp + rsi + 0x1c]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x6d]
mov byte [rsp + rdi + 0x1c], dl
mov byte [rsp + rsi + 0x1c], r8b
add rax, 2
nop dword [rax]
cmp rax, 0xc
jge 0x5f093c
movzx edx, byte [rsp + rax + 0x24]
lea rsi, [rax + 1]
cmp rsi, 0xc
jae 0x5f0971
movzx esi, byte [rsp + rax + 0x25]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 8
jae 0x5f0965
movzx r8d, byte [rsp + rdi + 0x1c]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x6d]
cmp rsi, 8
jb 0x5f08e2
jmp 0x5f0957
xor eax, eax
lea rbx, [rsp + 0x1c]
mov ecx, 8
call fcn.00443880
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov eax, esi
mov ecx, 8
nop
call fcn.00456360
mov eax, edi
mov ecx, 8
call fcn.00456360
mov rax, rsi
mov ecx, 0xc
call fcn.00456360
nop
nop
call fcn.00453c40
jmp fcn.005f08a0
Function at 0x5f19e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5f1aff
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
movabs rdx, 0x1c35763841fb0322
mov qword [rsp + 0x18], rdx
movabs rdx, 0x5607b4231c357638
mov qword [rsp + 0x1c], rdx
movabs rdx, 0x18036cc7681aebb1
mov qword [rsp + 0x24], rdx
movabs rdx, 0xd0b02070b070c10
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x702081001130105
mov qword [rsp + 0x34], rdx
movabs rdx, 0x40b0a0607020810
mov qword [rsp + 0x38], rdx
movabs rdx, 0x70c0e1207131209
mov qword [rsp + 0x40], rdx
xor eax, eax
jmp 0x5f1a80
movzx r9d, byte [rsp + rsi + 0x18]
lea edx, [r9 + rdx]
lea edx, [rdx + 0x1e]
mov byte [rsp + rdi + 0x18], dl
mov byte [rsp + rsi + 0x18], r8b
add rax, 2
nop
cmp rax, 0x1c
jge 0x5f1abc
movzx edx, byte [rsp + rax + 0x2c]
lea rsi, [rax + 1]
cmp rsi, 0x1c
jae 0x5f1af1
movzx esi, byte [rsp + rax + 0x2d]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x14
jae 0x5f1ae5
movzx r8d, byte [rsp + rdi + 0x18]
lea r8d, [r8 + rdx]
lea r8d, [r8 + 0x1e]
cmp rsi, 0x14
jb 0x5f1a65
jmp 0x5f1ad7
xor eax, eax
lea rbx, [rsp + 0x18]
mov ecx, 0x14
call fcn.00443880
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov eax, esi
mov ecx, 0x14
nop
call fcn.00456360
mov eax, edi
mov ecx, 0x14
call fcn.00456360
mov rax, rsi
mov ecx, 0x1c
call fcn.00456360
nop
nop
call fcn.00453c40
jmp fcn.005f19e0

Function at 0x5f8090
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x50
syscall
ret

Function at 0x5f809b
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x55
syscall
ret

Function at 0x5f8160
Capabilities:
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, 0x38
movsxd rax, dword [r8 + 0x3c]
mov r13d, dword [r8 + rax + 0x88]
mov r14, rdx
mov rsi, rcx
mov rbx, r8
add r13, r8
mov edi, dword [r13 + 0x18]
mov edx, dword [r13 + 0x20]
test edi, edi
mov qword [rsp + 0x28], rdx
je 0x5f820b
call fcn.005faf48
mov rdx, qword [rsp + 0x28]
lea r12d, [rdi - 1]
xor r15d, r15d
mov rbp, rax
lea rdi, [rbx + rdx]
jmp 0x5f81bf
lea rax, [r15 + 1]
cmp r12, r15
je 0x5f820b
mov r15, rax
mov ecx, dword [rdi + r15*4]
mov r8, rbp
mov rdx, rsi
add rcx, rbx
call fcn.005faf40
test eax, eax
jne 0x5f81b3
mov eax, dword [r13 + 0x24]
lea rdx, [rbx + r15*2]
movzx edx, word [rdx + rax]
mov eax, dword [r13 + 0x1c]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rbx, rax
mov rax, qword [rbx]
mov qword [r14], rax
mov rax, qword [rbx + 8]
cmp byte [r14], 0x4c
mov qword [r14 + 8], rax
mov rax, qword [rbx + 0x10]
mov qword [r14 + 0x10], rax
je 0x5f8220
xor eax, eax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r14 + 1], 0x8b
jne 0x5f820b
cmp byte [r14 + 2], 0xd1
jne 0x5f820b
cmp byte [r14 + 3], 0xb8
mov eax, 1
jne 0x5f820b
jmp 0x5f820d
Function at 0x5fa9b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x007b9d80]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x5faa1d
mov rcx, r8
call fcn.005fa890
test eax, eax
je 0x5faa1d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x5faa1d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x5faa14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x5faa1f
add rax, 0x28
cmp rax, r9
jne 0x5faa00
xor eax, eax
add rsp, 0x28
ret
Function at 0x14002982c
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.14001ce24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002997c
cmp rax, 0xffffffffffffffff
je 0x14002997c
xor edi, edi
test rbp, rbp
jle 0x140029927
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f738
mov rbx, rax
test rax, rax
jne 0x1400298b4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002991d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a758
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.14001db00
cmp eax, 0xffffffff
je 0x1400298fd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400298c4
mov edx, r15d
mov ecx, r14d
call fcn.14001a758
jmp 0x14002991d
cmp byte [rsi + 0x38], dil
je 0x140029914
cmp dword [rsi + 0x34], 5
jne 0x140029914
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002991d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b4ec
jmp 0x140029990
jns 0x140029990
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce24
cmp rax, 0xffffffffffffffff
jne 0x140029948
cmp byte [rsi + 0x30], dil
je 0x140029990
mov edi, dword [rsi + 0x2c]
jmp 0x140029990
mov ecx, r14d
call fcn.140018c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029990
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 0x140029990
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029989
mov eax, dword [rsi + 0x2c]
jmp 0x14002998e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce24
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 0x14002aa80
Capabilities:
Parse pe header

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

Function at 0x1806ec39a
Capabilities:
Encode data using xor

Disassembly:
movabs rdx, 0x145859bd1bfe4e1f
not dx
pushfq
xor dl, dh
add dl, dh
jle 0x1806ec3a4
mov rdx, qword [rsp + 0x10]
mov qword [rsp + 0x10], 0xffffffff9a6b4b82
call fcn.1806c0757
out dx, al
cmp ebx, eax
xchg byte [rsi], dl
invalid
Function at 0x141146058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1411461df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141146089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14114606f
add dl, dl
jne 0x141146096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411460f6
xor eax, eax
add dl, dl
jne 0x1411460a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411461ad
add dl, dl
jne 0x1411460b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411460c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411460d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411460dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1411460ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14114607e
mov eax, 1
add dl, dl
jne 0x141146106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141146113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411460fb
sub eax, ebx
mov ebx, 1
jne 0x14114614c
mov ecx, 1
add dl, dl
jne 0x14114612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14114613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141146123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141146168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141146175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14114615d
cmp eax, 0x7d00
jae 0x14114619b
cmp eax, 0x500
jb 0x141146196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114607e
cmp eax, 0x7f
ja 0x14114619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14114607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1411461d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14114607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001870
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
push rcx
nop
pop rbx
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.1400074f0
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.1400074f0
push rbx
nop
pop rdx
push rax
pop rcx
nop
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400018e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e104]
push rcx
pop rbx
nop
or esi, esi
jle 0x140001a10
mov rax, qword [0x14000e108]
sub r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000192b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400019b5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001910
push rbx
pop rcx
nop
call fcn.140002330
nop
push rax
pop rdi
or rax, rax
je 0x140001a32
mov rax, qword [0x14000e108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002470
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
or rax, rax
je 0x140001a17
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400019ae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400019c0
add dword [0x14000e104], 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 [0x14000e108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
or eax, eax
jne 0x1400019ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001870
nop dword [rax]
sub esi, esi
jmp 0x140001938
mov rax, qword [0x14000e108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001870
nop
push rbx
pop rdx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001870
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140001fa0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000e160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e140]
or rbx, rbx
je 0x140001ffc
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
push rax
nop
pop rsi
call rdi
or eax, eax
jne 0x140001ff3
or rsi, rsi
je 0x140001ff3
mov rax, qword [rbx + 8]
push rsi
nop
pop rcx
call rax
mov rbx, qword [rbx + 0x10]
or rbx, rbx
jne 0x140001fd8
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 0x140002330
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a920]
sub eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002350
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002358
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002350
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
or r8w, r8w
je 0x1400023ad
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 0x1400023a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002350
add rax, 0x28
cmp rax, r9
jne 0x140002390
sub eax, eax
ret

Function at 0x1400023b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a920]
sub ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002470
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a920]
sub edx, edx
cmp word [rax], 0x5a4d
jne 0x14000248f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002498
push rdx
pop rax
nop
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
push rdx
nop
pop rax
ret
Function at 0x140f3b8fd
Capabilities:
Encode data using xor

Disassembly:
lea rax, [0x140f42498]
lea rsp, [rsp + 8]
mov edi, 0x4a91f338
not di
movzx edi, byte [r10 + rdi - 0x4a910cc7]
push 0xffffffff930eb432
xor edi, ecx
and edi, 0xff
mov edi, dword [rax + rdi*4]
dec word [rsp]
shr ecx, 8
xor ecx, edi
inc r10
xor ecx, 0xe2813816
dec rdx
lea rsp, [rsp + 8]
jne 0x140f3b909
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x1400130e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014430
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014450
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014463
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001448d
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144a1
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144b3
xor al, al
jmp 0x1400144d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144cf
xor al, al
jmp 0x1400144d1
mov al, 1
add rsp, 0x38
ret