joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003984a
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword gs:[0x60]
xor r11d, r11d
mov rsi, r8
mov ebp, edx
mov rdi, qword [rax + 0x10]
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
movzx eax, word [rbx + 0x14]
lea r9, [rbx + 0x18]
movzx r10d, word [rbx + 6]
add r9, rax
test r10, r10
je 0x140039909
mov dword [rsp + 0x78], 0x6544302e
mov byte [rsp + 0x7c], 0x76
movups xmm2, xmmword [r9]
lea rcx, [rsp + 0x78]
movups xmm0, xmmword [r9 + 0x10]
movsd xmm1, qword [r9 + 0x20]
movd edx, xmm2
movups xmmword [rsp + 0x20], xmm2
movsd qword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x30], xmm0
test dl, dl
je 0x1400398f1
lea rax, [rsp + 0x78]
lea r8, [rsp + 0x20]
sub r8, rax
movzx eax, dl
nop
movzx edx, al
cmp al, byte [rcx]
jne 0x1400398f1
movzx eax, byte [r8 + rcx + 1]
inc rcx
movzx edx, al
test al, al
jne 0x1400398da
cmp dl, byte [rcx]
lea rdx, [rsp + 0x20]
cmovne rdx, r11
add r9, 0x28
mov r11, rdx
sub r10, 1
jne 0x14003989c
mov eax, dword [r11 + 0xc]
mov rdx, rsi
mov ecx, dword [rbx + 8]
mov eax, dword [rax + rdi]
xor eax, dword [rbx + 0x68]
ror eax, cl
mov ecx, ebp
add rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp rax
Function at 0x3e46058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x3e461df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x3e46089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3e4606f
add dl, dl
jne 0x3e46096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3e460f6
xor eax, eax
add dl, dl
jne 0x3e460a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x3e461ad
add dl, dl
jne 0x3e460b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3e460c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3e460d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3e460dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x3e460ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x3e4607e
mov eax, 1
add dl, dl
jne 0x3e46106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x3e46113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3e460fb
sub eax, ebx
mov ebx, 1
jne 0x3e4614c
mov ecx, 1
add dl, dl
jne 0x3e4612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3e4613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3e46123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3e4607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x3e46168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x3e46175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x3e4615d
cmp eax, 0x7d00
jae 0x3e4619b
cmp eax, 0x500
jb 0x3e46196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3e4607e
cmp eax, 0x7f
ja 0x3e4619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x3e4607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x3e461d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x3e4607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10000124c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.100001180
add rsp, 0x28
jmp 0x100001270
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [section..data], rdi
jne 0x10000169f
mov eax, dword [0x100003014]
cmp eax, 1
je 0x1000016bf
mov eax, dword [0x100003014]
cmp eax, ebx
jne 0x1000016d6
mov dword [0x100003014], 1
lea r13, [0x100002168]
lea rdi, [0x100002150]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000131c
cmp eax, ebx
jne 0x10000131c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x100001311
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1000012fa
cmp eax, ebx
jne 0x1000016cc
mov eax, dword [0x100003014]
cmp eax, 1
jne 0x10000134c
lea rdx, [0x100002148]
lea rcx, [0x100002138]
call fcn.100093000
mov dword [0x100003014], 2
cmp r12d, ebx
jne 0x10000135b
mov rax, rbx
xchg qword [section..data], rax
cmp qword [0x1000035d8], rbx
jne 0x1000016e5
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
je 0x10000170e
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [rcx], 0x20
jbe 0x1000013ab
cmp word [rcx], 0x22
je 0x100001741
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100001390
cmp word [rcx], bx
je 0x1000013b4
cmp edx, ebx
jne 0x100001396
cmp word [rcx], bx
je 0x1000013ca
cmp word [rcx], 0x20
ja 0x1000013ca
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000013b4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100001400
nop
jmp 0x100001715
cmp rax, rdi
jne 0x1000016af
mov r12d, 1
jmp 0x1000012ba
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000012a9
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x100001324
mov eax, 0xff
jmp 0x100001780
mov dword [0x1000036e4], 1
jmp 0x100001324
lea rcx, [0x1000035d8]
call fcn.1000018fc
cmp eax, ebx
je 0x100001368
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x1000035d8]
nop
jmp 0x100001368
mov eax, 0xff
jmp 0x100001780
mov dword [0x1000036e0], eax
cmp dword [0x100003008], ebx
jne 0x10000172b
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000036e4], ebx
jne 0x10000173f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000036e0]
jmp 0x100001780
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
jmp 0x1000013a0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
Function at 0x100001400
Capabilities:
Terminate process

