joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140270c20
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1402591a0
mov qword [rsi], 0
test rax, rax
je 0x140270c73
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140270ca7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140270c6b
mov qword [rsi], rbx
call fcn.14026d530
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.14026df20
lea rcx, [rsi + 0x20]
call fcn.1402860a0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.14026d530
mov rcx, qword [rsi]
call fcn.140252540
mov qword [rsi], 0
jmp 0x140270c59
Function at 0x140274ff0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140275021
call fcn.14026d530
cmp qword [rsi + 8], rbx
je 0x140275053
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140275060
cmp r14, 2
jb 0x14027504b
mov qword [rsi + 8], rbx
call fcn.14026d530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14026d530
mov rcx, qword [rsi + 8]
call fcn.140252540
mov qword [rsi + 8], 0
jmp 0x14027503c

Function at 0x140275080
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov rbx, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1402750b1
call fcn.14026d530
cmp qword [rsi + 8], rbx
je 0x1402750e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1402750f0
cmp r14, 2
jb 0x1402750db
mov qword [rsi + 8], rbx
call fcn.14026d530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14026d530
mov rcx, qword [rsi + 8]
call fcn.140252540
mov qword [rsi + 8], 0
jmp 0x1402750cc

Function at 0x140275110
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx], 1
xor eax, eax
mov qword [rcx + 8], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140275142
call fcn.14026d530
cmp qword [rsi + 8], r14
je 0x140275174
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14027518f
cmp r15, 2
jb 0x14027516c
mov qword [rsi + 8], r14
call fcn.14026d530
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1402751a7
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14026d530
mov rcx, qword [rsi + 8]
call fcn.140252540
mov qword [rsi + 8], 0
jmp 0x14027515d
call fcn.14026d530
mov rcx, qword [rdi]
call fcn.140252540
mov qword [rdi], 0
jmp 0x140275180
Function at 0x140281240
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x1402812a5
xor r11d, r11d
mov rbx, qword [r8 + r11*8]
mov rsi, qword [rcx + r11*8]
mov rdi, rsi
xor rdi, rbx
mov r14d, eax
lea rax, [rdi - 1]
mov r15, rsi
sub r15, rbx
xor r15, rsi
or r15, rdi
not rdi
and rax, rdi
sar rax, 0x3f
xor r15, rsi
sar r15, 0x3f
or r15, 1
and r14d, eax
not rax
and rax, r15
or rax, r14
inc r11
cmp r10, r11
jne 0x14028125b
cmp rdx, r9
jb 0x1402812b4
ja 0x1402812d8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x1402812b6
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x1402812ac
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x1402812db
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x1402812ac
Function at 0x140281490
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x1402815c8
mov rsi, rcx
mov rax, qword [rdi]
xor ecx, ecx
xor r8d, r8d
or r8, qword [rax + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x1402814b2
test r8, r8
je 0x1402815c8
test edx, edx
jle 0x140281604
mov rax, qword [rdi]
test byte [rax], 1
je 0x140281604
cmp dword [rdi + 0x10], 0
jne 0x140281644
cmp edx, 0x401
jae 0x140281664
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x140281535
mov rcx, rbx
call fcn.1401870b0
test eax, eax
je 0x140281624
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x1402815fd
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.1402e0660
mov eax, dword [rdi + 8]
mov dword [rsi + 0x20], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x28], eax
mov rdi, rbx
test rdi, rdi
je 0x140281624
mov eax, dword [rsi + 0x20]
lea ecx, [rax + 1]
test eax, eax
jle 0x1402815ed
mov rdx, qword [rbx]
dec ecx
cmp qword [rdx + rax*8 - 8], 0
lea rax, [rax - 1]
je 0x140281544
mov dword [rsi + 0x20], ecx
mov rax, qword [rbx]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x14028157d
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.140406810
jmp 0x1402815be
mov dword [rsi + 0x20], eax
test eax, eax
jne 0x140281560
jmp 0x1402816a4
xor eax, eax
jmp 0x140281529
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x1402815e6
mov dword [rsp + 0x20], 0xbc
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x1402815e6
mov dword [rsp + 0x20], UnRegisterTypeLib
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, WSASetLastError
jmp 0x1402815e6
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x14028166c
test rcx, rcx
je 0x1402814f1
mov dword [rsp + 0x20], UnRegisterTypeLib
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x1402815e6
mov dword [rsi + 0x28], 0
jmp 0x140281560
Function at 0x1402826f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov r15, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x38]
add rcx, r15
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x14028288e
test dl, dl
jne 0x14028288e
mov rdi, r9
lea rax, [rsi + 0x50]
mov qword [rsp + 0x40], rax
mov rbp, qword [rsi + 0x150]
mov r13, qword [rsi + 0x158]
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x14028277b
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x40]
mov rax, rbp
call qword [case.0x14012d181.0]
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
jne 0x1402828a3
mov r14, r15
test byte [rsi + 0x168], 1
je 0x1402827cc
test r14, r14
je 0x1402827cc
lea rax, [rsi + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, r12
call fcn.140018480
add rbx, rax
add rdi, rax
sub r14, rax
mov rax, qword [rsp + 0xc8]
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r14, 0xc00
mov qword [rsp + 0x48], r13
jae 0x1402828eb
mov r13, r12
mov r15, r14
and r15, 0xff0
je 0x140282846
mov r12, r14
shr r12, 4
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r12
mov r9, r13
call qword [case.0x14012d181.0]
add ebp, r12d
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
add rbx, r15
and r14d, 0xf
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
mov r9, r15
mov rax, qword [rsp + 0x48]
call qword [case.0x14012d181.0]
add rdi, r15
test r14, r14
je 0x14028289f
mov rax, qword [rsi + 0x160]
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov r8, r13
call qword [case.0x14012d181.0]
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
xor eax, eax
mov ecx, eax
mov dl, byte [rsi + rcx + 0x10]
xor dl, byte [rbx + rcx]
mov byte [rdi + rcx], dl
xor byte [rsi + rcx + 0x40], dl
inc rax
cmp r14, rax
jne 0x14028286b
mov dword [rsi + 0x170], eax
mov eax, 1
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140282883
test r15, r15
je 0x140282883
mov ecx, eax
mov dl, byte [rsi + rcx + 0x10]
xor dl, byte [rbx]
inc rbx
mov byte [rdi], dl
xor byte [rsi + rcx + 0x40], dl
inc rdi
lea r14, [r15 - 1]
inc eax
and eax, 0xf
je 0x1402828d0
cmp r15, 1
mov r15, r14
jne 0x1402828a8
test eax, eax
jne 0x140282883
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x40]
mov rax, rbp
call qword [case.0x14012d181.0]
jmp 0x14028278c
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x50], rcx
mov r15d, 0xc00
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rcx, rbx
mov rdx, rdi
mov r9, r12
mov r13, rax
call qword [case.0x14012d181.0]
add ebp, 0xc0
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov r9d, 0xc00
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
mov rax, qword [rsp + 0x48]
call qword [case.0x14012d181.0]
mov rax, r13
add rdi, r15
add rbx, r15
add r14, 0xfffffffffffff400
cmp r14, 0xbff
jbe 0x1402827eb
jmp 0x1402828fa
Function at 0x140282970
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r8
mov r12, rdx
mov rsi, rcx
mov r15, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x38]
add rcx, r15
setb dl
xor eax, eax
movabs r8, 0xfffffffe0
cmp rcx, r8
ja 0x140282b13
test dl, dl
jne 0x140282b13
mov rdi, r9
lea r13, [rsi + 0x50]
mov rbp, qword [rsi + 0x150]
mov rax, qword [rsi + 0x158]
mov qword [rsp + 0x50], rax
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x174], 0
je 0x1402829f9
lea rcx, [rsi + 0x40]
mov rdx, r13
mov rax, rbp
call qword [case.0x14012d181.0]
mov dword [rsi + 0x174], 0
mov eax, dword [rsi + 0x170]
test eax, eax
jne 0x140282b28
mov r14, r15
test byte [rsi + 0x168], 1
je 0x140282a45
test r14, r14
je 0x140282a45
lea rax, [rsi + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, r12
call fcn.140018120
add rbx, rax
add rdi, rax
sub r14, rax
mov rax, qword [rsp + 0xc8]
mov ebp, dword [rsi + 0xc]
bswap ebp
cmp r14, 0xc00
mov qword [rsp + 0x48], r13
jae 0x140282b73
mov qword [rsp + 0x40], r12
mov r15, r14
and r15, 0xff0
je 0x140282ac9
mov r12, r14
shr r12, 4
lea rcx, [rsi + 0x40]
mov rdx, qword [rsp + 0x48]
mov r8, rbx
mov r9, r15
mov r13, rax
mov rax, qword [rsp + 0x50]
call qword [case.0x14012d181.0]
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov rdx, rdi
mov r8, r12
mov r9, qword [rsp + 0x40]
mov rax, r13
call qword [case.0x14012d181.0]
add ebp, r12d
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
add rdi, r15
add rbx, r15
and r14d, 0xf
test r14, r14
je 0x140282b24
mov rax, qword [rsi + 0x160]
lea rdx, [rsi + 0x10]
mov rcx, rsi
mov r8, qword [rsp + 0x40]
call qword [case.0x14012d181.0]
inc ebp
bswap ebp
mov dword [rsi + 0xc], ebp
xor eax, eax
mov ecx, eax
mov dl, byte [rbx + rcx]
xor byte [rsi + rcx + 0x40], dl
xor dl, byte [rsi + rcx + 0x10]
mov byte [rdi + rcx], dl
inc rax
cmp r14, rax
jne 0x140282af0
mov dword [rsi + 0x170], eax
mov eax, 1
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140282b08
test r15, r15
je 0x140282b08
mov cl, byte [rbx]
inc rbx
mov edx, eax
mov r8b, byte [rsi + rdx + 0x10]
xor r8b, cl
mov byte [rdi], r8b
xor byte [rsi + rdx + 0x40], cl
inc rdi
lea r14, [r15 - 1]
inc eax
and eax, 0xf
je 0x140282b5a
cmp r15, 1
mov r15, r14
jne 0x140282b2d
test eax, eax
jne 0x140282b08
lea rcx, [rsi + 0x40]
mov rdx, r13
mov rax, rbp
call qword [case.0x14012d181.0]
jmp 0x140282a0a
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x40], rcx
mov r15d, 0xc00
mov r9d, 0xc00
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov r8, rbx
mov r13, rax
mov rax, qword [rsp + 0x50]
call qword [case.0x14012d181.0]
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rcx, rbx
mov rdx, rdi
mov r9, r12
mov rax, r13
call qword [case.0x14012d181.0]
add ebp, 0xc0
mov eax, ebp
bswap eax
mov dword [rsi + 0xc], eax
mov rax, r13
add rdi, r15
add rbx, r15
add r14, 0xfffffffffffff400
cmp r14, 0xbff
jbe 0x140282a64
jmp 0x140282b82
Function at 0x140282bf0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x140282cc9
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
jne 0x140282ccd
xor eax, eax
lea rcx, [0x1404eb300]
nop
movzx edx, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x140282c40
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.140280fd0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140282ce5
call fcn.140003260
lea rax, [fcn.140001d60]
test rdi, rdi
je 0x140282c90
lea rcx, [fcn.140001000]
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1402ddd70
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140282cb3
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x140282c35
jmp 0x140282ccf
bt eax, 9
jae 0x140282d05
call fcn.140004350
lea rax, [fcn.140004820]
test rdi, rdi
je 0x140282c90
lea rcx, [fcn.140004520]
jmp 0x140282c8d
call fcn.1403b95e0
lea rax, [0x1403ba280]
test rdi, rdi
je 0x140282c90
lea rcx, [0x1403b9320]
jmp 0x140282c8d
Function at 0x140286530
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140286559
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x140286540
movzx eax, r9b
ret
xor eax, eax
ret

