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

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1408c1a40]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea eax, [rcx - 0xe0]
xor ebx, ebx
lea rdx, [0x140000000]
mov r8d, ecx
cmp eax, 7
ja case.default.0x140073598
cdqe
mov eax, dword [rdx + rax*4 + 0x737a0]
add rax, rdx
jmp rax
or byte [0x1408c2f98], 1
jmp 0x140073666
or byte [0x1408c2f98], 2
jmp 0x140073666
or byte [0x1408c2f98], 4
jmp 0x140073666
or byte [0x1408c2f98], 8
jmp 0x140073666
or byte [0x1408c2f98], 0x10
jmp 0x140073666
or byte [0x1408c2f98], 0x20
jmp 0x140073666
or byte [0x1408c2f98], 0x40
jmp 0x140073666
or byte [0x1408c2f98], 0x80
jmp 0x140073666
mov rcx, rbx
nop word [rax + rax]
movsx eax, byte [rcx + rdx + 0x8c2f9a]
cmp eax, r8d
je 0x140073666
inc rcx
cmp rcx, 0xa
jl 0x140073600
mov ecx, ebx
mov rax, rbx
nop dword [rax + rax]
cmp byte [rax + rdx + 0x8c2f9a], bl
je 0x14007365b
inc ecx
inc rax
cmp rax, 0xa
jl 0x140073620
movzx eax, word [0x1408c2fa3]
movsd xmm0, qword [0x1408c2f9b]
mov word [0x1408c2fa2], ax
mov byte [0x1408c2fa3], r8b
movsd qword [0x1408c2f9a], xmm0
jmp 0x140073666
movsxd rax, ecx
mov byte [rax + rdx + 0x8c2f9a], r8b
cmp qword [0x1408c2fb8], rbx
ja 0x140073687
mov eax, 0xffffdcd8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
inc dword [0x1408c2738]
mov dword [0x1408c273c], 0x123c2c2f
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsd xmm0, qword [0x1408c2f99]
lea rdx, [0x1408c2730]
mov rcx, qword [0x1408c2fb8]
xor r9d, r9d
mov dword [0x1408c2734], eax
mov r8d, 0x1c
movzx eax, byte [0x1408c2f98]
mov byte [0x1408c2740], al
movzx eax, word [0x1408c2fa1]
mov word [0x1408c2749], ax
movzx eax, byte [0x1408c2fa3]
mov byte [0x1408c274b], al
lea rax, [0x1408c2f50]
mov dword [rsp + 0x28], socket
mov qword [rsp + 0x20], rax
movsd qword [0x1408c2741], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1408c2fb8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1408c2b40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], socket
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140073761
mov eax, 0xffffdcdb
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
mov eax, dword [0x1408c273c]
cmp dword [0x1408c2b4c], eax
je 0x140073776
mov ebx, 0xffffdcdc
jmp 0x14007378a
mov ecx, dword [0x1408c2738]
mov eax, 0xffffdcdd
cmp dword [0x1408c2b48], ecx
cmovne ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
Function at 0x1400737c0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1408c1a40]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea eax, [rcx - 0xe0]
xor ebx, ebx
mov r8d, ecx
cmp eax, 7
ja case.default.0x1400737f8
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x739d8]
add rcx, rdx
jmp rcx
and byte [0x1408c2f98], 0xfe
jmp 0x14007389e
and byte [0x1408c2f98], 0xfd
jmp 0x14007389e
and byte [0x1408c2f98], 0xfb
jmp 0x14007389e
and byte [0x1408c2f98], 0xf7
jmp 0x14007389e
and byte [0x1408c2f98], 0xef
jmp 0x14007389e
and byte [0x1408c2f98], 0xdf
jmp 0x14007389e
and byte [0x1408c2f98], 0xbf
jmp 0x14007389e
and byte [0x1408c2f98], 0x7f
jmp 0x14007389e
mov r9d, ebx
lea r10, [0x1408c2f9a]
mov rcx, rbx
nop dword [rax + rax]
movsx eax, byte [rcx + r10]
lea edx, [r9 + 1]
cmp eax, r8d
je 0x14007387c
inc rcx
mov r9d, edx
cmp rcx, 0xa
jl 0x140073860
jmp 0x14007389e
mov eax, 0xa
movsxd rdx, edx
sub eax, r9d
movsxd rcx, r9d
movsxd r8, eax
add rdx, r10
add rcx, r10
call sub.VCRUNTIME140.dll_memcpy
mov byte [0x1408c2fa3], bl
cmp qword [0x1408c2fb8], rbx
ja 0x1400738bf
mov eax, 0xffffdcd8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
inc dword [0x1408c2738]
mov dword [0x1408c273c], 0x123c2c2f
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsd xmm0, qword [0x1408c2f99]
lea rdx, [0x1408c2730]
mov rcx, qword [0x1408c2fb8]
xor r9d, r9d
mov dword [0x1408c2734], eax
mov r8d, 0x1c
movzx eax, byte [0x1408c2f98]
mov byte [0x1408c2740], al
movzx eax, word [0x1408c2fa1]
mov word [0x1408c2749], ax
movzx eax, byte [0x1408c2fa3]
mov byte [0x1408c274b], al
lea rax, [0x1408c2f50]
mov dword [rsp + 0x28], socket
mov qword [rsp + 0x20], rax
movsd qword [0x1408c2741], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1408c2fb8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1408c2b40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], socket
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140073999
mov eax, 0xffffdcdb
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
mov eax, dword [0x1408c273c]
cmp dword [0x1408c2b4c], eax
je 0x1400739ae
mov ebx, 0xffffdcdc
jmp 0x1400739c2
mov ecx, dword [0x1408c2738]
mov eax, 0xffffdcdd
cmp dword [0x1408c2b48], ecx
cmovne ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
Function at 0x140073a00
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1408c1a40]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x1408c2fb8], 0
mov ebx, ecx
ja 0x140073a39
mov eax, 0xffffdcd8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
inc dword [0x1408c2738]
mov dword [0x1408c273c], 0x9823ae8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x1408c2734], eax
test ebx, ebx
je 0x140073a62
or dword [0x1408c2f60], 1
jmp 0x140073a69
and dword [0x1408c2f60], 0xfffffffe
movups xmm0, xmmword [0x1408c2f60]
mov rcx, qword [0x1408c2fb8]
lea rax, [0x1408c2f50]
movups xmm1, xmmword [0x1408c2f70]
lea rdx, [0x1408c2730]
mov dword [rsp + 0x28], socket
movaps xmmword [0x1408c2740], xmm0
xor r9d, r9d
movups xmm0, xmmword [0x1408c2f80]
mov r8d, 0x48
mov qword [rsp + 0x20], rax
movaps xmmword [0x1408c2750], xmm1
movsd xmm1, qword [0x1408c2f90]
movaps xmmword [0x1408c2760], xmm0
movsd qword [0x1408c2770], xmm1
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1408c2fb8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1408c2b40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], socket
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140073b29
mov eax, 0xffffdcdb
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
mov eax, dword [0x1408c273c]
cmp dword [0x1408c2b4c], eax
je 0x140073b4f
mov eax, 0xffffdcdc
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
mov ecx, dword [0x1408c2738]
xor eax, eax
cmp dword [0x1408c2b48], ecx
mov edx, 0xffffdcdd
cmovne eax, edx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x50
pop rbx
ret
Function at 0x140073b80
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1408c1a40]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x1408c2fb8], 0
movsx edi, dx
movsx ebx, cx
ja 0x140073bb3
mov eax, 0xffffdcd8
jmp 0x140073cbe
inc dword [0x1408c2738]
mov dword [0x1408c273c], 0xaede7345
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movups xmm1, xmmword [0x1408c2f70]
mov rcx, qword [0x1408c2fb8]
lea rdx, [0x1408c2730]
mov dword [0x1408c2f64], ebx
xor r9d, r9d
mov dword [0x1408c2f68], edi
mov r8d, 0x48
movups xmm0, xmmword [0x1408c2f60]
mov dword [0x1408c2734], eax
lea rax, [0x1408c2f50]
movaps xmmword [0x1408c2750], xmm1
movsd xmm1, qword [0x1408c2f90]
movaps xmmword [0x1408c2740], xmm0
movups xmm0, xmmword [0x1408c2f80]
mov dword [rsp + 0x28], socket
movsd qword [0x1408c2770], xmm1
movaps xmmword [0x1408c2760], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1408c2fb8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1408c2b40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], socket
xor ebx, ebx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov qword [0x1408c2f64], rbx
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140073c93
mov eax, 0xffffdcdb
jmp 0x140073cbe
mov eax, dword [0x1408c273c]
cmp dword [0x1408c2b4c], eax
je 0x140073ca8
mov ebx, 0xffffdcdc
jmp 0x140073cbc
mov ecx, dword [0x1408c2738]
mov eax, 0xffffdcdd
cmp dword [0x1408c2b48], ecx
cmovne ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a3ff0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140097880
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 0x10]
mov rbx, rcx
cmp rax, 0xffffffffffffffff
je 0x140097899
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0x30], 0
lea rcx, [rbx + 0x18]
mov dword [rsp + 0x28], 0x40000080
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x10]
cmp rax, 0xffffffffffffffff
je 0x140097927
lea rax, [rsp + 0x50]
mov byte [rbx + 0xb4], 1
mov qword [rsp + 0x28], rax
lea r8, [0x1400a23f0]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xa0], rax
mov rax, qword [rbx + 0xa0]
test rax, rax
jne 0x14009792f
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], 0xffffffffffffffff
xor al, al
add rsp, 0x40
pop rbx
ret
mov al, 1
add rsp, 0x40
pop rbx
ret