Disassembly:
mov word [rbx], di
add rbx, 2
cmp word [rbx], di
je 0x100001683
lea rdx, str._ProcessID
lea rcx, [rsp + 0x90]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, edi
jne 0x100001683
lea rax, [rsp + 0x30]
mov edx, 0x29
lea rcx, [rsp + 0x30]
sub rbx, rax
mov r8d, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea rax, [rdx + 0x7fffffd5]
cmp rax, rdi
je 0x100001072
movzx eax, word [rbx + rcx]
cmp ax, di
je 0x100001072
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x100001050
cmp rdx, rdi
je 0x100001690
cmp r8d, edi
mov word [rcx], di
jl 0x1000010c8
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ole32.dll_CLSIDFromString]
cmp eax, edi
jl 0x1000010c8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, edi
jl 0x1000010c8
lea rcx, [rsp + 0x20]
xor edx, edx
call sub.ole32.dll_CoRegisterSurrogateEx
call qword [sym.imp.ole32.dll_CoUninitialize]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.100001650
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2b0
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2b0
mov rax, qword [0x100003018]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r9d, r9d
mov rbx, r8
xor ecx, ecx
lea edx, [r9 + 1]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
xor edi, edi
lea rax, [rsp + 0x90]
mov r11d, 0x105
lea rcx, [rsp + 0x90]
mov edx, edi
sub rbx, rax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea rax, [r11 + 0x7ffffef9]
cmp rax, rdi
je 0x100001482
movzx eax, word [rbx + rcx]
cmp ax, di
je 0x100001482
mov word [rcx], ax
add rcx, 2
sub r11, 1
jne 0x100001460
cmp r11, rdi
je 0x100001670
cmp edx, edi
mov word [rcx], di
jl 0x1000010c8
lea rbx, [rsp + 0x90]
cmp word [rsp + 0x90], di
je 0x100001683
cmp word [rbx], 0x3a
je section..text
add rbx, 2
cmp word [rbx], di
jne 0x1000014ac
jmp 0x10000167e
sub rcx, 2
mov edx, 0x8007007a
jmp 0x10000148b
jmp 0x100001007
lea rbx, [rsp + 0x90]
jmp 0x10000102d
sub rcx, 2
mov r8d, 0x8007007a
jmp 0x10000107b
Function at 0x100001650
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100003018]
jne 0x10000166b
rol rcx, 0x10
test cx, 0xffff
jne 0x100001667
ret 0
ror rcx, 0x10
jmp 0x10000195c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1000030e0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x1000031d8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1000019e1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1000030e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x100001a03
mov rax, qword [rsp + 0x88]
mov qword [0x1000031d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100003178], rax
mov rax, qword [0x1000031d8]
mov qword [0x100003050], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100003160], rax
mov dword [0x100003040], 0xc0000409
mov dword [0x100003044], 1
mov rax, qword [0x100003018]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100003020]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100002188]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140132218
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x800
lea r11d, [rcx + 0x31a7]
pushf
cmp r14d, 0x472920da
je 0x140131ecb
jne 0x140131ecb
jne 0x14013266e
rcl esi, 0xd
rcr ebp, 0xe
ror ebx, 0xa
jmp rcx
jmp 0x14013239d
test r10, rdi
je 0x14013225a
jne 0x14013225a
cmp r9, rcx
jmp 0x140131e92
jmp rax
fistp word [rbx]
test r15d, 0x36d8153f
cmp r13, rbp
cmp esi, 0x5aac5ff0
jmp 0x140132513
lea ebx, [rdx - 0x93e5]
ror r8d, 0x71
cmp rdi, rbx
rol r11d, 0x1d
div r12
jnp 0x140130e04
popfq
jmp fcn.1401324ea
movabs rdx, 0x6529c00000042ce9
cmp r15d, 0x471d3141
ja 0x140132cc5
add ecx, 0xf464722e
mul r9
call rax
test r12, rdx
call rcx
jmp 0x14013249f
add dword [rdi + 0x5a4dce81], edx
invalid
Function at 0x140132410
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
xchg ecx, eax
jno 0x1401313da
mov dword [rsp + 0x64], 0xe9f6f6
add byte [rax], al
add bh, al
and al, 0x74
cmp byte [rbp + 0x7f], bh
mov edx, 0xfffedde9
jmp [rsi - 0x7ebefc6e]
jmp r9
std
invalid
cmp r9d, 0x5b43152
pop r12
call rcx
test r13, rbp
neg rdx
dec r8
call rcx
jne 0x140131cf7
je 0x140131cf7
ror ebp, 0x2f
test rdi, rbx
or ebp, 0xec234657
movabs r9, 0x773b5e0000077be9
inc r8
jl 0x140132afc
jmp 0x140132477
lea r10d, [rbx + 0x8a38]
jmp rcx
pause
lea ebx, [rbx + 0xa185]
jl 0x1401306c5
mov r10d, 0x8af756b0
jne 0x140131d72
je 0x140131d72
cmp r8d, 0x253f981e
call rax
neg r15
jmp 0x1401324c1
jmp 0x140131ccf
lea r14d, [rbx + 0x3dbd]
neg r13
jmp rax
or ebp, 0xeb2e2752
movabs r9, 0x46c74b00000510e9
call fcn.140131e54
dec r11
rcl r14d, 0xa0
ret 0x28
cmp rsi, rdi
rcl edx, 0xda
test esi, 0xae5ad1c5
lea esi, [rdx - 0x121]
lea esi, [rdi + 0xa2b]
je 0x140131ff4
jne 0x140131ff4
call rcx
call rcx
neg r9
call rax
test r15, rbp
lea ecx, [rdi - 0xb5e7]
lea ebp, [rdi - 0x6a82]
movabs r15, 0x29a01afffffd23e9
jne 0x1401326ea
jmp 0x140131d1c
invalid
lea r8d, [rbp + 0x6a56]
je 0x1401328a7
call rax
lea ebp, [rdi - 0x43fe]
call fcn.140132218
add r13d, 0x4d78805c
test edi, 0xb496746e
jns 0x140132061
pop r8
mul r12
and r15d, 0x91f8ce20
cmp r13d, 0x3b421bff
jmp 0x140131efd
push rsi
and r13d, 0xa6d22d4f
pause
jne 0x140132081
je 0x140132081
rcl r15d, 0x3d
jnp 0x140132e11
add ebx, 0xc2bfafa5
movabs rsi, 0xa05b1000000e4e9
push rcx
jns 0x140131372
jmp 0x14013216a
jns 0x140132716
add ebx, 0x3bbd5634
js 0x140132217
jp 0x14013185c
lea r10d, [rbp + 0xffbe]
call rax
cmp rdx, rbp
jmp 0x140132fb2
nop
lea r13d, [rbx - 0x94ed]
push r14
jmp 0x140132197
jmp rax
lea edx, [rdi - 0x31d9]
rol ecx, 0x52
pause
jmp 0x1401320b9
test r15, rbp
rcl r15d, 0x70
jmp rax
add byte [rcx - 0x7b], cl
cli
lea r8d, [rbp - 0x89a8]
rcl r14d, 0x6c
call fcn.1401328fd
test r15, rbp
jne 0x140132445
je 0x140132445
test r10, rbx
lea ecx, [rdx + 0x99ce]
sub ebp, 0xd59048ca
jmp rax
jmp 0x140131fbe
popfq
rcl edi, 0xda
xor edi, 0x26166cbd
test ebp, 0xdbf8dbcc
lea r13d, [rcx - 0x755d]
jmp 0x140132134
lea r13d, [rbp - 0xf013]
jmp 0x14013201c
lea r11d, [rcx - 0xa4c4]
test r13d, 0x1ae74cb2
rcr r15d, 0xe4
and r9d, 0x89ae4151
sub esi, 0x703f62f4
jne 0x140132670
je 0x140132670
jl 0x140131f38
call rax
rcr r9d, 0xd2
sub r8d, 0x44a7331e
int3
jmp 0x140132aa1
xor al, 0xec
invalid
enter 0xffffffffffffbf7b, 0x60
ja 0x14013271b
call rcx
pop r12
rol dword [rcx + 0x5c], 1
test rdi, rdx
and r11d, 0x120a06ce
and r12d, 0xee8d3b89
jmp 0x140132a7d
or al, byte [rax]
add byte [rcx + 0x39], cl
invalid
jmp rcx
jmp rcx
and edx, 0x292c992e
popfq
popf
cmp r13, rdx
jle 0x14013168a
jp 0x140131fff
and r12d, 0xc1783633
jmp 0x14013261d
test r11, rcx
inc rdi
test r12, rbx
mov r8d, 0xb1aecdd1
jmp 0x1401328d5
dec dword [rcx - 0x43]
jmp 0x140132a0a
shr ecx, 0xe6
invalid
test byte [rsi], bh
add byte [rax], al
add byte [rbp - 0x7b], al
leave
Function at 0x140026560
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x168
mov rax, qword [0x14012d080]
xor rax, rsp
mov qword [rsp + 0x140], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140026716
mov qword [rsp + 0x170], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x180], rsi
mov r8d, 0x100
mov rcx, rax
mov qword [rsp + 0x160], rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
inc r8
cmp byte [rax + r8], 0
jne 0x1400265d1
mov qword [rsp + 0x178], rbp
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x158], r14
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x150], r15
call fcn.140007f30
mov rsi, qword [rsp + 0x38]
lea rdi, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rsi, 0xf
mov rax, qword [rsp + 0x30]
cmova rdi, rbx
cmp rax, 0x10
jb 0x140026680
lea rbp, [rdi + rax]
mov edx, 0x43
lea r8, [rbp - 0xf]
mov rcx, rdi
sub r8, rdi
call fcn.1400d4e20
test rax, rax
je 0x140026680
movabs r14, 0x2d7265746e756f43
movabs r15, 0x3220656b69727453
cmp qword [rax], r14
jne 0x140026664
cmp qword [rax + 8], r15
je 0x14002670e
inc rax
lea r8, [rbp - 0xf]
sub r8, rax
mov rcx, rax
mov edx, 0x43
call fcn.1400d4e20
test rax, rax
jne 0x140026655
mov rax, 0xffffffffffffffff
mov r15, qword [rsp + 0x150]
cmp rax, 0xffffffffffffffff
mov r14, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x178]
setne dil
cmp rsi, 0xf
jbe 0x1400266da
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400266d2
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002672e
mov rcx, rbx
call fcn.1400a41ec
mov rsi, qword [rsp + 0x180]
movzx eax, dil
mov rdi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a3e80
add rsp, 0x168
ret
sub rax, rdi
jmp 0x140026687
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a3e80
add rsp, 0x168
ret
call fcn.1400aa0c0
int3
Function at 0x140029760
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14012d080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rcx]
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x60]
mov r9d, edx
mov dword [rsp + 0x60], 1
mov ecx, r8d
lea rbp, [rsp + 0x60]
movabs rax, 0x20c49ba5e353f7cf
imul r8
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3e8
mov dword [rsp + 0x58], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x5c], eax
xor eax, eax
test r8, r8
cmovs rdi, rax
cmp r9d, 1
mov qword [rsp + 0x20], rdi
cmovne rsi, rax
test r9d, r9d
mov r8, rsi
cmovne rbp, rax
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14002983a
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140029840
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140029810
test ebx, ebx
je 0x14002986a
jmp 0x140029847
cmp ebx, 0xffffffff
je 0x14002988d
jmp 0x14002983a
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a3e80
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Request_timed_out
lea rcx, [rsp + 0x30]
call fcn.1400298d0
lea rdx, [0x14012ad90]
lea rcx, [rsp + 0x30]
call fcn.1400a6114
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea r9, str.Failed_to_select_socket
lea rcx, [rsp + 0x30]
call fcn.1400271b0
lea rdx, [0x14012aad0]
lea rcx, [rsp + 0x30]
call fcn.1400a6114
int3
Function at 0x140040680
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 0x1400406dd
lea rbx, [0x14010c820]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400406c4
cmp r10, 2
jb 0x1400406c4
cmp byte [r9], r8b
jne 0x1400406c4
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 0x1400406a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14004071f
lea rbx, [0x14010c820]
cmp r8b, 0x23
jne 0x140040703
cmp byte [r9], r8b
jne 0x140040703
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 0x1400406f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400408e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x1400408fe
mov qword [r8], r14
lea rdx, [0x140112728]
call fcn.140040730
mov rbx, rax
test rax, rax
jne 0x140040923
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400b29fc
mov ebp, eax
cmp eax, 0xffffffff
je 0x140040a47
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.1400b33e0
test eax, eax
jne 0x140040a47
mov rcx, rbx
call fcn.1400b29fc
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140040a47
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400b33e0
test eax, eax
jne 0x140040a47
cmp rdi, 0xffffffffffffffff
je 0x140040a47
mov rcx, rdi
call fcn.140045f00
mov rbp, rax
test rax, rax
je 0x140040a47
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400b4158
mov rcx, rbx
cmp rax, rdi
je 0x140040a35
call fcn.1400b3040
mov r8, qword [0x140131900]
test r8, r8
je 0x140040a2b
movsx rdx, word [r8 + 0x6228]
lea rcx, [r8 + 0x622c]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140040a20
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6228], cx
movsx rax, cx
lea rcx, [r8 + 0x622c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6224]
mov rcx, rbp
call fcn.1400ad894
jmp 0x140040a4f
call fcn.1400b3040
test rsi, rsi
je 0x140040a42
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140040a51
mov rcx, rbx
call fcn.1400b3040
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140049040
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14012d080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x140131900]
mov r9, r8
mov edi, dword [rsp + 0x90]
mov r14d, edx
mov eax, edi
mov r10, rcx
and eax, 0x40000000
mov rbx, qword [rsi + 0x4078]
bts eax, 0x1d
mov r8d, dword [rsi + 0x4a90]
shr eax, 0x1d
mov r15d, eax
bts r15d, 8
test edi, edi
cmovns r15d, eax
mov eax, dword [rbx + 0x14]
and eax, 4
mov dword [rsi + 0x4ac8], r15d
or eax, 0x1000103
bts r8d, 8
or edi, eax
mov dword [rsi + 0x4a90], r8d
cmp qword [rbx + 0x1c0], 0
jne 0x1400490e6
cmp qword [rsi + 0x4e90], 0
mov eax, 0x268
je 0x1400490eb
mov eax, 0x238
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r9]
call fcn.140052f80
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r8d, 2
movsd qword [rsi + 0x4ab0], xmm0
xor edx, edx
mov dword [rsi + 0x4a90], r8d
mov dword [rsi + 0x4a98], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x14004915e
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.1400404f0
jmp 0x14004916f
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.1400404f0
mov rcx, qword [rsp + 0x30]
mov r8d, edi
movss xmm6, dword [rsi + 0x3930]
xor edx, edx
call fcn.14004c330
mov rdi, qword [rsi + 0x4078]
movzx ebp, al
movss dword [rsi + 0x3930], xmm6
cmp word [rdi + 0xd8], 1
mov dword [rdi + 0x90], r14d
jne 0x1400491b6
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, r14d
lea rdx, [0x1401119f1]
not r9d
lea r10, [0x14010c820]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1400491e3
cmp byte [rdx], r8b
jne 0x1400491e3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1400491d0
not ebx
cmp dword [rsi + 0x40e4], ebx
jne 0x140049213
xor edx, edx
xor ecx, ecx
call fcn.1400458c0
cmp dword [rsi + 0x4bbc], r14d
jne 0x140049260
bt r15d, 8
jb 0x140049260
cmp word [rdi + 0x174], 0
jne 0x140049236
cmp byte [rdi + 0x17a], 0
je 0x140049260
xor edx, edx
mov rcx, rdi
call fcn.14004ec40
xor edx, edx
mov rcx, rdi
call fcn.1400561d0
mov rdx, rdi
mov ecx, ebx
call fcn.1400458c0
mov eax, dword [rsi + 0x4bf0]
mov dword [rsi + 0x4110], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a3e80
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret