joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4cb54c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cb5ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb5c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cb5c1
mov rax, qword [rbp - 8]
jmp 0x2fc4cb5df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cb594
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dc810
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dd212
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc501108]
test eax, eax
je 0x2fc4dd2aa
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc501110]
mov qword [rbp - 8], rax
jmp 0x2fc4dd28e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dd282
cmp qword [rbp - 0x10], 0
je 0x2fc4dd282
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dd248
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dd2ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dd3b0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dd3d8
mov eax, 0
jmp 0x2fc4dd426
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dd401
mov eax, 0
jmp 0x2fc4dd426
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dd421
mov eax, 0
jmp 0x2fc4dd426
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dd42c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dd4aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dd4a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dd4a1
mov rax, qword [rbp - 8]
jmp 0x2fc4dd4bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dd474
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dae70
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4db872
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4db90a
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4db8ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4db8e2
cmp qword [rbp - 0x10], 0
je 0x2fc4db8e2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4db8a8
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4db90b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dba10
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dba38
mov eax, 0
jmp 0x2fc4dba86
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dba61
mov eax, 0
jmp 0x2fc4dba86
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dba81
mov eax, 0
jmp 0x2fc4dba86
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dba8c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dbb0a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dbb01
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dbb01
mov rax, qword [rbp - 8]
jmp 0x2fc4dbb1f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dbad4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002c10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140007600], rbx
je 0x140002c5c
cmp rax, rbx
jne 0x140002c4f
mov ebx, 1
mov esi, ebx
jmp 0x140002c61
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140002c34
mov ebx, 1
mov eax, dword [0x140007608]
cmp eax, ebx
jne 0x140002c77
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140002cdc
mov eax, dword [0x140007608]
test eax, eax
jne 0x140002cd6
mov dword [0x140007608], ebx
lea r15, [0x1400043a0]
lea rdi, [0x140004388]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140002cc8
test eax, eax
jne 0x140002ccc
cmp qword [rdi], 0
je 0x140002cbd
mov rax, qword [rdi]
mov rcx, qword [vtable.H_MA8HI.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140002c9e
test eax, eax
je 0x140002cdc
mov eax, 0xff
jmp 0x140002db8
mov dword [0x140007034], ebx
mov eax, dword [0x140007608]
cmp eax, ebx
jne 0x140002d03
lea rdx, [0x140004380]
lea rcx, [0x140004370]
call sub.msvcrt.dll__initterm
mov dword [0x140007608], 2
test esi, esi
jne 0x140002d10
xor eax, eax
xchg qword [0x140007600], rax
cmp qword [0x140007610], 0
je 0x140002d44
lea rcx, [0x140007610]
call fcn.140003280
test eax, eax
je 0x140002d44
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140007610]
mov r9, qword [vtable.H_MA8HI.0]
call r9
mov r8, qword [0x140007048]
mov rdx, qword [0x140007040]
mov ecx, dword [0x140007038]
call fcn.140002724
mov dword [0x140007030], eax
cmp dword [0x140007050], 0
jne 0x140002d74
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140007034], 0
jne 0x140002d89
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140007030]
jmp 0x140002db8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14018d000
add rsp, 0x28
jmp 0x140002c10

