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

Disassembly:
movsx eax, byte [rcx]
test al, al
je 0x14000a417
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.14000a400
mov eax, edx
ret

Function at 0x14000a420
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 8], 0
mov rsi, rcx
je 0x14000a51a
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
lea rbp, [0x140000000]
mov qword [rsp + 0x78], rdi
xor edi, edi
mov ebx, edi
nop dword [rax]
movzx eax, byte [rbx + rbp + 0x99980]
mov ecx, edi
mov byte [rbx + rbp + 0x99a80], al
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
lea rbx, [rbx + 1]
setne al
inc edi
mov byte [rbx + rbp + 0x9997f], al
cmp edi, 0x100
jl 0x14000a460
mov rdi, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rdx, qword [rsi]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [0x140099538], 0
movsd xmm0, qword [0x140099b88]
movd xmm1, dword [rsp + 0x38]
movd xmm2, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
movss dword [0x140099b88], xmm1
movss dword [0x140099b8c], xmm2
movsd qword [0x140099b80], xmm0
jne 0x14000a507
mov byte [0x140099538], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140049a80
add rsp, 0x50
pop rsi
ret
lea rdx, str.No_window_from_where_input_should_be_read_from_specified_in_function_parameter.
lea rcx, [rsp + 0x20]
call fcn.140001160
lea rdx, [0x140094b50]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14000a540
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
test rcx, rcx
je 0x14000a62f
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
lea rbp, [0x140000000]
mov qword [rsp + 0x78], rdi
xor edi, edi
mov ebx, edi
nop dword [rax + rax]
movzx eax, byte [rbx + rbp + 0x99980]
mov ecx, edi
mov byte [rbx + rbp + 0x99a80], al
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
lea rbx, [rbx + 1]
setne al
inc edi
mov byte [rbx + rbp + 0x9997f], al
cmp edi, 0x100
jl 0x14000a580
mov rdi, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [0x140099538], 0
movsd xmm0, qword [0x140099b88]
movd xmm1, dword [rsp + 0x38]
movd xmm2, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
movss dword [0x140099b88], xmm1
movss dword [0x140099b8c], xmm2
movsd qword [0x140099b80], xmm0
jne 0x14000a61c
mov byte [0x140099538], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140049a80
add rsp, 0x50
pop rsi
ret
lea rdx, str.No_window_from_where_input_should_be_read_from_specified_in_function_parameter.
lea rcx, [rsp + 0x20]
call fcn.140001160
lea rdx, [0x140094b50]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14000ed90
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
lea rcx, str.IP_Getter
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, 1
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbp, rax
test rax, rax
je 0x14000ef6e
mov qword [rsp + 0x28], rsi
lea rdx, str.http:__api.ipify.org_
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x14000ef65
lea r9, [rsp + 0x38]
mov dword [rsp + 0x38], esi
mov r8d, 0x1f
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14000ef5c
cmp rax, 0x20
jae 0x14000efcc
mov rcx, rbx
mov byte [rsp + rax + 0x40], sil
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov rbx, 0xffffffffffffffff
mov qword [rdi + 0x18], rsi
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x14000ee80
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x14000efd8
cmp rbx, 0xf
ja 0x14000eec7
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x40]
mov qword [rdi + 0x18], 0xf
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], sil
jmp 0x14000efa6
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x14000eefc
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140049aa0
test rax, rax
je 0x14000ef2c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000ef3b
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
test rcx, rcx
je 0x14000ef3b
cmp rcx, 0x1000
jb 0x14000ef33
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000efd2
jmp 0x14000eee1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049aa0
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
jmp 0x14000efa6
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 7
mov qword [rdi + 0x18], 0xf
mov rax, qword [str.Unknown]
mov dword [rdi], eax
movzx eax, word [0x14008cbd4]
mov word [rdi + 4], ax
movzx eax, byte [0x14008cbd6]
mov byte [rdi + 6], al
mov byte [rdi + 7], sil
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140049a80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140049e60
int3
call fcn.1400012c0
int3
call fcn.140001360
int3
Function at 0x14000efe0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rdi, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
test eax, eax
je 0x14000f161
mov qword [rsp + 0x168], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x170], rbp
mov rbx, 0xffffffffffffffff
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
inc rbx
cmp byte [rax + rbx], sil
jne 0x14000f053
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x14000f198
cmp rbx, 0xf
ja 0x14000f09a
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x30]
mov qword [rdi + 0x18], 0xf
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], sil
jmp 0x14000f12d
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x14000f0cf
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140049aa0
test rax, rax
je 0x14000f0ff
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000f10e
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
test rcx, rcx
je 0x14000f10e
cmp rcx, 0x1000
jb 0x14000f106
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000f19e
jmp 0x14000f0b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049aa0
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rsp + 0x30]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rbx, qword [rsp + 0x168]
mov rax, rdi
mov rbp, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140049a80
mov rsi, qword [rsp + 0x178]
add rsp, 0x150
pop rdi
ret
mov qword [rdi + 0x10], 7
mov qword [rdi + 0x18], 0xf
mov rax, qword [str.Unknown]
mov dword [rdi], eax
movzx eax, word [0x14008cbd4]
mov word [rdi + 4], ax
movzx eax, byte [0x14008cbd6]
mov byte [rdi + 6], al
mov rax, rdi
mov byte [rdi + 7], sil
jmp 0x14000f140
call fcn.140001360
int3
call fcn.1400012c0
int3
Function at 0x14000f1b0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rdi, rcx
mov dword [rsp + 0x28], 0x400
lea rcx, [rsp + 0x30]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
test eax, eax
je 0x14000f331
mov qword [rsp + 0x458], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x460], rbp
mov rbx, 0xffffffffffffffff
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
inc rbx
cmp byte [rax + rbx], sil
jne 0x14000f223
movabs rbp, 0x7fffffffffffffff
cmp rbx, rbp
ja 0x14000f368
cmp rbx, 0xf
ja 0x14000f26a
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x30]
mov qword [rdi + 0x18], 0xf
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], sil
jmp 0x14000f2fd
mov rax, rbx
or rax, 0xf
cmp rax, rbp
jbe 0x14000f29f
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140049aa0
test rax, rax
je 0x14000f2cf
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000f2de
mov ecx, 0x16
mov rbp, rax
cmp rax, rcx
cmovb rbp, rcx
lea rcx, [rbp + 1]
test rcx, rcx
je 0x14000f2de
cmp rcx, 0x1000
jb 0x14000f2d6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000f36e
jmp 0x14000f284
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049aa0
mov rsi, rax
mov r8, rbx
mov qword [rdi], rsi
lea rdx, [rsp + 0x30]
mov qword [rdi + 0x10], rbx
mov rcx, rsi
mov qword [rdi + 0x18], rbp
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rbx, qword [rsp + 0x458]
mov rax, rdi
mov rbp, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140049a80
mov rsi, qword [rsp + 0x468]
add rsp, 0x440
pop rdi
ret
mov qword [rdi + 0x10], 7
mov qword [rdi + 0x18], 0xf
mov rax, qword [str.Unknown]
mov dword [rdi], eax
movzx eax, word [0x14008cbd4]
mov word [rdi + 4], ax
movzx eax, byte [0x14008cbd6]
mov byte [rdi + 6], al
mov rax, rdi
mov byte [rdi + 7], sil
jmp 0x14000f310
call fcn.140001360
int3
call fcn.1400012c0
int3
Function at 0x140014e40
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x70
mov rax, qword [0x140098040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, dword [0x1400994cc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edi, edi
test ax, ax
jne 0x140014e6f
mov qword [0x1400994a0], rdi
mov ecx, dword [0x1400994cc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140015036
mov qword [rsp + 0x80], rbx
mov rbx, qword [0x1400994a0]
movaps xmmword [rsp + 0x60], xmm6
test rbx, rbx
jne 0x140014f8e
mov rax, qword [0x140099bc8]
xorps xmm0, xmm0
sub rax, qword [0x140099bc0]
movss xmm6, dword [0x1400980e0]
sar rax, 3
mov qword [rsp + 0x30], rdi
movdqu xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x140014f6e
movabs rcx, 0x1fffffffffffffff
cmp rax, rcx
ja 0x14001504f
lea rbx, [rax*8]
test rbx, rbx
je 0x140014f32
cmp rbx, 0x1000
jb 0x140014f27
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140015049
call fcn.140049aa0
test rax, rax
je 0x140014f20
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140014f32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140049aa0
mov rdi, rax
mov rdx, qword [0x140099bc0]
lea rcx, [rbx + rdi]
mov rbx, qword [0x140099bc8]
sub rbx, rdx
mov qword [rsp + 0x30], rcx
mov r8, rbx
mov qword [rsp + 0x20], rdi
mov rcx, rdi
mov qword [rsp + 0x28], rdi
call sub.VCRUNTIME140.dll_memmove
sar rbx, 3
lea rax, [rdi + rbx*8]
mov qword [rsp + 0x28], rax
movaps xmm1, xmm6
lea rcx, [rsp + 0x20]
call fcn.140014840
mov qword [0x1400994a0], rax
mov rbx, rax
test rax, rax
je 0x140015029
mov rcx, qword [0x140098588]
add rcx, 0x2960
call fcn.1400189b0
lea rcx, [rax + 8]
call fcn.1400189b0
sub rax, 0xa8
cmp rbx, rax
jne 0x140014fda
mov rcx, qword [0x140098588]
add rcx, 0x2960
call fcn.1400189b0
lea rcx, [rax + 8]
call fcn.1400189b0
lea rcx, [rax + 0x128]
jmp 0x140014fe1
lea rcx, [rbx + 0x1d0]
call fcn.1400189b0
mov r8d, 0xc
mov dword [rsp + 0x48], 0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
lea rcx, [rax + 0x2c]
call fcn.14000dc00
movsd xmm0, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
mov eax, dword [rsp + 0x48]
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
call fcn.14000e340
movaps xmm6, xmmword [rsp + 0x60]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140049a80
add rsp, 0x70
pop rdi
ret
call fcn.1400012c0
int3
call fcn.14000d010
int3
Function at 0x14001b550
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140099c84], 0
lea rdi, [0x140099c80]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x14001b628
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 0x14001b580
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14001b65e
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 0x14001b640
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14001b69f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14001b683
cmp byte [r8], r9b
jne 0x14001b683
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 0x14001b670
not eax
pop rdi
ret
Function at 0x14001b8a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x14001b8b9
mov qword [r8], 0
lea rdx, [0x14008d820]
call fcn.14001b6b0
mov rbx, rax
test rax, rax
jne 0x14001b8d8
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 0x14001b99a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14001b99a
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 0x14001b99a
mov rax, qword [0x1400994d8]
mov rbp, rsi
test rax, rax
je 0x14001b937
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 0x14001b99a
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 0x14001b987
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400994d8]
test rax, rax
je 0x14001b97c
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001b9a3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14001b995
mov qword [rdi], rbp
mov rax, rsi
jmp 0x14001b9a5
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 0x14002ad50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400994d8]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14002ae6a
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 0x14002adaa
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.14002bd80
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x14002adbe
mov edx, 8
mov rcx, rbx
call fcn.14002bd80
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 0x14002ae0a
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 0x14002ade0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x14002ae19
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14008d824]
test rax, rax
movsxd rsi, esi
lea rdi, [0x1400994d6]
mov rcx, r15
cmovne rdi, rax
call fcn.14001b6b0
mov rbx, rax
test rax, rax
je 0x14002ae65
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 0x140032770
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 0x1400329d2
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, pe_nt_image_headers64
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 [0x14008e480]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14003283a
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 0x140032859
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 0x140032970
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 0x1400328a0
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x1400328a3
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.14002daa0
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.1400303d0
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 0x140032890
jmp 0x140032977
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x1400327f0
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 0x140036200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x1400363b9
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140036296
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140035b70
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.140035160
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x140036287
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.14002ba00
mov dword [rbx + 0x80], 0
jmp 0x1400363a5
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.140034040
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret