joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030188
Capabilities:
Encode data using xor

Disassembly:
adc eax, dword [rdi + rbx*4 - 0x56]
lahf
stosb byte [rdi], al
xor al, 0x6b
lahf
pop rdi
out 0x83, eax
and dword [rbp - 0xa361002], esi
mov edi, dword [rbx - 0x55]
in eax, dx
pop rdi
sbb dword [0x15f6a2da0], esi
mul byte [rsi]
or al, 0xb1
lodsb al, byte [rsi]
movabs dword [0x942f9d009024db65], eax
jns 0x140030186
push rsp
cmp dword [rsi + 0x34], 0x45
outsd dx, dword [rsi]
ret

Function at 0x140039c14
Capabilities:
Execute syscall

Disassembly:
syscall
fdivr qword [0xfc97102e]
or eax, 0x52299342
or dil, byte [r11 - 0x4c]
ret

Function at 0x14003f0d8
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
add ah, ch
push r12
push rbx
push rbx
or dl, byte [rdx - 0x39]
scasd eax, dword [rdi]
xor dword [rax - 0x4c], ebp
cmpsb byte [rsi], byte [rdi]
and eax, 0xb09f9a49
xchg byte [rdx + 0x2e], ch
sbb cl, byte [rsi + rsi*8 + 3]
jg 0x14003f0cc
lea ebp, [rdi + 0x2f6fa6ae]
cmp byte [rsi + 0x44007d8d], bh
and eax, 0x3db33441
ret

Function at 0x140041b60
Capabilities:
Encode data using xor

Disassembly:
pop rsi
mov eax, 0xcf3c4080
add byte [rax + 0x3c], 0xcf
add byte [rax + 0x3c], 0xcf
and al, 0x62
sub ecx, ebp
push bx
pop rbp
popfq
xor cl, byte [rbx + 0x5397aa1a]
mov ecx, dword [rax + 0x2b1a869e]
mov edi, 0x4c199475
ja 0x140041b5e
cli
retf 0xaa7e

Function at 0x140042240
Capabilities:
Encode data using xor

Disassembly:
invalid
sal dword [rbx - 0x11a8ad2], 1
jo 0x1400421a6
invalid
movabs eax, dword [0x1cedf3208cbc93d4]
invalid
cmc
jo 0x1400421a1
jo 0x1400421a0
xlatb
jne 0x140042266
pop rdx
invalid
pop r10
invalid
in al, dx
movabs r8, 0x3a9e68fe62590d56
lahf
jl 0x140042256
push rsi
or eax, 0x68fe6259
sahf
cmp bl, byte [rdi + 0x39cbe57c]
jp 0x1400421f6
retf
xor ah, dh
pop rdi
jae 0x140042263
xchg esp, eax
invalid

Function at 0x140044058
Capabilities:
Encode data using xor

Disassembly:
and ebp, dword [rdi + rsi*4 + 0x9e4d2c1]
cli
xchg edi, eax
push rdi
loop 0x1400440bc
sahf
jl 0x1400440aa
sub dh, byte [rdx]
mov al, 0x6e
mov ebx, 0x7e31df96
pop rdx
out 0x53, eax
invalid
jmp 0x12d8c5d68
jmp 0x1290ce94d

Function at 0x140045cc4
Capabilities:
Encode data using xor

Disassembly:
outsd dx, dword [rsi]
movabs dword [0xacc3526bf0b54d17], eax
jp 0x140045d02
jno 0x140045d06
ret 0x6dae
or ch, byte [rcx + 0x6d]
invalid

Function at 0x140048614
Capabilities:
Encode data using xor

Disassembly:
pushfq
cmpsd dword [rsi], dword [rdi]
xchg esp, eax
fidivr dword [rdi + rsi]
in al, 0x6a
jns 0x1400485e8
int3
and ebp, 0x41cc05b1
push rax
enter 0xffffffffffffd1e0, 0x24
std
pushfq
adc ah, byte [rax]
xlatb
std
lodsd eax, dword [rsi]
jae 0x140048657
loopne 0x1400485d0
sahf
imul esi, dword [rbx - 0x5f17d1a9], 0x6b
jp 0x140048684
in eax, dx
cmp cl, byte [rdx + rdi]
invalid
mov al, 0x15
invalid
imul edx, dword [rbx - 0x75861a88], 0xffffffa5
frstor dword [rcx - 0x66]
idiv dword [rdx + riz + 0x18]
xlatb
sar byte [rdi], cl
stosb byte [rdi], al
cmp al, 0x66
movsq qword [rdi], qword [rsi]
mov bpl, r14b
and ch, byte [rbp - 6]
Function at 0x140049468
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffce158ece
invalid
cmp byte [rdx - 0x210f5e5f], bl
jb 0x140049448
jno 0x1400494eb
add al, 0x57
stosb byte [rdi], al
and bl, bh
fdiv dword [rbp - 1]
fdivr qword [rcx - 0x6bf04cf2]
add al, byte [r14]
xor al, 0xdb
invalid
jae 0x14004955a
cli
movabs eax, dword [0x3aada36550211f9b]
invalid
and dword [rax + 0x65], edx
invalid
lodsd eax, dword [rsi]
invalid
invalid
sub dl, byte [0x14eafa236]

Function at 0x14004e820
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x30
lea rax, [fcn.14004e820]
mov qword [rsp + 0x28], 0x4f1db680

Function at 0x14004e834
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rax
jmp 0x14004e89f
mov rax, qword [rsp + 0x20]
sub rax, 0x7bc7e8c2
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0xffffffffb0e23980
mov dword [rsp + 0x18], 0x7384a05d
mov cl, byte [rsp + 0x1f]
mov rdx, qword [rsp + 0x28]
xor rdx, 0xffffffffb0e24680
xor edx, 0xb0e24680
and cl, 0xde
mov byte [rsp + 0x1f], cl
mov r8, qword [rsp]
add r8, rax
mov byte [rsp + 0x1f], 0xed
mov cl, byte [rsp + 0x1f]
xor cl, 0x1a
and r8, rdx
mov byte [rsp + 0x1f], cl
mov qword [rsp + 8], r8
jmp 0x14004e89f
mov rax, qword [rsp + 8]
mov cx, word [rsp + 0x16]
mov dx, word [rsp + 0x16]
mov r8w, word [rax]
sub cx, dx
mov word [rsp + 0x16], cx
cmp r8w, 0x5a4d
mov qword [rsp], rax
jne 0x14004e83b
imul rax, qword [rsp + 0x20], 0x3c9ee797
mov qword [rsp + 0x20], rax
mov al, byte [rsp + 0x1f]

Function at 0x14004e8e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp]
mov byte [rsp + 0x1f], al
mov rcx, qword [rsp + 0x20]
add rcx, 0x123ebb8c
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp]
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
je 0x14004e896
jmp 0x14004e83b

Function at 0x14004eeac
Capabilities:
Encode data using xor

