joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034b90
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140034ba2
add rcx, 8
jmp fcn.14008cb0d
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.140034d33
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.140034e07
test rdx, rdx
jne 0x140034c45
mov rcx, r15
mov rdx, rsi
call fcn.140033676
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x140034cd4
test eax, eax
je 0x140034c45
cmp qword [rsi + 0x110], 0
je 0x140034c28
mov rcx, r15
mov rdx, rsi
call fcn.140034390
cmp qword [rsp + 0x28], 0
jne 0x140034cd4
cmp qword [rsp + 0x30], 0
je 0x140034c45
and qword [rsi + 0x110], 0
mov rcx, r15
mov rdx, rsi
call fcn.140034593
cmp byte [rsp + 0x28], 0
jne 0x140034cd4
cmp byte [rsp + 0x29], 0
je 0x140034bce
mov rcx, rsi
call fcn.140034e07
mov r15, rdx
test rax, rax
je 0x140034cd9
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, [0x1400c8b78]
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140034347
mov rbx, rax
mov r14, rdx
lea r9, [0x1400c8b90]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.14003217a
mov r9, rdx
lea rcx, [0x1400c8ba8]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.140003282
mov rax, qword [rsi + 0x58]
add rax, r12
cmp rax, qword [rsi + 0x50]
ja 0x140034d1a
mov qword [rsi + 0x58], rax
mov rcx, rdi
mov rdx, r12
call fcn.140034da0
xor r15d, r15d
jmp 0x140034d00
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.14000edb6
cmp al, 0xd
jne 0x140034d00
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.14001e785
mov eax, 1
jmp 0x140034d07
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400c8ce6]
lea r8, [0x1400c8d28]
mov edx, 0x3b
call fcn.140096e20
int3

Function at 0x14003822f
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
add byte [rax], al
Function at 0x140048e31
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6b8
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x80], rcx
mov rdx, qword [rdx + 0x400]
add rdx, 0x10
lea rsi, [rsp + 0x1c0]
mov rcx, rsi
call fcn.14000bb9f
lea rdx, str.C:Users1.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srcproto_streams_streams.rs
mov rcx, rsi
call fcn.14003f2ed
mov rcx, qword [rax + 0x28]
or rcx, qword [rax + 0x38]
je 0x140048e90
mov rcx, rax
call fcn.140089cef
jmp 0x140048ebc
mov rsi, qword [rax + 0x230]
mov rcx, rax
call fcn.140089cef
cmp rsi, 1
ja 0x140048ebc
mov rdx, qword [rdi + 0x400]
add rdx, 0x10
lea rcx, [rdi + 0x3a0]
call fcn.140051c82
mov rax, qword [rdi + 0x378]
cmp rax, 2
jne 0x140048ed7
mov qword [rsp + 0x1c0], 2
jmp 0x140048f37
lea rsi, [rdi + 0x378]
lea rdx, [rdi + 0x390]
test rax, rax
je 0x140048f0c
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x140048f1a
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x1c0]
mov rcx, r15
mov rdx, rsi
call fcn.14008eac7
mov qword [r15 + 0x18], r14
mov rax, qword [rdi + 0x398]
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
movups xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x450], xmm0
mov qword [rsp + 0x440], rcx
mov qword [rsp + 0x448], rdx
mov qword [rsp + 0x460], rax
cmp dword [rsp + 0x440], 2
je 0x140048f95
lea rdx, [rsp + 0x458]
lea rcx, [rsp + 0x440]
call fcn.14008eb22
mov qword [rsp + 0x5c8], 2
and qword [rsp + 0x5e8], 0
lea r15, [rdi + 0x48]
lea rax, [rdi + 0x3a0]
mov qword [rsp + 0x1a8], rax
lea rax, [rdi + 0x410]
mov qword [rsp + 0x1a0], rax
lea r13, [rsp + 0xd8]
lea r14, [rsp + 0x1c0]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x88], r15
Function at 0x1400789fb
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x140078a69
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x90], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x98], rdx
cmp qword [rcx + 0x30], rax
je 0x140078aa4
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140078a9b
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x1400f7080]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140078a88
jmp 0x140078a9d
xor edx, edx
mov dword [rsp + 0xa0], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x140078af6
mov rax, r15
shr rax, 0x3c
jne 0x140078bb8
mov rbx, qword [rcx + 8]
mov ecx, 8
mov rdx, rsi
call fcn.14008ec97
test rax, rax
je 0x140078bbd
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x140078ae1
mov eax, r15d
jmp 0x140078afd
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1400cb933]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x140078b54
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x140078b8c
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.14008ec97
test rax, rax
je 0x140078bca
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
xor r14d, r14d
test r15, r15
je 0x140078ba1
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.14000bb80
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400024c0
mov ecx, 8
mov rdx, rsi
call fcn.1400969e0
mov ecx, 8
mov edx, 0x20
call fcn.1400969e0
int3

Function at 0x140079248
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x140079272
mov rdx, qword [rsp + 0x20]
jmp 0x14007927a
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140083370
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1400ff2e0]
mov ecx, 0x10
mov edx, 8
call fcn.140002330
test rax, rax
je 0x140083447
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400834e0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140083439
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x140083416
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.1400023c0
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.1400023c0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400969e0
ud2

