joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800174e0
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180017526
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x180017522
mov al, 1
jmp 0x180017526
jmp 0x180017526
add rsp, 0x20
pop rbx
ret

Function at 0x180017690
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x1800176b7
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.1800174e0
lea rdx, str..utf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor eax, eax
lea r8, [0x180017530]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x18001cb10
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x18001cc70
test r8, r8
je 0x18001cc70
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x18001cc70
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.180054450
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x18001cb70
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x18001cbbd
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x18001cb90
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x18001cc54
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x18001cc04
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x18001cc25
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [r14 + rdi]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x18001cbf0
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.18005434c
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x18001cc72
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x18001fd10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001fd6d
lea rbx, [0x18005c150]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001fd54
cmp r10, 2
jb 0x18001fd54
cmp byte [r9], r8b
jne 0x18001fd54
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18001fd30
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001fdaf
lea rbx, [0x18005c150]
cmp r8b, 0x23
jne 0x18001fd93
cmp byte [r9], r8b
jne 0x18001fd93
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18001fd80
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001ff10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001ff2a
mov qword [r8], 0
lea rdx, [0x180061b20]
call fcn.18001fdc0
mov rbx, rax
test rax, rax
jne 0x18001ff4a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180020035
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180020035
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180020035
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180020035
cmp rdi, 0xffffffffffffffff
je 0x180020035
mov rax, qword [0x18006d9a8]
test rax, rax
je 0x18001ffc6
inc dword [rax + 0xf4]
mov rdx, qword [0x18006d9a0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x180020035
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180020022
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18006d9a8]
test rax, rax
je 0x180020011
dec dword [rax + 0xf4]
mov rdx, qword [0x18006d9a0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x18002003e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180020030
mov qword [r14], rdi
mov rax, rsi
jmp 0x180020040
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180021bd0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x18005c150]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x180021c5b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180033df0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18002d7f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x18006d9a8]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x18002d842
cmp byte [rbx + 0x4a56], 0
jne 0x18002d842
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18001fc00
test dil, 1
je 0x18002d96f
jmp 0x18002d8cb
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b7a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800629a0]
mulss xmm1, dword [0x18006298c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x18006290c]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.18001fc00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18002d920
lea r11, [0x18005c150]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18002d903
cmp byte [r8], r9b
jne 0x18002d903
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18002d8f0
not ecx
call fcn.1800252c0
test rax, rax
je 0x18002d96f
cmp byte [rax + 0xb6], 0
je 0x18002d96f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b7a]
movsx r9d, word [rbx + 0x5b7a]
call fcn.18001fc00
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180027910
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1800326f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180032797
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18003274a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800349c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180020390
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18006d991]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18003279f
mov rcx, rbx
call fcn.180020390
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180032c40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18006d9a8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180032ca3
mov qword [rsp], rbx
lea rbx, [0x18005c150]
nop dword [rax]
cmp r9b, 0x23
jne 0x180032c83
cmp byte [r8], r9b
jne 0x180032c83
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180032c70
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180032cd7
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180032cde
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180032cc4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x180032f60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x18006d9a8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bc4], ecx
test rbx, rbx
je 0x180032fcf
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.180032fe0
lea rdx, [0x180061b24]
mov rcx, rbx
mov rdi, rax
call fcn.18001fdc0
mov rbx, rax
test rax, rax
je 0x180032fca
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1800454e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18006d9a8]
mov edx, 0x210
call fcn.18002a680
cmp byte [rax], 0
je 0x180045556
xor edx, edx
mov ecx, 0x210
call fcn.18002cbb0
test al, al
je 0x180045556
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180045556
mov rbx, qword [0x18006d9a8]
cmp byte [rbx + 0x37b9], 0
je 0x180045542
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.18001f6b0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rcx, qword [0x18006d9a8]
mov edx, 0x214
call fcn.18002a680
cmp byte [rax], 0
je 0x1800455c6
xor edx, edx
mov ecx, 0x214
call fcn.18002cbb0
test al, al
je 0x1800455c6
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800455c6
mov rbx, qword [0x18006d9a8]
cmp byte [rbx + 0x37b9], 0
je 0x1800455b2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.18001f6b0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rcx, qword [0x18006d9a8]
mov edx, 0x212
call fcn.18002a680
cmp byte [rax], 0
je 0x180045636
xor edx, edx
mov ecx, 0x212
call fcn.18002cbb0
test al, al
je 0x180045636
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180045636
mov rbx, qword [0x18006d9a8]
cmp byte [rbx + 0x37b9], 0
je 0x180045622
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.18001f6b0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rcx, qword [0x18006d9a8]
mov edx, 0x216
call fcn.18002a680
cmp byte [rax], 0
je 0x1800456a6
xor edx, edx
mov ecx, 0x216
call fcn.18002cbb0
test al, al
je 0x1800456a6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800456a6
mov rbx, qword [0x18006d9a8]
cmp byte [rbx + 0x37b9], 0
je 0x180045692
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.18001f6b0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x18004b350
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x60], 8
mov r14, rdx
mov dword [rsp + 0x50], ebx
xor edx, edx
mov dword [rsp + 0x68], ebx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rcx, str.HTTPREAD
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x28], rbx
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
mov rcx, rax
mov dword [rsp + 0x20], 0x80000002
xor r9d, r9d
xor r8d, r8d
mov rsi, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov rcx, rax
lea r8, [rsp + 0x50]
mov edx, 0x20000005
mov rdi, rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x18004b413
mov ecx, eax
mov qword [r14], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x68]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x18004b429
xor r8d, r8d
lea rdx, str.http:__ossweb_img.qq.com_images_lol_img_item_2056.png
lea rcx, str._Error_Http:_s__ReadFileLen:_d_n
call fcn.18001e0c0
test rdi, rdi
je 0x18004b437
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rsi, rsi
je 0x18004b445
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x180053a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x90
mov r11, rdx
mov r9, rcx
lea r10, [rcx + 0x4070]
cmp byte [rcx + 0x1340], 0
jne 0x180053aa7
mov word [rcx + 0x1341], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0xa0], rax
mov byte [rcx + 0x132c], al
movzx eax, byte [rsp + 0xa1]
mov byte [rcx + 0x132d], al
movzx eax, byte [rsp + 0xa2]
mov byte [rcx + 0x132e], al
movzx eax, byte [rsp + 0xa3]
mov byte [rcx + 0x132f], al
mov byte [rcx + 0x1343], 0
mov byte [rcx + 0x1340], 1
mov dword [rsp + 0xb0], r8d
mov eax, dword [rcx + 0x132c]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rcx + 0x1341]
test al, al
je 0x180053aea
xor ecx, ecx
mov edx, eax
nop dword [rax + rax]
mov eax, dword [rsp + rcx + 0xa0]
not eax
xor dword [rsp + rcx + 0xb0], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180053ad0
movzx eax, byte [r9 + 0x1342]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x180053b1a
movzx eax, byte [rsp + rcx + 0xa0]
not al
xor byte [rsp + rcx + 0xb0], al
inc rcx
cmp rcx, 4
jb 0x180053b00
movzx eax, byte [r9 + 0x1343]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0xb0]
mov dword [r9 + rcx*4 + 0x1330], eax
mov byte [r9 + 0x1343], cl
mov dword [r10 + 0x38], r8d
mov r9, qword [r10 + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, rbx
test cl, cl
jne 0x180053b60
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x180053b9b
lea eax, [r8 - 0x1d]
cmp eax, 7
ja 0x180053c12
mov byte [r10 + 0x9c], cl
jmp 0x180053c47
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x180053bc0
lea eax, [r8 - 0x1a]
cmp eax, 6
ja 0x180053c12
mov byte [r10 + 0x9c], 0
jmp 0x180053c47
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x180053bd5
cmp r8d, 0x10
jmp 0x180053be8
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x180053bf4
cmp r8d, 6
jne 0x180053c12
mov byte [r10 + 0x9c], 0
jmp 0x180053c47
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x180053c35
cmp rdx, rax
je 0x180053c35
cmp byte [r10 + 0x9c], 0xff
je 0x180053c47
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x180053c47
mov byte [r10 + 0x9c], 0xff
jmp 0x180053c47
cmp r8d, 7
jne 0x180053c62
cmp rdx, rcx
je 0x180053c6d
mov rax, qword [r10]
mov qword [r10 + 8], rax
mov dl, 1
mov rcx, r10
movabs rax, 0x1401ad190
call rax
nop
add rsp, 0x90
pop rbx
ret
cmp r8d, 6
jne 0x180053c40
cmp rdx, rax
jne 0x180053c40
mov rax, qword [r10]
mov qword [r10 + 8], rax
mov dword [rsp + 0x80], 1
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
lea rax, [0x180062508]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x50], 0xff
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov rdx, r11
mov rcx, r10
movabs rax, 0x1401c3680
call rax
nop
add rsp, 0x90
pop rbx
ret
Function at 0x180053d70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 8
movzx eax, byte [rcx + 0x2b]
mov rdx, rcx
xor r10d, r10d
mov dword [r11 + 8], r10d
mov rax, qword [rcx + rax*8 + 8]
movabs rcx, 0x1415b8fd0
mov qword [r11 + 0x10], rax
movdqu xmm3, xmmword [rcx]
movzx ecx, byte [rdx + 0x29]
test cl, cl
je 0x180053ebf
lea r8, [r11 + 0x10]
lea r9, [r11 + 8]
sub r8, rdx
sub r9, rdx
test cl, 0xf8
jbe 0x180053e7d
lea rax, [r11 + 0x10]
mov qword [r11 + 0x18], rbx
sub r8, rax
mov qword [rsp], rdi
lea rax, [r11 + 0x10]
sub r9, rax
lea rcx, [r11 + 0x10]
sub rcx, 0x20
lea rax, [rsp + 0x18]
lea rbx, [r8 + rdx]
lea rdi, [r8 + rdx]
mov r8, rdx
lea r11, [r9 + rdx]
sub r8, rax
movdqu xmm0, xmmword [rbx + rcx + 0x20]
add r10, 8
movdqu xmm1, xmmword [r8 + rcx + 0x20]
lea rcx, [rcx + 0x40]
andnps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [rdi + rcx - 0x20], xmm1
movdqu xmm0, xmmword [r11 + rcx - 0x20]
movdqu xmm1, xmmword [r8 + rcx - 0x10]
andnps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [r11 + rcx - 0x20], xmm1
movdqu xmm0, xmmword [rcx]
movdqu xmm2, xmmword [r8 + rcx]
andnps xmm2, xmm3
xorps xmm2, xmm0
movups xmmword [rcx], xmm2
movdqu xmm1, xmmword [r8 + rcx + 0x10]
movdqu xmm0, xmmword [r11 + rcx]
andnps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [r11 + rcx], xmm1
movzx r9d, byte [rdx + 0x29]
mov eax, r9d
and eax, 0xf8
cmp r10, rax
jb 0x180053df4
mov rax, qword [rsp + 0x18]
movzx ecx, r9b
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x20]
movzx r8d, cl
cmp r10, r8
jae 0x180053f08
test cl, cl
je 0x180053f08
lea rcx, [rsp + 0x18]
sub rdx, rcx
lea rax, [rsp + 0x18]
nop
mov rcx, qword [rdx + rax]
lea rax, [rax + 8]
not rcx
xor qword [rax - 8], rcx
sub r8, 1
jne 0x180053ea0
mov rax, qword [rsp + 0x18]
add rsp, 8
ret
movzx r8d, byte [rdx + 0x2a]
test r8b, r8b
je 0x180053f08
mov ecx, 8
sub cl, r8b
cmp cl, 8
jae 0x180053f08
movzx eax, cl
lea rcx, [rsp + 0x18]
add rcx, rax
lea rax, [rsp + 0x18]
sub rdx, rax
nop dword [rax]
movzx eax, byte [rdx + rcx]
lea rcx, [rcx + 1]
not al
xor byte [rcx - 1], al
sub r8, 1
jne 0x180053ef0
mov rax, qword [rsp + 0x18]
add rsp, 8
ret
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x180839384
Capabilities:
Encode data using xor

Disassembly:
push qword [rsp + 0x38]
popfq
lea rsp, [rsp + 0x50]
call fcn.180eaf67e
call fcn.18090292c
cwde
xchg esi, eax
sbb eax, 0xb1d4978d
and dword [rcx - 0x2a09e035], ebp
push rsi
push rdi
call 0x18dbc01e0
xor byte [rsi], ah
push 0xfffffffffffffff8
add al, 0x6f
adc ah, byte [rcx + rbp*4]
invalid
Function at 0x140001740
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14000174e
mov rcx, qword [rcx]
mov edx, 6
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add rsp, 0x28
ret
Function at 0x140002300
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.0x140002321
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 0x14000234e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002350
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400023a9
test ecx, ecx
jle 0x140002389
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 0x1400023a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400023a9
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
jno 0x1400b22f4
push rsi
add byte [0x1b30b6efb], dh
add byte [rbx], cl
add byte [r11], cl
add byte [r8 + r8 - 0x7c], spl
add byte [rsi], dl
jno 0x1400b230c
add byte [r11], cl
add byte [r10], r14b
pop rsp
add byte [rax + 0x71005700], al
push rdi
add byte [rcx], dh
add byte [r11], cl
add byte [r11], r14b
insb byte [rdi], dx
add byte [rdi], ch
push rbp
add byte [rbp], cl
invalid
Function at 0x1400023d0
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 0x1400023f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140002401
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 0x140002424
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002426
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140002462
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 0x1400024fe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000249d
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 0x1400024de
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 0x1400024fe
cmp rbx, rax
ja 0x1400024b0
test rbx, rbx
je 0x1400024fe
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
add byte [r11], cl
add byte [r11], r9b
jae 0x1400b22bc
jno 0x1400b22be
invalid