Function at 0x14000316c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400031b8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400031b0
cmp dword [rcx + 0x3c], edx
jl 0x1400031b0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400031b0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400031b8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x2fc4dbbb0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dc5b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc501108]
test eax, eax
je 0x2fc4dc64a
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc501110]
mov qword [rbp - 8], rax
jmp 0x2fc4dc62e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dc622
cmp qword [rbp - 0x10], 0
je 0x2fc4dc622
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dc5e8
lea rax, [0x2fc5010e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dc64b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dc750
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dc778
mov eax, 0
jmp 0x2fc4dc7c6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dc7a1
mov eax, 0
jmp 0x2fc4dc7c6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dc7c1
mov eax, 0
jmp 0x2fc4dc7c6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dc7cc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dc84a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dc841
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dc841
mov rax, qword [rbp - 8]
jmp 0x2fc4dc85f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dc814
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002268
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov al, byte [rcx]
mov r8, rcx
or edx, 0xffffffff
jmp 0x14000229e
movzx eax, al
mov r9d, 7
xor edx, eax
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov edx, ecx
xor edx, eax
sub r9d, 1
jns 0x14000227d
inc r8
mov al, byte [r8]
test al, al
jne 0x140002272
not edx
mov eax, edx
ret
Function at 0x14000d338
Capabilities:
Encode data using xor

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, 0x40
xor ebx, ebx
mov r15, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
cmp byte [rcx + 8], bl
je 0x14000d528
test r9, r9
je 0x14000d505
movsxd r9, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r15
div r9
test rdx, rdx
jne 0x14000d505
cmp dword [rsp + 0x80], 1
jne 0x14000d437
mov r12d, ebx
test rax, rax
je 0x14000d418
lea r14, [rcx + 0x3f8]
mov rcx, r14
cmp byte [rdi + 8], bl
je 0x14000d54b
mov r8d, ebx
test r9d, r9d
jle 0x14000d3d8
mov rdx, rbp
sub rdx, r14
mov al, byte [rdx + rcx]
inc r8d
xor byte [rcx], al
inc rcx
cmp r8d, dword [rdi + 0x3d0]
jl 0x14000d3c4
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14000cff0
movsxd r8, dword [rdi + 0x3d0]
mov rdx, rsi
mov rcx, r14
call fcn.140051390
movsxd r9, dword [rdi + 0x3d0]
xor edx, edx
mov rax, r15
inc r12d
div r9
add rbp, r9
movsxd rcx, r12d
add rsi, r9
cmp rcx, rax
jb 0x14000d3aa
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
cmp dword [rsp + 0x80], 2
jne 0x14000d4ca
mov r12d, ebx
test rax, rax
je 0x14000d418
lea r14, [rcx + 0x3f8]
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.14000cff0
mov rcx, rsi
cmp byte [rdi + 8], bl
je 0x14000d56e
mov eax, dword [rdi + 0x3d0]
mov r8d, ebx
test eax, eax
jle 0x14000d497
mov rdx, rbp
sub rdx, rsi
mov al, byte [rdx + rcx]
inc r8d
xor byte [rcx], al
inc rcx
mov eax, dword [rdi + 0x3d0]
cmp r8d, eax
jl 0x14000d481
movsxd r8, eax
mov rdx, rsi
mov rcx, r14
call fcn.140051390
movsxd rcx, dword [rdi + 0x3d0]
xor edx, edx
mov rax, r15
inc r12d
div rcx
add rbp, rcx
add rsi, rcx
movsxd rcx, r12d
cmp rcx, rax
jb 0x14000d454
jmp 0x14000d418
test rax, rax
je 0x14000d418
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.14000cff0
movsxd rcx, dword [rdi + 0x3d0]
xor edx, edx
mov rax, r15
inc ebx
div rcx
add rbp, rcx
add rsi, rcx
movsxd rcx, ebx
cmp rcx, rax
jb 0x14000d4d3
jmp 0x14000d418
mov rdx, qword [0x1400a50d8]
lea rcx, [rsp + 0x20]
call fcn.14002a038
lea rdx, [0x1400a2580]
lea rcx, [rsp + 0x20]
call fcn.140051b8c
int3
mov rdx, qword [0x1400a50d0]
lea rcx, [rsp + 0x20]
call fcn.14002a038
lea rdx, [0x1400a2580]
lea rcx, [rsp + 0x20]
call fcn.140051b8c
int3
mov rdx, qword [0x1400a50d0]
lea rcx, [rsp + 0x20]
call fcn.14002a038
lea rdx, [0x1400a2580]
lea rcx, [rsp + 0x20]
call fcn.140051b8c
int3
mov rdx, qword [0x1400a50d0]
lea rcx, [rsp + 0x20]
call fcn.14002a038
lea rdx, [0x1400a2580]
lea rcx, [rsp + 0x20]
call fcn.140051b8c
int3
Function at 0x140013084
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
call fcn.140012b00
xor r10d, r10d
test eax, eax
js 0x1400132b1
mov ecx, dword [rbx + 0xf0]
mov eax, ecx
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x14001310e
lea rdx, [rbx + 8]
lea rdx, [rdx + r9*4]
lea r8, [rbx + 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov eax, dword [rdx - 8]
sub r9, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
lea r8, [r8 + 0x10]
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
lea rdx, [rdx - 0x10]
mov ecx, dword [r8 - 0xc]
mov dword [r8 - 0xc], eax
mov dword [rdx + 0x14], ecx
cmp r10, r9
jl 0x1400130bf
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x1400132af
lea r10, [rbx + 2]
lea rdi, [0x140000000]
lea r10, [r10 + 0x10]
inc r11d
mov r8d, dword [r10 - 2]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x7bba0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x7c3a0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x7c7a0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
xor r9d, dword [rdi + rcx*4 + 0x7bfa0]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, byte [r10 + 3]
mov r8d, dword [rdi + rdx*4 + 0x7bba0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x7c3a0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x7bfa0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x7c7a0]
movzx edx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, byte [r10 + 7]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x7bba0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x7c3a0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x7bfa0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x7c7a0]
movzx edx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, byte [r10 + 0xb]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x7bba0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, byte [r10 + 0xc]
xor r8d, dword [rdi + rcx*4 + 0x7c3a0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x7bfa0]
movzx ecx, byte [rdi + rax*4 + 0x7b7a0]
xor r8d, dword [rdi + rcx*4 + 0x7c7a0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140013128
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e72c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.140050080
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1140], rbx
mov qword [rsp + 0x1148], rdi
mov qword [rsp + 0x1150], r15
movsxd rdi, r8d
mov rbx, rcx
movdqa xmm0, xmmword [0x14007d090]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call fcn.140029000
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.14000b734
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14001e7d2
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e7cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e9b3
call fcn.14004fa5c
movdqa xmm0, xmmword [0x14007d090]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov r15d, 0x400
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.1400517f0
xor r9d, r9d
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub r8, rdx
je 0x14001e828
lea rcx, [rbp - 0x50]
lea rax, [rbp - 0x50]
sub rdx, rax
mov al, byte [rdx + rcx]
mov byte [rcx], al
inc r9d
inc rcx
movsxd rax, r9d
cmp rax, r8
jb 0x14001e815
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0xc30]
call fcn.1400517f0
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0x830]
call fcn.1400517f0
mov word [rsp + 0x4e], 0x3939
mov dword [rsp + 0x30], 0x37383843
mov dword [rsp + 0x3f], 0x42324436
mov dword [rsp + 0x35], 0x44433234
mov word [rsp + 0x48], 0x4342
mov dword [rsp + 0x43], 0x42413436
mov word [rsp + 0x3c], 0x3945
mov word [rsp + 0x39], 0x4132
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x3b], 0x37
mov byte [rsp + 0x34], 0x44
mov word [rsp + 0x4b], 0x3836
mov byte [rsp + 0x4a], 0x46
mov byte [rsp + 0x47], 0x43
mov byte [rsp + 0x3e], 0x46
mov byte [rsp + 0x4d], 0x46
lea r8, [rsp + 0x30]
mov rdx, r15
lea rcx, [rbp + 0x830]
call fcn.140056fcc
lea rcx, [rbp + 0x3b0]
call fcn.14000cfc4
nop
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 0x20
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x830]
lea rcx, [rbp + 0x3b0]
call fcn.14001efcc
mov r9, qword [rsp + 0x60]
sub r9, qword [rsp + 0x58]
mov dword [rsp + 0x20], 1
lea r8, [rbp + 0xc30]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x3b0]
call fcn.14002010c
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rdx, [rbp + 0xc30]
add rdx, rdi
mov rcx, rbx
call fcn.140029000
nop
lea rcx, [rbp + 0x3b0]
call fcn.14000cfdc
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001e991
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e98c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e9ad
call fcn.14004fa5c
mov rax, rbx
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r15, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400541b4
nop
call fcn.1400541b4
nop
int3