Function at 0x140097940
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
cmp rax, 0xffffffffffffffff
je 0x1400979d9
mov byte [rcx + 0xb4], 0
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetCommMask]
mov rcx, qword [rbx + 0xd8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0xa0]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14009799c
mov rcx, qword [rbx + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xd8]
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0x10], 0xffffffffffffffff
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ResetEvent]
add rsp, 0x20
pop rbx
ret
Function at 0x140099a60
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rax, vtable._thread_com.0
mov rbx, rcx
mov qword [rcx], rax
mov rax, qword [rcx + 0x10]
cmp rax, 0xffffffffffffffff
je 0x140099afd
mov byte [rcx + 0xb4], 0
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetCommMask]
mov rcx, qword [rbx + 0xd8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0xa0]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140099ac6
mov rcx, qword [rbx + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0xd8]
mov qword [rbx + 0xa0], 0
mov qword [rbx + 0x10], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0xd8]
cmp rcx, 0xffffffffffffffff
je 0x140099b10
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400999e0
Function at 0x14009bb90
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x450
mov rax, qword [0x1408c1a40]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r8, qword [rcx + 0x68]
mov rdi, rcx
add rcx, 0x58
cmp qword [rcx + 0x18], 0xf
jbe 0x14009bbc0
mov rcx, qword [rcx]
cmp r8, 6
jne 0x14009bc58
lea rdx, str.Memory
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009bc58
mov rdx, qword [0x1408c26c0]
lea r8, [rsp + 0x30]
add rdx, 0x769b660
mov dword [rsp + 0x30], 5
mov r9d, 4
lea rcx, [0x1408c2690]
call fcn.140070930
movd xmm0, dword [rdi + 0x44]
movss xmm1, dword [0x1400ac9dc]
cvtdq2ps xmm0, xmm0
call fcn.14009c2e0
cvttss2si ecx, xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [0x1408c26c0]
lea r8, [rsp + 0x30]
add rdx, 0x769b660
mov dword [rsp + 0x30], 4
mov r9d, 4
lea rcx, [0x1408c2690]
call fcn.140070930
jmp 0x14009bde0
mov qword [rsp + 0x468], rbx
lea rbx, [rdi + 0x138]
cmp qword [rbx + 0x18], 0xf
mov rcx, rbx
mov qword [rsp + 0x470], rsi
mov rsi, qword [rbx + 0x10]
jbe 0x14009bc80
mov rcx, qword [rbx]
cmp rsi, 3
jne 0x14009bcce
mov r8, rsi
lea rdx, [0x1400b2a98]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009bcce
mov ecx, 1
call fcn.140073a00
movd xmm0, dword [rdi + 0x44]
movss xmm1, dword [0x1400ac9dc]
cvtdq2ps xmm0, xmm0
call fcn.14009c2e0
cvttss2si ecx, xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.140073a00
jmp 0x14009bdd0
cmp qword [rbx + 0x18], 0xf
jbe 0x14009bcd8
mov rbx, qword [rbx]
cmp rsi, 4
jne 0x14009bdd0
mov r8, rsi
lea rdx, str.BPro
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009bdd0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
lea rdx, str.km.click_0__r_n
lea rcx, [rsp + 0x40]
call fcn.140098b70
movd xmm0, dword [rdi + 0x44]
movss xmm1, dword [0x1400ac9dc]
cvtdq2ps xmm0, xmm0
call fcn.14009c2e0
cvttss2si ecx, xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14009bd50
mov rax, qword [rdi + 0x1b8]
cmp rax, 0xffffffffffffffff
je 0x14009bdd0
mov rcx, qword [rdi + 0x1b8]
lea rdx, [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ClearCommError]
test eax, eax
je 0x14009bd98
cmp dword [rsp + 0x30], 0
jbe 0x14009bd98
mov rcx, qword [rdi + 0x1b8]
mov edx, 5
call qword [sym.imp.KERNEL32.dll_PurgeComm]
mov rcx, qword [rdi + 0x1b8]
lea rax, [rdi + 0x228]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, ebx
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14009bdd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x468]
mov rsi, qword [rsp + 0x470]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x450
pop rdi
ret
Function at 0x14009c010
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x1408c1a40]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rbx, [rcx + 0x138]
mov rdi, rcx
cmp qword [rbx + 0x18], 0xf
mov r14d, r8d
mov rsi, qword [rbx + 0x10]
mov ebp, edx
mov rcx, rbx
jbe 0x14009c050
mov rcx, qword [rbx]
cmp rsi, 3
jne 0x14009c07a
mov r8, rsi
lea rdx, [0x1400b2a98]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009c07a
movzx edx, r14w
movzx ecx, bp
call fcn.140073b80
jmp 0x14009c160
cmp qword [rbx + 0x18], 0xf
jbe 0x14009c084
mov rbx, qword [rbx]
cmp rsi, 4
jne 0x14009c160
mov r8, rsi
lea rdx, str.BPro
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009c160
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x400
call sub.VCRUNTIME140.dll_memset
mov r9d, r14d
lea rdx, str.km.move__d___d__r_n
mov r8d, ebp
lea rcx, [rsp + 0x40]
call fcn.140098b70
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14009c0e0
mov rax, qword [rdi + 0x1b8]
cmp rax, 0xffffffffffffffff
je 0x14009c160
mov rcx, qword [rdi + 0x1b8]
lea rdx, [rsp + 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ClearCommError]
test eax, eax
je 0x14009c128
cmp dword [rsp + 0x30], 0
jbe 0x14009c128
mov rcx, qword [rdi + 0x1b8]
mov edx, 5
call qword [sym.imp.KERNEL32.dll_PurgeComm]
mov rcx, qword [rdi + 0x1b8]
lea rax, [rdi + 0x228]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r8d, ebx
mov dword [rsp + 0x34], 0
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14009c160
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400a3ff0
add rsp, 0x450
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14009c2e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.1400a42f0
sub rsp, rax
movaps xmmword [rsp + 0x13d0], xmm6
movaps xmmword [rsp + 0x13c0], xmm7
mov rax, qword [0x1408c1a40]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
comiss xmm0, xmm1
movaps xmm6, xmm1
movaps xmm7, xmm0
jbe 0x14009c320
movaps xmm6, xmm0
movaps xmm7, xmm1
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x24], eax
mov edx, 1
mov r9d, 0x270
mov dword [rsp + 0x13a4], 0xffffffff
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, r9
jb 0x14009c340
movss xmm1, dword [0x1400ac990]
lea r8, [rsp + 0x28]
mov dword [rsp + 0x20], r9d
xorps xmm2, xmm2
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14009c370
mov eax, dword [rsp + 0x20]
subss xmm6, xmm7
xorps xmm0, xmm0
mov ecx, dword [rsp + rax*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2ss xmm0, rax
subss xmm0, xmm2
mulss xmm0, xmm1
mulss xmm1, dword [0x1400b6ce4]
addss xmm0, xmm2
divss xmm0, xmm1
addss xmm0, xmm2
mulss xmm0, xmm6
addss xmm0, xmm7
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400a3ff0
movaps xmm6, xmmword [rsp + 0x13d0]
movaps xmm7, xmmword [rsp + 0x13c0]
add rsp, 0x13e8
ret
Function at 0x1400a4798
Capabilities:
Parse pe header

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

Function at 0x1400a4bc8
Capabilities:
Get geographical location

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

Function at 0x1400a5308
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400a4c7c
mov ebx, eax
test eax, eax
jne 0x1400a5338
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400a539b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a5392
test al, 0x10
je 0x1400a5392
bt eax, 0xa
jae 0x1400a538b
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400a53ac
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400a5387
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400a5387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400a5392
and dword [rsp + 0x3c], 0
jmp 0x1400a5397
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400045e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000463d
lea rbx, [0x1401f9270]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004624
cmp r10, 2
jb 0x140004624
cmp byte [r9], r8b
jne 0x140004624
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140004600
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000467f
lea rbx, [0x1401f9270]
cmp r8b, 0x23
jne 0x140004663
cmp byte [r9], r8b
jne 0x140004663
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140004650
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400047c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400047da
mov qword [r8], 0
lea rdx, [0x1401f8df0]
call fcn.140004690
mov rbx, rax
test rax, rax
jne 0x1400047fa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1401a16c4
mov esi, eax
cmp eax, 0xffffffff
je 0x1400048c8
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1401a22ac
test eax, eax
jne 0x1400048c8
mov rcx, rbx
call fcn.1401a16c4
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400048c8
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1401a22ac
test eax, eax
jne 0x1400048c8
cmp rdi, 0xffffffffffffffff
je 0x1400048c8
mov rax, qword [0x140328af0]
test rax, rax
je 0x14000486a
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.1401ab860
mov rsi, rax
test rax, rax
je 0x1400048c8
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1401a6304
mov rcx, rbx
cmp rax, rdi
je 0x1400048b6
call fcn.1401a1ef8
mov rax, qword [0x140328af0]
test rax, rax
je 0x1400048ac
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.1401a6090
jmp 0x1400048d0
call fcn.1401a1ef8
test r14, r14
je 0x1400048c3
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400048d2
mov rcx, rbx
call fcn.1401a1ef8
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret