joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d745c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400d72bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400d72bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400d72bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400d72bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400d72bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400d72bb
cmp dword [rcx + 0xf8], 0
je 0x1400d72bb
mov ecx, ebx
call fcn.1400d7378
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400d7148
nop
cmp dword [rbp + 0x20], 0
je 0x1400d7309
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400d7314
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400d724c

Function at 0x1400d7968
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400beb90
sub rsp, rax
mov rax, qword [0x1401560e8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400e35c4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400d79b7
mov rax, rbp
jmp 0x1400d7abf
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x174260]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400e8768
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x174260]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400d7abb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d7abb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400e8768
test rax, rax
js 0x1400d7abb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400d7abb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400d7aad
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400d7aad
cmp byte [rcx], 0xd
jne 0x1400d7a93
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400d7aa2
cmp byte [rcx + 1], 0xa
jne 0x1400d7aa2
inc rcx
jmp 0x1400d7aa2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x156690]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400d7a75
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400d7abf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400bdcf0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e7858
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 rsi, rcx
test rcx, rcx
jne 0x1400e788a
call fcn.1400d1470
mov dword [rax], socket
call fcn.1400d49a8
jmp 0x1400e79a9
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400e79a9
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400e79a9
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400e78b9
lock or dword [rcx + 0x14], 0x10
jmp 0x1400e79a9
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400e78cd
call fcn.1400e7a78
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1400e35c4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1400e7f90
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1400e7997
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400e7962
mov rcx, rsi
call fcn.1400e35c4
cmp eax, edi
je 0x1400e794d
mov rcx, rsi
call fcn.1400e35c4
cmp eax, 0xfffffffe
je 0x1400e794d
mov rcx, rsi
call fcn.1400e35c4
movsxd rbx, eax
lea r14, [0x140174260]
mov rcx, rsi
sar rbx, 6
call fcn.1400e35c4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400e7954
lea rdx, [0x140156480]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400e7962
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400e7986
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400e7986
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400e7986
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1400e79ac
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1400e7ae4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140174260]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400e7b42
cmp word [rdx], r12w
jne 0x1400e7b42
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400e7b48
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1400e7ca3
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1400e7c7e
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1400e7b81
mov rcx, r9
jmp 0x1400e7ba4
cmp r9, rdx
jae 0x1400e7bbb
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400e7b65
jmp 0x1400e7ca3
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e7c78
cmp dword [rsp + 0x80], edi
je 0x1400e7c78
mov rdx, r14
lea r11, [0x140174260]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400e7c51
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400e7c24
mov word [rbx], r12w
jmp 0x1400e7c9f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400e7c2d
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1400e7c9f
cmp word [rsp + 0x70], r12w
jne 0x1400e7c5e
cmp rbx, rsi
je 0x1400e7c1e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1400e8770
cmp word [rsp + 0x70], r12w
je 0x1400e7ca3
mov word [rbx], r13w
jmp 0x1400e7c9f
lea r11, [0x140174260]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1400e7c9b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1400e7ca3
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ec368
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400ec398
xor eax, eax
jmp 0x1400ec45b
mov rbp, rbx
cmp word [rax], si
je 0x1400ec3bd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400ec3a4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400ec3a0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400eab3c
movsxd r14, eax
test eax, eax
jne 0x1400ec3fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400ec391
mov rcx, r14
call fcn.1400e2380
mov rdi, rax
test rax, rax
jne 0x1400ec414
xor ecx, ecx
call fcn.1400e2344
jmp 0x1400ec3f0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400eab3c
test eax, eax
jne 0x1400ec445
mov rcx, rdi
call fcn.1400e2344
jmp 0x1400ec44f
xor ecx, ecx
call fcn.1400e2344
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400ec478
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400ec4ff
mov rsi, rbx
cmp word [rax], bp
je 0x1400ec4be
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400ec4a8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400ec4a4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400e2380
mov rdi, rax
test rax, rax
je 0x1400ec4ec
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400c08c0
mov rbp, rdi
xor ecx, ecx
call fcn.1400e2344
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f398c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400e8770
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400e8770
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400f3adc
cmp rax, 0xffffffffffffffff
je 0x1400f3adc
xor edi, edi
test rbp, rbp
jle 0x1400f3a87
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400e39c4
mov rbx, rax
test rax, rax
jne 0x1400f3a14
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400f3a7d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400dfda4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400e5278
cmp eax, 0xffffffff
je 0x1400f3a5d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400f3a24
mov edx, r15d
mov ecx, r14d
call fcn.1400dfda4
jmp 0x1400f3a7d
cmp byte [rsi + 0x38], dil
je 0x1400f3a74
cmp dword [rsi + 0x34], 5
jne 0x1400f3a74
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recv
cmp byte [rsi + 0x30], dil
je 0x1400f3a7d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400e2344
jmp 0x1400f3af0
jns 0x1400f3af0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400e8770
cmp rax, 0xffffffffffffffff
jne 0x1400f3aa8
cmp byte [rsi + 0x30], dil
je 0x1400f3af0
mov edi, dword [rsi + 0x2c]
jmp 0x1400f3af0
mov ecx, r14d
call fcn.1400ed138
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400f3af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], recv
jmp 0x1400f3af0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400f3ae9
mov eax, dword [rsi + 0x2c]
jmp 0x1400f3aee
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400e8770
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400f41b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400f41d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400f41d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180007cb0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.18004c9d0
test al, al
je 0x180007d3c
test rdi, rdi
mov r8d, 1
cmovne r8, rdi
cmp rsi, 9
mov edx, 8
cmovae rdx, rsi
cmp r8, 0x1f1
jb 0x180007cfa
mov rcx, qword [0x1800a66c8]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.180007d50
mov eax, dword [0x1800a64f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x180007cef
mov rcx, qword [0x1800a66c8]
mov eax, dword [0x1800a64f4]
mov rdi, qword gs:[0x58]
mov rax, qword [rdi + rax*8]
mov qword [rax + 8], rcx
jmp 0x180007cef
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x180007d50
Capabilities:
Encode data using base64

Disassembly:
mov r11, rdx
lea rax, [rdx + r8]
dec rax
neg rdx
and rdx, rax
cmp rdx, r8
jb 0x180007dbf
cmp rdx, 0x1001
jae 0x180007d7f
cmp rdx, 0xf00
ja 0x180007d91
xor r8d, r8d
jmp fcn.180030190
cmp r11, 0x1000
ja 0x180007d99
cmp rdx, 0xfc001
jae 0x180007d99
xor r8d, r8d
jmp fcn.180038150
mov edx, 0xfff
mov r9, 0xfffffffffffff000
lea r10, [r8 + rdx]
and r10, r9
cmp r10, r8
jb 0x180007dbf
add r11, rdx
and r11, r9
mov r9, r10
add r9, r11
jae 0x180007dc2
xor eax, eax
ret
lea rax, [r11 + r11]
cmp r10, r11
cmovb r9, rax
add r9, 0xfffffffffffff000
cmp r9, 0xfc000
jbe 0x180007dff
cmp r11, 0x100000
ja 0x180007df1
mov r8d, 0x100000
mov rdx, r10
jmp 0x180007df7
mov rdx, r10
mov r8, r11
xor r9d, r9d
jmp fcn.180004060
mov rdx, r11
mov r8, r10
jmp 0x180051ad0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, r9
mov r15, r8
mov rsi, rdx
mov r12, rcx
lea r14, [rcx + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r12
mov rdx, rdi
call fcn.180050530
test rax, rax
je 0x180051b81
mov rbx, rax
mov r13, rax
and r13, 0xfffffffffff00000
lea rax, [rsi - 1]
and rax, rbx
je 0x180051b85
mov rcx, rsi
sub rcx, rax
sub rdi, rcx
sub rsi, rax
je 0x180051b70
mov eax, ebx
shr eax, 0xc
movzx r8d, al
mov rcx, rsi
shr rcx, 0xc
mov rdx, rsi
or rdx, 3
lea rax, [r8 + r8*2]
mov qword [r13 + rax*8 + 0x30], rdx
mov rax, rdi
or rax, 3
add rcx, r8
lea rcx, [rcx + rcx*2]
mov qword [r13 + rcx*8 + 0x30], rax
mov rcx, r12
mov rdx, rbx
xor r8d, r8d
call fcn.180027800
add rbx, rsi
cmp rdi, r15
je 0x180051bc9
mov r8, rbx
sub r8, r13
shr r8, 0xc
jmp 0x180051b8e
xor ebx, ebx
jmp 0x180051bce
mov eax, ebx
shr eax, 0xc
movzx r8d, al
mov rdx, rbx
mov rcx, r15
shr rcx, 0xc
mov rsi, r15
or rsi, 3
lea rax, [r8 + r8*2]
mov qword [r13 + rax*8 + 0x30], rsi
sub rdi, r15
or rdi, 3
add rcx, r8
lea rax, [rcx + rcx*2]
mov qword [r13 + rax*8 + 0x30], rdi
add rdx, r15
mov rcx, r12
xor r8d, r8d
call fcn.180027800
add qword [r12 + 0x58], r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x18000a340
Capabilities:
Hash data using murmur3

Disassembly:
cmp dword [rcx + 4], 0
je 0x18000a3ea
mov eax, dword [rcx + 8]
rol eax, 1
mov edx, dword [rcx + 0xc]
rol edx, 7
add edx, eax
mov eax, dword [rcx + 0x10]
rol eax, 0xc
add eax, edx
mov r9d, dword [rcx + 0x14]
rol r9d, 0x12
add r9d, eax
add r9d, dword [rcx]
mov r8d, dword [rcx + 0x28]
add rcx, 0x18
and r8d, 0xf
cmp r8d, 4
jb 0x18000a3a0
imul eax, dword [rcx], 0xc2b2ae3d
add eax, r9d
rol eax, 0x11
add rcx, 4
imul r9d, eax, 0x27d4eb2f
add r8, 0xfffffffffffffffc
cmp r8, 3
ja 0x18000a37f
test r8, r8
je 0x18000a3c6
xor edx, edx
movzx eax, byte [rcx + rdx]
imul eax, eax, 0x165667b1
add eax, r9d
rol eax, 0xb
imul r9d, eax, 0x9e3779b1
inc rdx
cmp r8, rdx
jne 0x18000a3a7
mov eax, r9d
shr eax, 0xf
xor eax, r9d
imul eax, eax, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
mov r9d, 0x165667b1
add r9d, dword [rcx + 0x10]
jmp 0x18000a36a
Function at 0x18005ca10
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, r9d
movapd xmm0, xmm2
mov rsi, rcx
mov dword [rcx + 4], edx
mulsd xmm0, qword [0x180093290]
addsd xmm0, qword [0x180093298]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si ecx, xmm0
cmp ecx, 2
mov eax, 1
cmovge eax, ecx
mov dword [rsi + 8], eax
and edi, 0x10000
mov ecx, edi
shr ecx, 0x10
mov byte [rsi + 0x18], cl
test edi, edi
jne 0x18005ca78
cmp eax, 0x270f
ja 0x18005ca78
movzx eax, ax
shr eax, 3
imul ecx, eax, 0x20c5
shr ecx, 0x14
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x18005cad0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi + 0x10], rax
test rax, rax
je 0x18005cab0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rax, str.MOZ_CRASH__beginthreadex_failed_
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3

Function at 0x180063760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x218
xor edi, edi
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rcx + rax + 0x88]
mov rbp, rsp
lea rsi, [rbp + 0x208]
add rax, rcx
mov r9d, dword [rax + 0x20]
mov r13d, dword [rax + 0x1c]
mov r14d, dword [rax + 0x24]
lea r12, [rcx + r9]
nop dword [rax]
mov ebx, dword [r12 + rdi*4]
mov rax, rbp
add rbx, rcx
nop word [rax + rax]
mov byte [rax], 0
add rax, 1
cmp rax, rsi
jne 0x1800637b0
movsx r10w, byte [rbx]
test r10b, r10b
je 0x180063870
xor eax, eax
jmp 0x1800637d3
mov eax, r15d
lea r15d, [rax + 1]
movsx r9w, byte [rbx + r15]
mov r11, r15
test r9b, r9b
jne 0x1800637d0
test r11d, r11d
je 0x18006380a
lea r11, [rbp + r15*2]
add rax, rbx
jmp 0x1800637fd
movsx r9w, byte [rax]
sub rax, 1
invalid
invalid
invalid

Function at 0x180063a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor eax, eax
mov rdi, qword [rsp + 0xb0]
mov r12, rcx
mov qword [rsp + 0xa8], r9
lea rcx, [rsp + 0x38]
nop word [rax + rax]
movzx r9d, byte [rdi + rax + 0x7c]
mov byte [rcx + rax], r9b
add rax, 1
cmp rax, 4
jne 0x180063a30
xor eax, eax
add rcx, 4
nop word [rax + rax]
movzx r9d, byte [rdi + rax + 0xb8]
mov byte [rcx + rax], r9b
add rax, 1
cmp rax, 4
jne 0x180063a50
lea ebp, [rdx - 8]
mov rbx, r12
xor r15d, r15d
xor r13d, r13d
xor r11d, r11d
xor r14d, r14d
lea r9, [r12 + 8]
lea rsi, [rsp + 0x37]
Function at 0x180063c10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub r9, r12
mov eax, ebp
sub eax, r9d
je fcn.180063b70
sub eax, 1
xor ecx, ecx
jmp 0x180063ab0
lea rdx, [rcx + 1]
cmp rcx, rax
je fcn.180063b70
mov rcx, rdx
lea r10, [rbx + rcx]
mov edx, 1
movzx r9d, byte [rsi + rdx]
cmp byte [r10 + rdx], r9b
je 0x180063aca
cmp r9b, 0x3f
jne 0x180063aa0
add rdx, 1
cmp rdx, 9
jne 0x180063ab9
lea rbx, [rbx + rcx + 1]
test rbx, rbx
je fcn.180063b70
mov eax, dword [rbx]
lea r9, [rbx + 8]
mov r10d, eax
mov edx, eax
movzx ecx, ah
shl r10d, 0x18
shr edx, 0x18
add edx, r10d
mov r10d, ecx
shr eax, 8
shl r10d, 0x10
and eax, 0xff00
add r10d, edx
add r10d, eax
mov eax, dword [rdi + 0x3c]
cmp dword [rbx + 8], eax
je 0x180063bc0
test r11, r11
je 0x180063a83
lea ecx, [r14 + r10]
mov eax, r14d
add rax, r11
cmp ecx, r13d
ja 0x180063c40
lea r14d, [r10 - 1]
test r10d, r10d
je 0x180063b5a
xor edx, edx
jmp 0x180063b47
mov rdx, r10
movzx r10d, byte [rbx + rdx + 8]
cmp r14, rdx
mov byte [rax + rdx], r10b
lea r10, [rdx + 1]
jne 0x180063b44
sub r9, r12
mov eax, ebp
mov r14d, ecx
sub eax, r9d
jne 0x180063a91
nop dword [rax + rax]
test r11, r11
jne 0x180063b24
mov eax, dword [rbx + 0x10]
mov qword [rsp + 0x28], r9
mov ecx, 0x40
mov qword [rsp + 0xa0], r8
mov dword [rsp + 0x24], r10d
lea edx, [rax + 0x10]
mov rax, qword [rsp + 0xa8]
mov r13, rdx
call qword [rax + 0xc8]
mov r10d, dword [rsp + 0x24]
mov r11, rax
xor eax, eax
mov r9, qword [rsp + 0x28]
mov r8, qword [rsp + 0xa0]
lea ecx, [r10 - 1]
inc qword [rbp - 0x7b]
sal byte [rbp + 0xc], cl
inc qword [rbp - 0x7b]
sal byte [rbp + 0xc], cl
jmp 0x180063c35
mov rax, rdx
movzx edx, byte [rbx + rax + 8]
cmp rcx, rax
mov byte [r11 + rax], dl
lea rdx, [rax + 1]
jne 0x180063c20
add r14d, r10d
mov r15, r9
jmp 0x180063a83
sub r13d, r14d
mov edx, 0
lea r10d, [r13 - 1]
jne 0x180063c56
jmp 0x180063b77
mov rdx, rcx
movzx ecx, byte [r9 + rdx]
cmp r10, rdx
mov byte [rax + rdx], cl
lea rcx, [rdx + 1]
jne 0x180063c53
jmp 0x180063b77
Function at 0x180073470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rdx]
test rax, rax
je 0x1800734fe
mov qword [rsi], 0
mov rbx, qword [rdi + 8]
mov qword [rdi + 8], rax
test rbx, rbx
jne 0x180073534
mov rbx, qword [rdi + 0x10]
mov qword [rdi + 0x10], 0
test rbx, rbx
jne 0x180073549
mov rax, qword [rdi + 8]
test rax, rax
je 0x180073519
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov cx, 1
mov word [rax + 0x18], cx
movups xmmword [rax + 0x20], xmm0
mov word [rax + 0x30], cx
movups xmmword [rax + 0x3c], xmm0
mov rax, qword [rdi + 8]
mov eax, dword [rax + 0x38]
mov dword [rdi + 0x18], eax
mov rdi, qword [rsi]
mov qword [rsi], 0
test rdi, rdi
jne 0x18007351d
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800734bb
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x10], 0
mov qword [rdi + 8], rax
jmp 0x1800734b6
xor eax, eax
jmp 0x1800734e4
mov rcx, rdi
call fcn.180062a80
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.mozglue.dll__aligned_free
mov rcx, rbx
call fcn.180062a80
mov rcx, rbx
call sym.mozglue.dll__aligned_free
jmp 0x18007349d
mov rcx, rbx
call fcn.180062a80
mov rcx, rbx
call sym.mozglue.dll__aligned_free
jmp 0x1800734b2

Function at 0x180073ba0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x1800a80a4]
mov ecx, dword [0x1800a64f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x180073c44
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x180073c20
mov rdi, qword [rsi + 8]
shl rbx, 4
add rbx, rdi
mov r15d, dword [0x1800a80a0]
lea r14, [rsp + 0x20]
mov r12, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rdi]
mov rcx, qword [rdi + 8]
mov rdx, r15
mov r9, r14
call r12
add rdi, 0x10
cmp rdi, rbx
jne 0x180073c07
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18004bde0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1800a80a4]
call fcn.18004a800
cmp dword [0x1800a80a4], 0xffffffff
jne 0x180073be0
lea rdi, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x1800a80a0], eax
lea rcx, [0x1800a80a4]
call fcn.18004a7a0
jmp 0x180073be0

Function at 0x18007666c
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
mov ebx, ecx
add r11, 0x10
nop dword [rax + rax]
mov r11, qword [r11]
mov rcx, qword [r11 + 0x60]
test rcx, rcx
je 0x18007668c
test ebx, ebx
je 0x1800766a5
call fcn.1800765fc
cmp eax, ebx
jne 0x18007668c
mov rax, qword [r11 + 0x30]
add rsp, 0x20
pop rbx
ret