Function at 0x140083610
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140083653
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140080dc0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140096c60
ud2

Function at 0x140086a30
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
and al, 0x20

Function at 0x14008c1cd
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14008c1d4
test al, 1
je 0x14008c1f3
test al, 2
jne 0x14008c20b
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1400d1398]
mov edx, 0x23
call fcn.140096e20
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1400d13d8]
mov edx, 0x25
call fcn.140096e20
int3
Function at 0x14008cd5d
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xc0]
lea rbp, [rsp + 0x3a]
lea r13, [rsp + 0x52]
xor ecx, ecx
cmp qword [rdx + 0x18], 0xffffffffffffffff
lea r15, [rdx + 0x18]
cmove r15, rcx
mov r12d, 0x7fffffff
cmp rax, r12
cmovb r12, rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], r15
mov rdx, qword [r14 + 0x10]
mov rcx, rsi
mov r8, rbx
call fcn.14008cab5
mov al, byte [rsp + 0x39]
cmp al, 3
je 0x14008cecf
mov rcx, qword [rsp + 0x30]
cmp al, 2
je 0x14008cedd
mov dl, byte [rsp + 0x38]
movzx r8d, word [rbp + 4]
mov word [r13 + 4], r8w
mov r8d, dword [rbp]
mov dword [r13], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
mov rcx, r15
lea rdx, str.C:Users1.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rs
call fcn.14001f138
mov rcx, qword [r15]
mov rdx, rdi
mov r8d, r12d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14008ceef
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.14000edb6
cmp al, 0xd
jne 0x14008ce9f
mov rax, qword [r15 + 8]
test rax, rax
je 0x14008ce9f
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14008cf21
mov r15, r14
mov r14, rbx
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.14002b771
mov rbx, rax
xor ecx, ecx
call fcn.140029d76
test rbx, rbx
je 0x14008ce94
mov ecx, 1
mov rdx, rsi
call fcn.14002b896
mov rsi, rbx
mov rbx, r14
mov r14, r15
mov r15, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140087a56
cmp al, 0xd
jne 0x14008cf00
mov qword [rsp + 0x30], rsi
mov rcx, r14
lea rdx, [rsp + 0x48]
call fcn.14008c852
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140087ccf
jmp 0x14008cdb3
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x14008cf10
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x14008cf10
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x14008cf10
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005510]
mov dword [rax], 1
mov rax, qword [0x140005520]
mov dword [rax], 1
mov rax, qword [0x140005530]
mov dword [rax], 1
mov rax, qword [0x140005500]
mov dword [rax], 1
mov rax, qword [0x1400053d0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
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 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001ca0
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 r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x1400028d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140009188]
test eax, eax
je 0x14000296a
lea rax, [0x140009160]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140009190]
mov qword [rbp - 8], rax
jmp 0x14000294e
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 0x140002942
cmp qword [rbp - 0x10], 0
je 0x140002942
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 0x140002908
lea rax, [0x140009160]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000296b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140002a70
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 0x140002a98
mov eax, 0
jmp 0x140002ae6
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 0x140002ac1
mov eax, 0
jmp 0x140002ae6
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 0x140002ae1
mov eax, 0
jmp 0x140002ae6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140002aec
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 0x140002b6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002b61
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 0x140002b61
mov rax, qword [rbp - 8]
jmp 0x140002b7f
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 0x140002b34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1401a1314
Capabilities:
Parse pe header

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

Function at 0x1401a179c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1401a1814
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1401a1814
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1401a1814
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1401a1808
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1401a1826
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1401a17f6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1401a1816

Function at 0x1401b4638
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1401b466f
call fcn.1401b79f4
mov dword [rax], 0x16
call fcn.1401b958c
xor eax, eax
jmp 0x1401b46fd
mov rdx, r9
mov rcx, r8
call fcn.1401b4720
mov rbx, rax
test rax, rax
je 0x1401b46fa
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401b4790]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401b46e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401b7a34
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401b46ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401b46dd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140154630
jmp 0x1401b46fa
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401b46f7
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800025d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002677
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002677
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x50d87ef8
lea rdx, [r11 + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002672
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002650
cmp r8d, 0x3aa6cae6
je 0x18000267c
test r9d, r9d
jne 0x180002630
mov rax, qword [rax]
jmp 0x180002600
mov ecx, dword [rbx + 0x24]
mov edx, dword [rbx + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
mov rcx, rbp
add rax, r10
call rax
mov rcx, 0xffffffffffffffff
lea rsi, [rax + 1]
mov eax, 2
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.18000fdc0
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180002745
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002745
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0xcbf1457f
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x180002740
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x180002720
cmp edx, 0xe5f94f0f
je 0x18000274a
test r9d, r9d
jne 0x180002700
mov rcx, qword [rcx]
jmp 0x1800026d0
mov ecx, dword [r11 + 0x24]
mov r8, rsi
add rcx, r10
mov rdx, rbp
movzx r9d, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + r9*4]
mov rcx, rdi
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002790
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002837
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002837
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x5028f0e0
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002832
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002810
cmp r8d, 0x9d308224
je 0x18000283c
test r9d, r9d
jne 0x1800027f0
mov rax, qword [rax]
jmp 0x1800027c0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret