joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f490
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 + 0x5358], 0
lea rbx, [rcx + 0x5360]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001f537
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001f4ea
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.140021e10
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140009340
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5358]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5368]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140089df8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001f53f
mov rcx, rbx
call fcn.140009340
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f860
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
mov rbx, qword [0x140089e00]
xor ebp, ebp
cmp byte [rbx + 0x52a0], bpl
jne 0x14001f93f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001f938
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140008cc0
mov rsi, rax
test rax, rax
je 0x14001f938
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001f8c4
mov rcx, rax
call fcn.14001fa90
mov r8, qword [0x140089e00]
test r8, r8
je 0x14001f92f
movsx rdx, word [r8 + 0x5438]
lea rcx, [r8 + 0x543c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001f924
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5438], cx
movsx rax, cx
lea rcx, [r8 + 0x543c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x5434]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x52a0], 1
movss xmm0, dword [rbx + 0x52a4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001f9ce
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52a4], xmm0
jb 0x14001f9ce
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001f9c1
mov rax, qword [0x140089e00]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52a4], ebp
call fcn.14001fcf0
lea rdx, [0x140051034]
mov rcx, rdi
mov rsi, rax
call fcn.140008b10
mov rdi, rax
test rax, rax
je 0x14001f9c8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001f9c8
mov byte [rbx + 0xb4], 1
mov dword [rbx + 0x52a4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f9f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140089e00]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001fa53
mov qword [rsp], rbx
lea rbx, [0x140051560]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001fa33
cmp byte [r8], r9b
jne 0x14001fa33
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 0x14001fa20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52b8]
not eax
mov r8, qword [r10 + 0x52c0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001fa7f
cmp dword [r8 + 8], eax
je 0x14001fa86
add r8, 0x48
cmp r8, rcx
jne 0x14001fa70
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400400c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, edx
and r11d, 7
je 0x14004014f
cmp edx, r11d
jge 0x14004013e
mov r8d, dword [rcx + 0x18]
mov eax, 1
mov ecx, edx
mov r9d, edx
shl eax, cl
cmp r8d, eax
jae 0x140040134
mov r10, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r10
jb 0x1400400ff
xor cl, cl
jmp 0x140040108
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r9 + 8]
mov ecx, r9d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x18], r8d
cmp edx, 0x18
jg 0x14004013e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r9d, edx
cmp r8d, eax
jb 0x1400400f3
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x18]
mov ecx, r11d
shr eax, cl
sub edx, r11d
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov r9d, edx
test edx, edx
jle 0x140040192
mov eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
lea edx, [r9 - 8]
mov byte [rcx], r10b
lea rcx, [rcx + 1]
inc r8d
mov dword [rbx + 0x18], eax
mov r9d, edx
movzx r10d, al
test edx, edx
jg 0x140040170
mov dword [rbx + 0x10], edx
jns 0x1400401b8
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x1400401e7
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400401d1
xor dl, dl
jmp 0x1400401da
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1400401c8
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x140040194
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140040251
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x20]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x30]
jbe 0x14004026b
mov rcx, rbx
call fcn.14003f4d0
test eax, eax
je 0x140040244
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x20], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14004e238
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14021b68d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14021b69d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14021b685
lea eax, [rcx + 1]
jmp 0x14021b6ab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14021b6be
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14021b6a4
sub eax, 3
jb 0x14021b6de
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14021b72d
sar eax, 1
movsxd rbp, eax
jb 0x14021b714
jmp 0x14021b6ec
add ebx, ebx
jne 0x14021b6ea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14021b714
inc ecx
add ebx, ebx
jne 0x14021b6fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14021b714
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14021b70d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14021b6fc
add ecx, 2
jmp 0x14021b719
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14021b642
jmp 0x14021b68d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5d000
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14021b779
cmp rsi, rcx
jae 0x14021b781
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14021b760
cmp al, 0x8f
ja 0x14021b760
cmp byte [rsi - 2], 0xf
je 0x14021b766
sub al, 0xe8
cmp al, 1
ja 0x14021b74a
cmp rsi, rcx
jae 0x14021b781
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14021b750
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14021b781
lodsb al, byte [rsi]
jmp 0x14021b760
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x219000]
mov eax, dword [rdi]
or eax, eax
je 0x14021b7de
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x21b000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14021b78e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14021b7d8
mov qword [rbx], rax
add rbx, 8
jmp 0x14021b7ae
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14021b818
cmp al, 0xef
ja 0x14021b80a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14021b7ea
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14021b7f9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1a7]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.14021b897], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14021b897
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14021b887
sub rsp, 0xffffffffffffff80
jmp 0x140047210
Function at 0x18000a1c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, 0x40
shl rax, 4
mov rbx, rcx
cmp rax, 0x400
cmovbe edi, edx
cmp edi, dword [rcx]
je 0x18000a336
mov rax, qword [0x18012e3e8]
test rax, rax
je 0x18000a1f7
call rax
mov ecx, edi
shl rcx, 4
call fcn.180005ab0
mov rcx, qword [0x18012e3f0]
mov rdi, rax
test rcx, rcx
je 0x18000a213
call rcx
test rdi, rdi
je 0x18000a336
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.180005f40
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x180126f80]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call fcn.1800d0180
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x18000a321
lea r11, [0x180111820]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x18000a2a1
nop
movzx edx, dl
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea edx, [rax*8]
xor r8d, edx
movzx edx, byte [r9]
xor eax, r8d
test dl, dl
jne 0x18000a280
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x18000a2f9
mov eax, dword [r8]
test eax, eax
je 0x18000a2c1
mov rdx, qword [r8 + 8]
jmp 0x18000a2c4
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x18000a2f9
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x18000a2ef
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x18000a315
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x18000a315
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x18000a30d
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x18000a270
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x18000a350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r11, qword [rcx + 0x10]
lea rsi, [0x180111820]
xor r9d, r9d
mov rdi, rdx
mov rbx, rcx
test r11, r11
je 0x18000a3bd
movzx eax, byte [rdx]
mov r10, rdx
test al, al
je 0x18000a3a2
movzx eax, al
lea r10, [r10 + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [r10]
xor r9d, ecx
test al, al
jne 0x18000a382
mov eax, r9d
xor edx, edx
div dword [rbx]
mov eax, edx
shl rax, 4
add rax, r11
mov r9d, edx
mov r11, qword [rax + 8]
mov ebx, dword [rax]
jmp 0x18000a3c4
mov r11, qword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [r8], r9d
test ebx, ebx
je 0x18000a430
nop dword [rax + rax]
mov r10, qword [r11 + 0x18]
dec ebx
mov r8, rdi
movzx r9d, byte [r10]
test r9b, r9b
je 0x18000a415
movzx eax, r9b
sub r10, rdi
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + rsi]
cmp byte [rcx + rsi], al
jne 0x18000a415
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x18000a3f0
movzx eax, byte [r8]
movzx ecx, byte [rax + rsi]
movzx eax, r9b
movzx eax, byte [rax + rsi]
cmp eax, ecx
je 0x18000a442
mov r11, qword [r11]
test ebx, ebx
jne 0x18000a3d0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x18000a460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rsi, rdx
lea r8, [rsp + 0x58]
mov rdi, rcx
call fcn.18000a350
mov rcx, rax
test rax, rax
je 0x18000a558
mov qword [rsp + 0x40], r14
mov r14, qword [rax + 0x10]
test rbp, rbp
jne 0x18000a53b
mov rdx, qword [rax + 8]
mov rax, qword [rax]
test rdx, rdx
je 0x18000a4ae
mov qword [rdx], rax
jmp 0x18000a4b2
mov qword [rdi + 8], rax
mov rdx, qword [rcx]
test rdx, rdx
je 0x18000a4c2
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x18000a4e5
mov edx, dword [rsp + 0x58]
shl rdx, 4
add rdx, rax
cmp qword [rdx + 8], rcx
jne 0x18000a4e3
mov rax, qword [rcx]
mov qword [rdx + 8], rax
dec dword [rdx]
call fcn.180005f40
add dword [rdi + 4], 0xffffffff
jne 0x18000a543
mov rsi, qword [rdi + 8]
xor ebp, ebp
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 8], rbp
call fcn.180005f40
mov qword [rdi + 0x10], rbp
mov dword [rdi], ebp
test rsi, rsi
je 0x18000a523
nop
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.180005f40
mov rsi, rbx
test rbx, rbx
jne 0x18000a510
mov rax, r14
mov dword [rdi + 4], ebp
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, r14
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
test rbp, rbp
je 0x18000a675
mov ecx, 0x20
call fcn.180005ab0
mov rbx, rax
test rax, rax
jne 0x18000a583
mov rax, rbp
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
xor ebp, ebp
mov qword [rax + 0x18], rsi
inc dword [rdi + 4]
mov edx, dword [rdi + 4]
cmp edx, 0xa
jb 0x18000a5e4
mov eax, dword [rdi]
add eax, eax
cmp edx, eax
jbe 0x18000a5e4
add edx, edx
mov rcx, rdi
call fcn.18000a1c0
test eax, eax
je 0x18000a5e4
movzx ecx, byte [rsi]
mov eax, ebp
test cl, cl
je 0x18000a5de
lea r8, [0x180111820]
nop
movzx ecx, cl
lea rsi, [rsi + 1]
movzx edx, byte [rcx + r8]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rsi]
xor eax, edx
test cl, cl
jne 0x18000a5c0
xor edx, edx
div dword [rdi]
jmp 0x18000a5e8
mov edx, dword [rsp + 0x58]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x18000a659
mov ecx, edx
shl rcx, 4
add rcx, rax
je 0x18000a659
mov eax, dword [rcx]
test eax, eax
je 0x18000a608
mov rdx, qword [rcx + 8]
jmp 0x18000a60b
mov rdx, rbp
inc eax
mov qword [rcx + 8], rbx
mov dword [rcx], eax
test rdx, rdx
je 0x18000a659
mov qword [rbx], rdx
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x18000a642
mov qword [rax], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rdi + 8], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x18000a66d
mov qword [rax + 8], rbx
mov qword [rbx + 8], rbp
mov qword [rdi + 8], rbx
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800353f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.180005ab0
mov rbx, rax
test rax, rax
jne 0x18003542b
lea eax, [rbx + 7]
jmp 0x180035496
cmp dword [0x180126f44], 0
je 0x180035468
mov qword [rax + 0x10], rbp
lea r8, [0x180008890]
mov qword [rax + 0x18], rsi
mov r9, rbx
add rax, 8
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.1800d5094
mov qword [rbx], rax
test rax, rax
jne 0x180035478
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x180035491
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18003e610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x30
mov r14, qword [rcx + 0x10]
xor r10d, r10d
mov rbx, rcx
mov esi, r9d
add rcx, 0x88
mov ebp, r8d
nop dword [rax]
cmp dword [rcx + 0xc], 0
jle 0x18003e652
cmp dword [rcx], esi
jne 0x18003e652
movsx eax, word [rcx + 4]
cmp eax, ebp
je 0x18003e6a8
inc r10d
add rcx, 0x14
cmp r10d, 0xa
jl 0x18003e640
mov qword [rsp + 0x40], rdi
mov r9d, ebp
mov edi, dword [rsp + 0x60]
mov r8d, esi
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.18003e520
movzx r8d, byte [rsp + 0x68]
test r8b, r8b
je 0x18003e74f
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x18003e75f
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], r8b
jmp 0x18003e75f
mov eax, dword [rbx + 0x74]
mov dword [rcx + 0x10], eax
inc dword [rbx + 0x74]
mov eax, dword [rcx + 0xc]
cmp dword [rbx + 0x94], eax
jne 0x18003e6c3
mov byte [rbx + 0x8e], 0
cmp dword [rbx + 0xa8], eax
jne 0x18003e6d2
mov byte [rbx + 0xa2], 0
cmp dword [rbx + 0xbc], eax
jne 0x18003e6e1
mov byte [rbx + 0xb6], 0
cmp dword [rbx + 0xd0], eax
jne 0x18003e6f0
mov byte [rbx + 0xca], 0
cmp dword [rbx + 0xe4], eax
jne 0x18003e6ff
mov byte [rbx + 0xde], 0
cmp dword [rbx + 0xf8], eax
jne 0x18003e70e
mov byte [rbx + 0xf2], 0
cmp dword [rbx + 0x10c], eax
jne 0x18003e71d
mov byte [rbx + 0x106], 0
cmp dword [rbx + 0x120], eax
jne 0x18003e72c
mov byte [rbx + 0x11a], 0
cmp dword [rbx + 0x134], eax
jne 0x18003e73b
mov byte [rbx + 0x12e], 0
cmp dword [rbx + 0x148], eax
jne 0x18003e74a
mov byte [rbx + 0x142], 0
mov eax, dword [rcx + 0xc]
jmp 0x18003e766
mov r9d, edi
mov r8d, ebp
mov edx, esi
mov rcx, rbx
call fcn.18003ddf0
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1800409a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov ebp, r8d
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x180040b28
test rdx, rdx
je 0x180040b28
mov r9d, dword [rdx + 4]
mov r11d, dword [rcx + 4]
mov qword [rsp + 0x30], rsi
mov esi, r9d
or esi, r11d
bt esi, 0xa
jae 0x180040a14
and r9d, r11d
bt r9d, 0xa
jae 0x180040b1e
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
jne 0x180040b1e
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx r8d, byte [rcx]
cmp r8b, byte [rdx]
je 0x180040a5c
cmp r8b, 0x5f
jne 0x180040a34
mov rcx, qword [rcx + 0x10]
mov r8d, ebp
call fcn.1800409a0
cmp eax, 2
jl 0x180040a55
cmp byte [rbx], 0x5f
jne 0x180040b1e
mov rdx, qword [rbx + 0x10]
mov r8d, ebp
mov rcx, rdi
call fcn.1800409a0
cmp eax, 2
jge 0x180040b1e
mov eax, 1
jmp 0x1800409ff
lea eax, [r8 + 0x66]
test al, 0xfd
je 0x180040a9b
mov rax, qword [rcx + 8]
test rax, rax
je 0x180040a9b
mov r10, qword [rdx + 8]
sub r10, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r10]
sub edx, ecx
jne 0x180040a87
inc rax
test ecx, ecx
jne 0x180040a74
test edx, edx
je 0x180040a9b
xor eax, eax
cmp r8b, 0x5f
setne al
inc eax
jmp 0x1800409ff
xor r9d, r11d
test r9b, 0x10
jne 0x180040b1e
bt esi, 0xe
jb 0x1800409fd
bt esi, 0xb
jb 0x180040b1e
mov rdx, qword [rbx + 0x10]
mov r8d, ebp
mov rcx, qword [rdi + 0x10]
call fcn.1800409a0
test eax, eax
jne 0x180040b1e
mov rdx, qword [rbx + 0x18]
mov r8d, ebp
mov rcx, qword [rdi + 0x18]
call fcn.1800409a0
test eax, eax
jne 0x180040b1e
mov rdx, qword [rbx + 0x20]
mov r8d, ebp
mov rcx, qword [rdi + 0x20]
call fcn.180040b50
test eax, eax
jne 0x180040b1e
bt esi, 0xd
jb 0x1800409fd
movzx eax, word [rbx + 0x30]
cmp word [rdi + 0x30], ax
jne 0x180040b1e
mov ecx, dword [rdi + 0x2c]
mov eax, dword [rbx + 0x2c]
cmp ecx, eax
je 0x1800409fd
cmp ecx, ebp
jne 0x180040b1e
test eax, eax
js 0x1800409fd
mov eax, 2
jmp 0x1800409ff
mov rbp, qword [rsp + 0x40]
xor eax, eax
cmp rbx, rdi
mov ecx, 2
mov rbx, qword [rsp + 0x38]
cmove ecx, eax
mov eax, ecx
add rsp, 0x20
pop rdi
ret