Disassembly:
and al, 0x7e
mov word [rsp + 0x7c], r8w
call fcn.140001040
xor r9d, r9d
mov ecx, r9d
mov rax, qword [rax + 0x18]
mov rdx, rax
add rdx, 0x20
mov rax, qword [rax + 0x20]
mov r9d, dword [rsp + 0x9c]
mov r8w, word [rsp + 0x7c]
mov word [rsp + 0x96], r8w
cmp rax, rdx
mov dword [rsp + 0x78], r9d
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rcx
je 0x14004ec82
mov rax, qword [rsp + 0x88]
cmp rax, 0
setne cl
mov rdx, qword [rsp + 0x68]
mov byte [rsp + 0x5f], cl
mov qword [rsp + 0x50], rdx
jmp 0x14004ee60
mov rax, qword [rsp + 0x50]
mov cl, byte [rsp + 0x99]
add cl, byte [rsp + 0x99]
mov rdx, qword [rax + 0x50]
mov byte [rsp + 0x99], cl
mov r8, qword [rax + 0x20]
mov dword [rsp + 0x9c], 0x432b77a
mov r9, qword [rsp + 0x88]
cmp r8, r9
sete cl
mov r10b, byte [rsp + 0x5f]
and r10b, cl
mov r11d, dword [rsp + 0x78]
or r11d, 0x41520c6a
or al, 0x52
mov dword [rsp + 0x9c], r11d
mov dword [rsp + 0x9c], ebx
Function at 0x6d8eb200
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d90c5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8eb388
mov rax, qword [0x6d90c5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8eb24c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8eb2d5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8eb230
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8eb3bd
mov rax, qword [0x6d90c5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d90c5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8eb3a0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8eb2ce
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8eb330
add dword [0x6d90c5e4], 1
cmp edi, 8
jae 0x6d8eb303
test dil, 4
jne 0x6d8eb374
test edi, edi
je 0x6d8eb2f8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8eb38f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d8eb2f8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d8eb31c
jmp 0x6d8eb2f8
add rsi, qword [0x6d90c5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d8eb2ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8eb2f8
xor esi, esi
jmp 0x6d8eb257
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8eb2f8
mov rax, qword [0x6d90c5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8ebb10
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d90c8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d90c8a0]
test rbx, rbx
je 0x6d8ebb64
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d8ebb5b
test rsi, rsi
je 0x6d8ebb5b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8ebb40
lea rcx, [0x6d90c8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8ebda0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8ebdb0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8ebdc0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8ebe01
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8ebdf8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8ebe03
add rax, 0x28
cmp rax, r9
jne 0x6d8ebde4
xor eax, eax
ret

Function at 0x6d8ebea0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d9091f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8ebf0d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8ebf0d
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 0x6d8ebf0d
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 0x6d8ebf04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8ebf0f
add rax, 0x28
cmp rax, r9
jne 0x6d8ebef0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8ec010
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d9091f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8ec030
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8ec028
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 0x6d8ec08d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8ec084
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8ec094
add rax, 0x28
cmp rax, r9
jne 0x6d8ec070
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8ec0b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d9091f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8ec11e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8ec11e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8ec11e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8ec11e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8ec115
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8ec125
add rcx, 0x28
cmp rcx, rax
jne 0x6d8ec100
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8ec138
jmp 0x6d8ec11e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8ec146
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8ec11e
test r9d, r9d
jg 0x6d8ec130
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8ec4b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1800023f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18000255b
cmp edx, 1
je 0x18000240b
mov eax, 1
add rsp, 0x28
ret
lea rcx, str.OpenGL32.dll
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x18000242f
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, [0x180009618]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180009628]
mov rcx, rbx
mov qword [0x18000c750], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.wglSwapBuffers
mov rcx, rbx
mov qword [0x18000c730], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x180009648]
mov rcx, rbx
mov qword [0x18000c748], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.glScalef
mov rcx, rbx
mov qword [0x18000c758], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.glTranslatef
mov rcx, rbx
mov qword [0x18000c738], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18000c720], rax
call fcn.1800058f0
call fcn.180004b50
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180005080
lea rdx, [0x180002320]
lea rcx, [0x18000c750]
call fcn.180004130
lea rdx, [0x180002380]
lea rcx, [0x18000c730]
call fcn.180004130
lea rdx, [0x180002020]
lea rcx, [0x18000c758]
call fcn.180004130
lea rdx, [0x180001f90]
lea rcx, [0x18000c748]
call fcn.180004130
lea rdx, [0x1800021a0]
lea rcx, [0x18000c720]
call fcn.180004130
lea rdx, [0x180002270]
lea rcx, [0x18000c738]
call fcn.180004130
call fcn.180004bd0
mov rbx, qword [rsp + 0x20]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
call fcn.180004b50
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.180005080
lea rdx, [0x180002320]
lea rcx, [0x18000c750]
call fcn.1800047b0
lea rdx, [0x180002380]
lea rcx, [0x18000c730]
call fcn.1800047b0
lea rdx, [0x180002020]
lea rcx, [0x18000c758]
call fcn.1800047b0
lea rdx, [0x180001f90]
lea rcx, [0x18000c748]
call fcn.1800047b0
lea rdx, [0x1800021a0]
lea rcx, [0x18000c720]
call fcn.1800047b0
lea rdx, [0x180002270]
lea rcx, [0x18000c738]
call fcn.1800047b0
call fcn.180004bd0
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x180002ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180002cd0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180002bb7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180002b14
mov rax, qword [0x18000c008]
cmp qword [rsp + 0x20], rax
ja 0x180002b14
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180002ad6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180002b43
jmp 0x180002bb7
cmp dword [rsp + 0x50], 0x10000
jne 0x180002b9a
cmp qword [rsp + 0x48], 0x10000
jb 0x180002b9a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180002b88
mov rax, qword [rsp + 0x28]
jmp 0x180002bb9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180002bb2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180002cd0
mov qword [rsp + 0x20], rax
jmp 0x180002ad6
xor eax, eax
add rsp, 0x68
ret

Function at 0x180002bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180002d10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180002cc3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180002c1b
mov rax, qword [0x18000c008]
cmp qword [rsp + 0x20], rax
ja 0x180002c1b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180002bdd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180002c4a
jmp 0x180002cc3
cmp dword [rsp + 0x50], 0x10000
jne 0x180002ca1
cmp qword [rsp + 0x48], 0x10000
jb 0x180002ca1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180002c8f
mov rax, qword [rsp + 0x28]
jmp 0x180002cc5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180002cbe
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180002d10
mov qword [rsp + 0x20], rax
jmp 0x180002bdd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180002d60
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800032f0
mov qword [rsp + 0x28], 0
cmp qword [0x18000c0f8], 0
jne 0x180002da8
cmp qword [0x18000c0f0], 0
je 0x180002da8
mov rax, qword [0x18000c0f0]
mov qword [0x18000c0f8], rax
cmp qword [0x18000c0f8], 0
je 0x180002e4e
mov rax, qword [0x18000c0f8]
cmp qword [rax + 0x10], 0
je 0x180002e4e
mov rax, qword [0x18000c0f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180002e4e
mov rax, qword [0x18000c0f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180002e4e
mov rax, qword [0x18000c0f8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180002e14
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180002e1b
xor eax, eax
jmp 0x180002fc9
mov rax, qword [0x18000c0f8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180002fc9
mov rax, qword [0x18000c0f0]
mov qword [0x18000c0f8], rax
jmp 0x180002e70
mov rax, qword [0x18000c0f8]
mov rax, qword [rax + 8]
mov qword [0x18000c0f8], rax
cmp qword [0x18000c0f8], 0
je 0x180002ebd
cmp qword [0x18000c0f8], 0
je 0x180002ebb
mov rax, qword [0x18000c0f8]
cmp qword [rax + 0x10], 0
je 0x180002ebb
mov rax, qword [0x18000c0f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180002ebb
mov rax, qword [0x18000c0f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180002ebb
jmp 0x180002dec
jmp 0x180002e5e
mov rcx, qword [rsp + 0x60]
call fcn.180005250
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180002fd0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180002fc7
mov rax, qword [rsp + 0x48]
mov qword [0x18000c0f8], rax
mov rax, qword [0x18000c0f8]
mov dword [rax], 0x52727464
mov rax, qword [0x18000c0f8]
mov qword [rax + 0x10], 0
mov rax, qword [0x18000c0f8]
mov rcx, qword [0x18000c0f0]
mov qword [rax + 8], rcx
mov rax, qword [0x18000c0f8]
mov qword [0x18000c0f0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18000c0f8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180002f78
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180002fb2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180002f6e
mov rax, qword [0x18000c0f8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180002dec
xor eax, eax
add rsp, 0x58
ret
Function at 0x180005440
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
jmp 0x180005488
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
ja 0x1800054a8
jmp 0x180005545
cmp dword [rsp + 0x68], 0x1000
jne 0x1800054cd
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x1800054cd
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x1800054cf
jmp 0x180005473
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180005505
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x180005505
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x18000550a
jmp 0x180005473
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x180005473
mov rax, qword [rsp + 0x20]
jmp 0x180005547
xor eax, eax
add rsp, 0x88
ret
Function at 0x14000f6e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14000f75a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14000f750
cmp r11, r10
ja 0x14000f7f3
cmp r10, rdx
ja 0x14000f807
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14000f752
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14000f730
jmp 0x14000f7c7
ja 0x14000f75a
mov r11, r10
cmp rax, r8
jne 0x14000f702
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14000f7cb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14000f7a0
mov r8, r10
sub ecx, r9d
jns 0x14000f7be
jmp 0x14000f7cd
cmp r10, rdx
je 0x14000f7d9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14000f7cd
xor al, 1
cmp r8, rdx
jne 0x14000f780
jmp 0x14000f7cd
xor eax, eax
jmp 0x14000f7cd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valueassertion_failed:__buf.is_empty__
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400cbea0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400cc360
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400cc2f0
ud2
Function at 0x1400143dd
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140014403
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x1400143ed
mov qword [rcx], rax
ret

Function at 0x1400159cf
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor eax, eax
test rbx, rbx
setne al
lea rcx, [rsp + 0x28]
mov qword [rcx], rax
call fcn.1400129f9
test rbx, rbx
je 0x140015a10
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.1400143dd
add rdi, 8
mov rcx, rdi
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.140015c27