Function at 0x140291710
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14029173b
xor ecx, ecx
lea r9, [0x1404edb50]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140291720
ret
Function at 0x14029bf40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1401c11b0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140540ae8]
lea rdx, [0x1401c1000]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14029bfd4
cmp dword [0x140540af0], 0
jne 0x14029bfd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140540af4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14029bfd0
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14029bfb8
call fcn.1402f9360
int3
Function at 0x1402b7a80
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x50], rax
test edx, edx
jne 0x1402b7b61
movabs rax, 0xfffffffc00000000
and rax, rsi
cmp rax, qword [0x14051e188]
jne 0x1402b7ac3
mov rcx, rsi
call fcn.140222350
mov ecx, 0x30
call fcn.1402dd130
mov rdi, rax
lea rdx, [0x1404164c0]
lea r8, [0x14028ab00]
mov rcx, rax
call fcn.14026dd00
lea rax, [fcn.1402b7a80]
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x28], rsi
mov qword [rsp + 0x28], rdi
mov rax, qword [rsi + 0x98]
mov edi, dword [rax + 0x40]
mov r14, qword [rax + 0x30]
cmp byte [rax + 0x48], 0
je 0x1402b7c52
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rsi + 8]
mov r8d, edi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp edi, 0xffffffff
je 0x1402b7be0
lea rcx, [rsi + 0xc8]
mov r9, qword [r14 + 0x10]
mov edx, VarR8FromUI1
mov r8d, edi
call fcn.140279cb0
movsxd rcx, edi
call fcn.1402b78e0
lea rcx, [rsp + 0x28]
call fcn.14026de10
mov rax, qword [rsi + 0x98]
mov rcx, qword [rax + 0x30]
mov qword [rax + 0x30], 0
test rcx, rcx
je 0x1402b7b83
lock dec dword [rcx + 8]
je 0x1402b7c76
mov rax, qword [rsi + 0x98]
mov dword [rax + 0x40], 0
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x1402b7cc4
lea rbx, [rsp + 0x30]
mov qword [rbx], rcx
mov qword [rsi + 0xa0], 0
mov rax, qword [rcx + 8]
mov edx, edi
call qword [case.0x14012d181.0]
mov rcx, rbx
call fcn.14026de10
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1402ddd70
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ebx, eax
cmp eax, 0x2733
jne 0x1402b7c8c
mov byte [rsi + 0x91], 1
lea rcx, [rsi + 0xa8]
lea rdi, [rsp + 0x28]
mov rdx, rdi
call fcn.14026dd40
mov rsi, qword [rsi + 0x98]
lea rbx, [rsi + 0x78]
lea rdx, str.WatchForRead
lea r8, str....._net_socket_tcp_socket_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0xcf
call fcn.14026d510
mov rdx, qword [rsi + 8]
add rsi, 0x58
mov rcx, rbx
mov r8, rsi
mov r9, r14
call fcn.140252630
mov rcx, rdi
jmp 0x1402b7bc3
mov rdx, qword [rax + 8]
mov rcx, qword [rsi + 8]
mov r8d, 0x21
call qword [sym.imp.WS2_32.dll_WSAEventSelect]
mov rax, qword [rsi + 0x98]
mov byte [rax + 0x48], 1
jmp 0x1402b7b12
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x14012d181.0]
jmp 0x1402b7b83
mov ecx, ebx
call fcn.1401d9b40
mov edi, eax
lea rcx, [rsi + 0xc8]
mov edx, VarR8FromUI1
mov r8d, eax
mov r9d, ebx
call fcn.14043a080
lea rcx, [rsp + 0x28]
call fcn.14026de10
cmp edi, 0xffffffff
jne 0x1402b7b61
jmp 0x1402b7bc8
int3
Function at 0x1402bc4c0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov byte [rcx], 0
mov eax, dword [0x14052f0f0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x258]
mov qword [rsi + 8], rcx
mov rcx, qword [rax + 0x258]
mov qword [rax + 0x258], rsi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x40], 0
mov byte [rsi + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x58], r8
mov qword [rsi + 0x60], r9
test byte [0x14052cef0], 9
jne 0x1402bc555
mov byte [rsi + 0x30], 0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402ddd70
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
mov byte [rsi + 0x30], 1
mov rax, qword [rdx]
mov rax, qword [rax + 8]
lea rdi, [rsp + 0x28]
mov rcx, rdx
mov rdx, rdi
call qword [case.0x14012d181.0]
mov rax, qword [rdi]
mov qword [rsi + 0x20], rax
jmp 0x1402bc53e
Function at 0x1402ddfd4
Capabilities:
Parse pe header

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

Function at 0x1402de45c
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 0x1402de4d4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1402de4d4
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 0x1402de4d4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1402de4c8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1402de4e6
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1402de4b6
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 0x1402de4d6

Function at 0x1402f13d8
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 0x1402f140f
call fcn.1402f47d8
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1402f7a18
xor eax, eax
jmp 0x1402f149d
mov rdx, r9
mov rcx, r8
call fcn.1402f14c0
mov rbx, rax
test rax, rax
je 0x1402f149a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1402f1530]
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 0x1402f1487
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1402f4818
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1402f146e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1402f147d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140225eb0
jmp 0x1402f149a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1402f1497
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 0x1402f1604
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1402f174c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1402f17bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1402f17bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1402f17bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1402f17bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402f17bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1402f17bb
cmp dword [rcx + 0xf8], 0
je 0x1402f17bb
mov ecx, ebx
call fcn.1402f1684
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1402f18e0
nop
cmp dword [rbp + 0x20], 0
je 0x1402f1809
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1402f1718
int3