joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180047690
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180164040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
test edx, edx
jne 0x1800476b8
call fcn.180047450
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.1800c2d90
test eax, eax
je 0x1800477ad
cmp edi, 1
jne 0x1800477ef
xor edi, edi
lea r8, [0x180047620]
mov qword [rsp + 0x28], rdi
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180047703
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.18005ec30
mov qword [0x180166bc0], rax
test rax, rax
je 0x1800477ad
movabs rax, 0x4698b83aa204ef01
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xc75c47f1d103d9f5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0x2ffe050e1054f554
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0xc0b9bcfb79bc7a52
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
call fcn.180047800
mov rcx, rax
call fcn.18005ec30
test rax, rax
je 0x1800477ad
mov rcx, rbx
mov qword [0x180166bc8], rbx
call fcn.180045950
test al, al
jne 0x1800477c4
call fcn.180047450
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c2800
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x28], rdi
lea r8, [0x1800475d0]
mov r9, rbx
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800477ef
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1800477af

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rcx, qword [0x180166d30]
mov rbx, rdx
movzx eax, word [rcx + 0x50]
cmp eax, 0xffff
je 0x180048e36
mov rdi, qword [rcx + 0x40]
movabs rbp, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
mov r11d, eax
add r11, r11
mov r10, qword [rdi + r11*8]
test r10, r10
je 0x180048e29
mov r9, qword [r10]
mov r8, rbp
mov rax, r9
cmp byte [r9], 0
je 0x180048df8
nop
inc rax
cmp byte [rax], 0
jne 0x180048df0
mov edx, 0
sub rax, r9
je 0x180048e24
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r9 + rdx]
inc rdx
xor r8, rcx
imul r8, rsi
cmp rdx, rax
jb 0x180048e10
cmp r8, rbx
je 0x180048e4d
movzx eax, word [rdi + r11*8 + 0xa]
cmp eax, 0xffff
jne 0x180048dd1
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
mov rax, r10
jmp 0x180048e38
Function at 0x18004e6b0
Capabilities:
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x180164040]
xor rax, rsp
mov qword [rbp + 0x47], rax
call fcn.18005ec30
mov rcx, rax
test rax, rax
je 0x18004e8e4
movabs rax, 0x2a757c164923946
mov qword [rsp + 0xe8], rbx
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x29]
mov rax, qword [rbp - 0x49]
movabs rbx, 0x6cee32b505f74b05
mov qword [rbp - 0x29], rax
movabs rax, 0xa153ae7daf0d6102
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x49], rbx
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x39], rax
mov qword [rsp + 0xf0], rdi
movabs rdi, 0xa136cd1cc97f0476
mov qword [rbp - 0x49], rdi
mov rax, qword [rbp - 0x49]
movdqa xmm0, xmmword [rbp - 0x29]
mov qword [rbp - 0x31], rax
xorps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x29], xmm0
call fcn.18005ef10
mov rcx, rax
test rax, rax
jne 0x18004e8cc
mov dl, 3
call fcn.18005d400
movabs rax, 0x18ce56d0699e2a63
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x49], rax
movabs rcx, 0xddb4c6f0a2c165ca
mov rax, qword [rbp - 0x49]
mov r8d, edx
mov qword [rbp - 0x19], rax
movabs rax, 0xe214ed68ac182419
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x11], rax
movabs rax, 0x21fa36b65066935d
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 9], rax
movabs rax, 0xba9527f1e383c1cd
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 1], rax
movabs rax, 0x5e2d28bc5a5410e8
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 7], rax
mov qword [rbp - 0x49], rcx
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x49], rbx
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x49], rdi
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x1f], rax
movabs rax, 0x55947fd32407f62f
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x27], rax
movabs rax, 0x9ab7429282e5b3a8
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x2f], rax
movabs rax, 0x5e5e5bd928307489
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x49], rcx
mov rax, qword [rbp - 0x49]
movdqa xmm2, xmmword [rbp - 0x19]
xorps xmm2, xmmword [rbp + 0x17]
movdqa xmm0, xmmword [rbp - 9]
movq rcx, xmm2
movdqa xmm1, xmmword [rbp + 7]
xorps xmm0, xmmword [rbp + 0x27]
mov qword [rbp + 0x3f], rax
lea rax, [rbp - 0x19]
xorps xmm1, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x19], xmm2
movdqa xmmword [rbp - 9], xmm0
movdqa xmmword [rbp + 7], xmm1
test cl, cl
je 0x18004e8ab
nop word [rax + rax]
inc rax
mov r8, rax
cmp byte [rax], 0
jne 0x18004e8a0
xor r9d, r9d
mov qword [rsp + 0x20], 0
sub r8d, edx
lea rdx, [rbp - 0x19]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
jmp 0x18004e8d4
mov eax, dword [rax + 3]
mov rax, qword [rax + rcx + 7]
mov rbx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800c2800
add rsp, 0xd0
pop rbp
ret
Function at 0x1800541f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x180164040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [0x180166b38]
mov rbx, rcx
mov rcx, qword [0x180166b40]
cmp rax, rcx
je 0x18005423c
cmp qword [rax], rbx
je 0x18005422f
add rax, 0x10
cmp rax, rcx
jne 0x180054221
cmp rax, rcx
je 0x18005423c
mov eax, dword [rax + 8]
jmp 0x180054418
mov dl, 3
mov qword [rsp + 0xc8], rdi
call fcn.18005d400
mov rdi, rax
lea rdx, [rsp + 0x40]
movabs rax, 0x18ce56d0699e2a63
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0xce16a972a0192419
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x3af25fa741749049
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xbad32ef7eb8393da
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x2d3f33f940441dfe
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0xddb4c6f0a2e15fa2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x6cee32b505f74b05
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xa136cd1cc97f0476
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x55947fd32407f62f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
movabs rax, 0x9ab7429282e5b3a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
movabs rax, 0x5e5e5bd928307489
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
movabs rax, 0xddb4c6f0a2c165ca
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rsp + 0x40]
xorps xmm2, xmmword [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmm1, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rsp + 0x80]
mov qword [rsp + 0x98], rax
movq rax, xmm2
xorps xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x60], xmm1
test al, al
je 0x1800543e0
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x1800543d5
xor r9d, r9d
mov qword [rsp + 0x20], 0
sub r8d, edx
lea rdx, [rsp + 0x40]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
or word [rdi + 8], 6
mov rdx, rbx
mov rcx, rdi
call fcn.180054480
mov rdi, qword [rsp + 0xc8]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800c2800
add rsp, 0xb0
pop rbx
ret
Function at 0x180054480
Capabilities:
Encrypt data using rc4 ksa
Write file on windows

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x180164040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r9, rdx
xor r11d, r11d
movzx edx, word [rcx + 8]
mov rbx, rcx
mov eax, 0xa
test dl, 4
je 0x1800544bf
lea r8d, [rax + 6]
lea r11, [0x18014eac8]
jmp 0x1800544e1
test dl, 0x10
je 0x1800544cc
mov r8d, 8
jmp 0x1800544e1
mov r8, rax
test dl, 0x20
je 0x1800544e4
mov r8d, 2
lea r11, [0x18014eacc]
mov eax, r8d
mov byte [rsp + 0x72], 0
lea rcx, [rsp + 0x72]
test r9, r9
jne 0x180054502
lea rcx, [rsp + 0x71]
mov byte [rsp + 0x71], 0x30
jmp 0x18005464f
lea r10, [0x180000000]
cmp eax, 0xa
jne 0x1800545b3
cmp r9, 0x64
jb 0x180054579
mov qword [rsp + 0xa0], rdi
movabs rdi, 0x47ae147ae147ae15
nop word [rax + rax]
mov r8, r9
mov rax, rdi
mul r9
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 6
imul rax, r8, 0x64
sub r9, rax
movzx eax, byte [r10 + r9*2 + 0x118bb1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r10 + r9*2 + 0x118bb0]
mov r9, r8
mov byte [rcx], al
cmp r8, 0x64
jae 0x180054530
mov rdi, qword [rsp + 0xa0]
dec rcx
mov rdx, rcx
cmp r9, 0xa
jae 0x180054595
movzx eax, byte [r9 + r10 + 0x14e9d8]
mov byte [rcx], al
jmp 0x18005464f
movzx eax, byte [r10 + r9*2 + 0x118bb0]
dec rcx
mov byte [rcx], al
movzx eax, byte [r10 + r9*2 + 0x118bb1]
mov byte [rdx], al
jmp 0x18005464f
cmp eax, 0x10
jne 0x180054631
cmp r9, 0x100
jb 0x1800545fd
nop dword [rax]
nop word [rax + rax]
movzx eax, r9b
shr r9, 8
lea rdx, [rax*2 + 0x1189a0]
movzx eax, byte [rdx + r10 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [rdx + r10]
mov byte [rcx], al
cmp r9, 0x100
jae 0x1800545d0
dec rcx
mov rdx, rcx
cmp r9, 0x10
jae 0x180054616
movzx eax, byte [r9 + r10 + 0x14e9d8]
mov byte [rcx], al
jmp 0x18005464f
movzx eax, byte [r10 + r9*2 + 0x1189a0]
dec rcx
mov byte [rcx], al
movzx eax, byte [r10 + r9*2 + 0x1189a1]
mov byte [rdx], al
jmp 0x18005464f
xor edx, edx
mov rax, r9
div r8
dec rcx
mov r9, rax
movzx eax, byte [rdx + r10 + 0x14e9d8]
mov byte [rcx], al
test r9, r9
jne 0x180054631
test r11, r11
je 0x18005466c
test byte [rbx + 8], 2
je 0x18005466c
movzx eax, byte [r11 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r11]
mov byte [rcx], al
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x72]
mov rdx, rcx
sub r8d, ecx
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800c2800
add rsp, 0x90
pop rbx
ret
Function at 0x1800550c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov r8d, ecx
test r9d, r9d
je 0x1800550d5
lea eax, [r9 - 2]
cmp eax, 0x22
jbe 0x1800550d5
mov rax, rdx
ret
mov r11d, r8d
mov byte [rdx + 0x40], 0
mov eax, r8d
shr r11d, 0x1f
neg eax
lea rcx, [rdx + 0x40]
test r11b, r11b
cmovne r8d, eax
test r8d, r8d
jne 0x1800550ff
dec rcx
mov rax, rcx
mov byte [rcx], 0x30
ret
cmp r9d, 0xa
jne 0x180055195
lea r9, [0x180118bb0]
cmp r8d, 0x64
jb 0x180055150
nop word [rax + rax]
mov eax, 0x51eb851f
mul r8d
shr edx, 5
imul eax, edx, 0x64
sub r8d, eax
add r8d, r8d
movzx eax, byte [r8 + r9 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r8 + r9]
mov r8d, edx
mov byte [rcx], al
cmp edx, 0x64
jae 0x180055120
dec rcx
cmp r8d, 0xa
jae 0x18005516a
mov eax, r8d
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
movzx eax, byte [rax + r10]
jmp 0x180055180
lea eax, [r8 + r8]
mov edx, eax
movzx eax, byte [rax + r9 + 1]
mov byte [rcx], al
dec rcx
movzx eax, byte [rdx + r9]
mov byte [rcx], al
test r11b, r11b
je 0x180055239
dec rcx
mov rax, rcx
mov byte [rcx], 0x2d
ret
cmp r9d, 0x10
jne 0x180055210
lea r9, [0x1801189a0]
cmp r8d, 0x100
jb 0x1800551d9
nop dword [rax + rax]
movzx eax, r8b
add eax, eax
shr r8d, 8
mov edx, eax
movzx eax, byte [rax + r9 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [rdx + r9]
mov byte [rcx], al
cmp r8d, 0x100
jae 0x1800551b0
dec rcx
cmp r8d, 0x10
jae 0x1800551f4
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
movzx eax, byte [r8 + r10]
mov byte [rcx], al
mov rax, rcx
ret
lea eax, [r8 + r8]
mov edx, eax
movzx eax, byte [rax + r9 + 1]
mov byte [rcx], al
dec rcx
movzx eax, byte [rdx + r9]
mov byte [rcx], al
mov rax, rcx
ret
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
nop word [rax + rax]
xor edx, edx
mov eax, r8d
div r9d
dec rcx
mov r8d, eax
movzx edx, byte [rdx + r10]
mov byte [rcx], dl
test eax, eax
jne 0x180055220
mov rax, rcx
ret
Function at 0x18005b400
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x18
movsxd rsi, dword [rsp + 0x58]
mov r11, rdx
mov qword [rsp + 0x30], rbx
mov r10, rcx
mov qword [rsp + 0x38], rdi
mov rbp, rdx
lea rdi, [r8 - 1]
mov qword [rsp + 0x40], r12
sar rdi, 1
mov rbx, rdx
mov qword [rsp + 8], r14
mov r14, r8
cmp rdx, rdi
jge 0x18005b4b1
mov qword [rsp + 0x10], r13
mov r13d, 0x30
mov qword [rsp], r15
nop word [rax + rax]
lea rdx, [rbx + rbx]
lea rax, [rdx + rdx*2]
lea r8, [r10 + rax*8]
movss xmm0, dword [rsi + r8 + 0x30]
lea rax, [r11 + r11*2]
comiss xmm0, dword [rsi + r8 + 0x18]
seta cl
movzx ebx, cl
xor rbx, 1
inc rbx
add rbx, rdx
mov edx, 0x18
test cl, cl
mov r11, rbx
cmove rdx, r13
movups xmm0, xmmword [rdx + r8]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [rdx + r8 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
cmp rbx, rdi
jl 0x18005b450
mov r15, qword [rsp]
mov r13, qword [rsp + 0x10]
cmp rbx, rdi
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
jne 0x18005b4eb
test r14b, 1
jne 0x18005b4eb
lea rax, [r11 + r11*2]
lea rcx, [r14 + r14*2]
movups xmm0, xmmword [r10 + rcx*8 - 0x18]
lea r11, [r14 - 1]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r10 + rcx*8 - 8]
movsd qword [r10 + rax*8 + 0x10], xmm1
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x40]
cmp rbp, r11
jge 0x18005b540
movsxd r8, dword [rsp + 0x60]
nop
lea rcx, [r11 - 1]
sar rcx, 1
lea rdx, [rcx + rcx*2]
lea rax, [rsi + rdx*8]
movss xmm0, dword [rax + r10]
comiss xmm0, dword [r8 + r9]
jbe 0x18005b540
lea rax, [r11 + r11*2]
mov r11, rcx
movups xmm0, xmmword [r10 + rdx*8]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r10 + rdx*8 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
cmp rbp, rcx
jl 0x18005b500
movups xmm0, xmmword [r9]
lea rax, [r11 + r11*2]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r9 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
add rsp, 0x18
pop rsi
pop rbp
ret
Function at 0x18005d400
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x180164040]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor esi, esi
movzx ecx, dl
mov word [0x180165048], si
mov edi, esi
sub ecx, 1
je 0x18005d453
sub ecx, 1
je 0x18005d44a
cmp ecx, 1
jne 0x18005d45a
lea rdi, str._error_
jmp 0x18005d45a
lea rdi, str._warning_
jmp 0x18005d45a
lea rdi, str._info_
xor ecx, ecx
call fcn.1800d4bb8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call fcn.1800d4bb0
movzx ebx, byte [0x180165040]
lea r9, [rsp + 0x38]
lea r8, str._n__d__m__Y__T_
mov edx, 0x20
lea rcx, [rsp + 0x60]
call fcn.1800546b0
xor r9d, r9d
mov qword [rsp + 0x20], rsi
sub rax, rbx
lea rdx, [rsp + 0x60]
add rdx, rbx
mov r8d, eax
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x104
call fcn.1800eb610
lea r8, [rsp + 0x80]
test rdi, rdi
je 0x18005d502
movzx eax, byte [rdi]
lea r8, [rsp + 0x80]
test al, al
je 0x18005d4ff
sub rdi, r8
nop dword [rax + rax]
mov byte [r8], al
inc r8
movzx eax, byte [rdi + r8]
test al, al
jne 0x18005d4f0
mov byte [r8], sil
cmp byte [rsp + 0x80], sil
je 0x18005d531
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea rax, [rsp + 0x80]
sub r8d, eax
lea rdx, [rsp + 0x80]
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [0x180165040], sil
lea rax, [0x180165040]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800c2800
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18005d570
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x40
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], r14
mov rax, qword [0x180164040]
xor rax, rbp
mov qword [rbp], rax
movzx eax, word [rdx]
xor ebx, ebx
mov rdi, rdx
mov r14, rcx
test ax, ax
je 0x18005d5d7
mov ecx, 0x80
mov r8d, 0x800
lea rdx, [rdx + 2]
cmp ax, cx
jae 0x18005d5c4
mov eax, 1
jmp 0x18005d5cd
cmp ax, r8w
sbb eax, eax
add eax, 3
add ebx, eax
movzx eax, word [rdx]
test ax, ax
jne 0x18005d5b4
xor edx, edx
movsxd rsi, ebx
lea rax, [rsi + 1]
lea rcx, [rax + 0x10]
cmp rcx, rax
cmova rdx, rcx
test rdx, rdx
je 0x18005d64b
cmp rdx, 0x400
ja 0x18005d62f
lea rax, [rdx + 0xf]
cmp rax, rdx
ja 0x18005d60c
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1800c3140
sub rsp, rax
lea r10, [rsp + 0x30]
test r10, r10
je 0x18005d64e
mov dword [r10], 0xcccc
add r10, 0x10
jmp 0x18005d64e
mov rcx, rdx
call fcn.1800d48a8
mov r10, rax
test rax, rax
je 0x18005d64e
mov dword [rax], 0xdddd
add r10, 0x10
jmp 0x18005d64e
xor r10d, r10d
lea r9, [r10 + rsi]
mov rcx, r10
cmp r10, r9
jae 0x18005d686
nop word [rax + rax]
movzx eax, word [rdi]
test ax, ax
je 0x18005d686
lea rdx, [r9 + 1]
mov r8d, eax
sub rdx, rcx
add rdi, 2
dec rdx
call fcn.18005d340
add rcx, rax
cmp rcx, r9
jb 0x18005d660
xor r9d, r9d
mov byte [rcx], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, r10
lea rcx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, r14
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1800c2800
mov rbx, qword [rbp + 0x20]
mov rsi, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
mov r14, qword [rbp + 0x38]
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x180072630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2d8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.180061230
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x180072686
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1800726dd
mov ebp, 0x4b0000
jmp 0x1800726eb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.180063770
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x180072701
mov eax, r12d
jmp 0x18007270a
mov edx, edi
mov ecx, ebp
call fcn.180063770
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x180072726
shl esi, 0x10
mov ecx, esi
jmp 0x180072815
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x180072784
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.180061230
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x180072774
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.180063640
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.180061230
add ebx, eax
jmp 0x18007281e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x180072791
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1800727d0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.180061230
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1800727d5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.180063640
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.180061230
add ebx, eax
jmp 0x18007281e
cmp eax, r12d
jge 0x18007280e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.180061230
sub ebp, eax
sub r15d, esi
je 0x18007280e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.180063640
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.180061230
add ebx, eax
jmp 0x18007281e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.180061230
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.180061230
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800ab030
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x1800ab17b
movzx r10d, r14w
mov edi, r14d
mov r8, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + r8]
call fcn.1800ab4f0
test al, al
jne 0x1800ab216
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1800ab10b
cmp edx, dword [rbx + 0x60]
jl 0x1800ab10b
cmp edx, dword [rbx + 0x64]
jg 0x1800ab10b
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1800ab10b
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1800ab10b
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1800ab12e
test byte [r9 + 0x18], 8
je 0x1800ab12e
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1800ab13f
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1800abeb0
test al, al
jne 0x1800ab216
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1800ab162
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x1800ab094
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1800ab21a
test rdx, rdx
je 0x1800ab21a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1800ab1b8
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1800ab1bb
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1800ab1d6
dec r11d
add r11d, eax
jmp 0x1800ab1ed
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1800ac180
test al, al
jne 0x1800ab216
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1800ac180
test al, al
jne 0x1800ab216
mov rdx, qword [rsi]
add di, bp
jne 0x1800ab1a0
jmp 0x1800ab21e
mov al, 1
jmp 0x1800ab229
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret