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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
xor r10d, r10d
mov rsi, rdx
mov r8, rcx
mov eax, 0x811c9dc5
test rdi, rdi
je 0x14003cc87
nop word [rax + rax]
movzx r9d, byte [rdx + r10]
inc r10
imul rax, rax, 0x1000193
xor rax, r9
cmp r10, rdi
jb 0x14003cc70
mov ecx, dword [rcx]
xor edx, edx
div rcx
mov rax, qword [r8 + 0x18]
mov rbx, qword [rax + rdx*8]
test rbx, rbx
je 0x14003cccb
mov rbx, qword [rbx]
test rbx, rbx
je 0x14003cccb
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003ccdd
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14003ccb0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003ccf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov rdi, r9
mov r15, r8
mov rsi, rdx
mov rbp, rcx
mov eax, 0x811c9dc5
mov r11d, r13d
test r9, r9
je 0x14003cd47
nop dword [rax]
nop word [rax + rax]
movzx r10d, byte [rdx + r11]
inc r11
imul rax, rax, 0x1000193
xor rax, r10
cmp r11, rdi
jb 0x14003cd30
mov ecx, dword [rcx]
xor edx, edx
div rcx
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x50], rbx
lea r12, [rdx*8]
mov r14, qword [r12 + rax]
test r14, r14
jne 0x14003ce29
mov edx, 8
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x14003cd97
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x53
jmp 0x14003cdc3
mov edx, 0x20
mov qword [rax], r13
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r8, rax
test rax, rax
jne 0x14003cdf1
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x5a
lea r8, str.D:ProgrammierenVisual_StudioBibliotekenlibxlsxwriter_srchash_table.c
mov rcx, rax
lea rdx, str._ERROR___s:_d_:_Memory_allocation_failed._n
call fcn.14000efc0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x14003cee1
mov qword [rax], rsi
lea rdx, [rax + 0x10]
mov qword [rax + 8], r15
mov qword [rax + 0x18], r13
mov rax, qword [rbp + 0x10]
mov qword [rbx], r8
mov qword [rdx], r13
mov rcx, qword [rax + 8]
mov qword [rcx], r8
mov rax, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp + 0x18]
mov qword [r12 + rax], rbx
inc dword [rbp + 4]
jmp 0x14003cedb
mov rbx, qword [r14]
test rbx, rbx
je 0x14003ce4c
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003ce97
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14003ce31
mov edx, 0x20
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r8, rax
test rax, rax
jne 0x14003ceb0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x82
lea r8, str.D:ProgrammierenVisual_StudioBibliotekenlibxlsxwriter_srchash_table.c
mov rcx, rax
lea rdx, str._ERROR___s:_d_:_Memory_allocation_failed._n
call fcn.14000efc0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x14003cee1
cmp byte [rbp + 0xd], r13b
je 0x14003cea7
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 8], r15
mov rax, rbx
jmp 0x14003cee1
mov qword [rax], rsi
lea rdx, [r8 + 0x10]
mov qword [rax + 8], r15
mov rax, qword [r14]
mov qword [r8 + 0x18], rax
mov qword [r14], r8
mov qword [rdx], r13
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rcx], r8
mov rax, qword [rbp + 0x10]
mov qword [rax + 8], rdx
inc dword [rbp + 8]
mov rax, r8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140045920
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xorps xmm0, xmm0
mov rdi, rcx
xor ebx, ebx
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x91]
mov qword [rsp + 0x20], rbx
xor edx, edx
movaps xmmword [rsp + 0x60], xmm0
mov r8d, 0x104
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm0
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x1a1]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140063568]
mov qword [rsp + 0x30], rdi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov byte [rsp + 0x90], bl
test rax, rax
je 0x1400459d3
mov r8d, 0x104
lea rcx, [rsp + 0x90]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rax, [rsp + 0x90]
mov byte [rsp + 0x194], bl
jmp 0x1400459d6
mov rax, rbx
lea rcx, str.TEMP
mov qword [rsp + 0x38], rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov byte [rsp + 0x1a0], bl
test rax, rax
je 0x140045a1c
mov r8d, 0x104
lea rcx, [rsp + 0x1a0]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rax, [rsp + 0x1a0]
mov byte [rsp + 0x2a4], bl
jmp 0x140045a1f
mov rax, rbx
mov qword [rsp + 0x40], rax
lea rax, [0x140063574]
mov qword [rsp + 0x48], rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], ebx
nop dword [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
lea r8, [rsp + 0x20]
lea rdx, str.tmp.
call fcn.140045680
mov rdi, rax
test rax, rax
jne 0x140045a67
inc rbx
cmp rbx, 4
jl 0x140045a40
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140056840
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2c0
pop rdi
ret
Function at 0x140055ef8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140055f32
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140055f37
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140055f80
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140059780]
cmp byte [rcx + rax], 0
je 0x140055f80
dec r8
sub rdx, 1
jne 0x140055f66
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140057520
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005756a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005756a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005756a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005756a
cmp dword [rcx + 0x84], 0xe
jbe 0x14005756a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005756c
xor al, al
add rsp, 0x28
ret
Function at 0x140002480
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140044b04], 0
lea rdi, [0x140044b00]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002558
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400024b0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000258e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002570
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400025cf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400025b3
cmp byte [r8], r9b
jne 0x1400025b3
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 [rdi + rdx*4]
test r9b, r9b
jne 0x1400025a0
not eax
pop rdi
ret
Function at 0x1400027d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x1400027e9
mov qword [r8], 0
lea rdx, [0x1400397b8]
call fcn.1400025e0
mov rbx, rax
test rax, rax
jne 0x140002808
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
xor edx, edx
mov r8d, 2
mov qword [rsp + 0x38], rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028ca
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400028ca
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400028ca
mov rax, qword [0x1400448e0]
mov rbp, rsi
test rax, rax
je 0x140002867
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400028ca
mov r9, rbx
mov r8, rbp
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, rbp
je 0x1400028b7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400448e0]
test rax, rax
je 0x1400028ac
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400028d3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400028c5
mov qword [rdi], rbp
mov rax, rsi
jmp 0x1400028d5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140012500
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400448e0]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14001261a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001255a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140013530
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14001256e
mov edx, 8
mov rcx, rbx
call fcn.140013530
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x1400125ba
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140012590
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x1400125c9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x1400397bc]
test rax, rax
movsxd rsi, esi
lea rdi, [0x1400448d8]
mov rcx, r15
cmovne rdi, rax
call fcn.1400025e0
mov rbx, rax
test rax, rax
je 0x140012615
mov r9, rax
mov r8, rsi
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 + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001a530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001a792
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, 0x100
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x14003df80]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001a5fa
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001a619
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001a730
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001a660
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001a663
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140015860
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140018190
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001a650
jmp 0x14001a737
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, 0x100
sub qword [rsp + 0x60], 1
jne 0x14001a5b0
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x14001126c
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400151f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015210
xor al, al
jmp 0x140015291
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015223
xor al, al
jmp 0x140015291
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 0x14001524d
xor al, al
jmp 0x140015291
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015261
xor al, al
jmp 0x140015291
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015273
xor al, al
jmp 0x140015291
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001528f
xor al, al
jmp 0x140015291
mov al, 1
add rsp, 0x38
ret
Function at 0x1400194d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x18]
mov rbx, r8
mov rdi, rcx
test edx, edx
je 0x14001951a
inc rbx
mov byte [r8], 8
cmp edx, 0x80
jb 0x140019515
nop word [rax + rax]
movzx eax, dl
shr edx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp edx, 0x80
jae 0x140019500
mov byte [rbx], dl
inc rbx
mov ecx, dword [rcx + 0x1c]
test ecx, ecx
je 0x14001954a
mov byte [rbx], reloc.WS2_32.dll_recv
inc rbx
cmp ecx, 0x80
jb 0x140019545
nop
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x140019530
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x20]
test ecx, ecx
je 0x14001957a
mov byte [rbx], 0x18
inc rbx
cmp ecx, 0x80
jb 0x140019575
nop
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x140019560
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x24]
test ecx, ecx
je 0x1400195aa
mov byte [rbx], 0x20
inc rbx
cmp ecx, 0x80
jb 0x1400195a5
nop
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x140019590
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x28]
test ecx, ecx
je 0x1400195da
mov byte [rbx], 0x28
inc rbx
cmp ecx, 0x80
jb 0x1400195d5
nop
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x1400195c0
mov byte [rbx], cl
inc rbx
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140019618
cmp qword [rcx + 0x18], 0x10
jb 0x1400195f1
mov rcx, qword [rcx]
lea r9, str.ygx_kservice.msg.DiskMappingInfo.diskname
mov r8d, 1
mov edx, eax
call fcn.1400ed210
mov rcx, qword [rdi + 0x10]
lea rdx, [rbx + 1]
mov byte [rbx], 0x32
call fcn.1400ceec0
mov rbx, rax
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
je 0x14001964a
mov byte [rbx], 0x38
inc rbx
cmp ecx, 0x80
jb 0x140019645
nop dword [rax]
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x140019630
mov byte [rbx], cl
inc rbx
test byte [rdi + 8], 1
je 0x140019673
cmp byte [0x14024a158], 0
je 0x140019673
mov rcx, qword [rdi + 8]
mov rdx, rbx
and rcx, 0xfffffffffffffffe
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400ea080
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002cb20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [rcx + 0x10]
mov r9, rcx
test edx, edx
je 0x14002cb5c
mov byte [r8], 8
inc r8
cmp edx, 0x80
jb 0x14002cb56
nop dword [rax]
movzx eax, dl
shr edx, 7
or al, 0x80
mov byte [r8], al
inc r8
cmp edx, 0x80
jae 0x14002cb40
mov byte [r8], dl
inc r8
mov ecx, dword [rcx + 0x14]
test ecx, ecx
je 0x14002cb8e
mov byte [r8], reloc.WS2_32.dll_recv
lea rdx, [r8 + 1]
cmp ecx, 0x80
jb 0x14002cb88
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rdx], al
inc rdx
cmp ecx, 0x80
jae 0x14002cb73
mov byte [rdx], cl
lea r8, [rdx + 1]
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x14002cbcb
mov byte [r8], 0x18
lea rdx, [r8 + 1]
cmp ecx, 0x80
jb 0x14002cbc5
nop word [rax + rax]
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rdx], al
inc rdx
cmp ecx, 0x80
jae 0x14002cbb0
mov byte [rdx], cl
lea r8, [rdx + 1]
mov ecx, dword [r9 + 0x1c]
test ecx, ecx
je 0x14002cbfe
mov byte [r8], 0x20
lea rdx, [r8 + 1]
cmp ecx, 0x80
jb 0x14002cbf8
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rdx], al
inc rdx
cmp ecx, 0x80
jae 0x14002cbe3
mov byte [rdx], cl
lea r8, [rdx + 1]
test byte [r9 + 8], 1
je 0x14002cc1e
cmp byte [0x14024a158], 0
je 0x14002cc1e
mov rcx, qword [r9 + 8]
mov rdx, r8
and rcx, 0xfffffffffffffffe
jmp fcn.1400ea080
mov rax, r8
ret
Function at 0x14002e190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, r8
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14002e1de
cmp qword [rcx + 0x18], 0x10
jb 0x14002e1b7
mov rcx, qword [rcx]
lea r9, str.ygx_kservice.msg.CMD_KSVR_CONSL_GETTEMPTURE_response.Temperature.client
mov r8d, 1
mov edx, eax
call fcn.1400ed210
mov rcx, qword [rdi + 0x10]
lea rdx, [rbx + 1]
mov byte [rbx], 0xa
call fcn.1400ceec0
mov rbx, rax
mov ecx, dword [rdi + 0x18]
test ecx, ecx
je 0x14002e20d
mov byte [rbx], reloc.WS2_32.dll_recv
inc rbx
cmp ecx, 0x80
jb 0x14002e208
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x14002e1f3
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x1c]
test ecx, ecx
je 0x14002e23c
mov byte [rbx], 0x18
inc rbx
cmp ecx, 0x80
jb 0x14002e237
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x14002e222
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x20]
test ecx, ecx
je 0x14002e26b
mov byte [rbx], 0x20
inc rbx
cmp ecx, 0x80
jb 0x14002e266
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x14002e251
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x24]
test ecx, ecx
je 0x14002e29a
mov byte [rbx], 0x28
inc rbx
cmp ecx, 0x80
jb 0x14002e295
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x14002e280
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x28]
test ecx, ecx
je 0x14002e2ca
mov byte [rbx], 0x30
inc rbx
cmp ecx, 0x80
jb 0x14002e2c5
nop
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x14002e2b0
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
je 0x14002e2fa
mov byte [rbx], 0x38
inc rbx
cmp ecx, 0x80
jb 0x14002e2f5
nop
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x14002e2e0
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x30]
test ecx, ecx
je 0x14002e32a
mov byte [rbx], 0x40
inc rbx
cmp ecx, 0x80
jb 0x14002e325
nop
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x14002e310
mov byte [rbx], cl
inc rbx
mov ecx, dword [rdi + 0x34]
test ecx, ecx
je 0x14002e35a
mov byte [rbx], 0x48
inc rbx
cmp ecx, 0x80
jb 0x14002e355
nop
movzx eax, cl
shr ecx, 7
or al, 0x80
mov byte [rbx], al
inc rbx
cmp ecx, 0x80
jae 0x14002e340
mov byte [rbx], cl
inc rbx
test byte [rdi + 8], 1
je 0x14002e383
cmp byte [0x14024a158], 0
je 0x14002e383
mov rcx, qword [rdi + 8]
mov rdx, rbx
and rcx, 0xfffffffffffffffe
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400ea080
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret