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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xb0]
mov rbx, rcx
xor ecx, ecx
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor ebp, ebp
lea r9, [rsp + 0x50]
mov r8d, esi
mov qword [rsp + 0x30], rbp
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x50], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call fcn.1800d1210
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov ecx, dword [r14]
cmp ecx, 0x40
jne 0x18008273f
mov dword [rsp + 0x40], 0x2746
jmp 0x18008274f
cmp ecx, 0x4d2
jne 0x180082762
mov dword [rsp + 0x40], 0x274d
call fcn.1800d1210
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
test edi, edi
je 0x18008276b
or eax, 0xffffffff
jmp 0x180082786
mov dword [rsp + 0x40], ebp
call fcn.1800d1210
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ad850
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800828b0
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, ecx
xor ecx, ecx
mov rbp, r9
mov edi, r8d
mov ebx, edx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov r8d, edi
mov edx, ebx
mov ecx, esi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
call fcn.1800d1210
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x180082928
or rax, rdi
jmp 0x180082970
cmp esi, 0x17
jne 0x180082952
lea r9, [rsp + 0x40]
lea edx, [rsi + 0x12]
lea r8d, [rsi + 4]
mov rcx, rdi
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
call fcn.1800d1210
mov qword [rsp + 0x38], rax
mov rax, rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800ad850
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180082990
Capabilities:
Get socket status

Disassembly:
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, r8
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x1800829d9
mov dword [rsp + 0x30], 0x2719
call fcn.1800d1210
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180082a6d
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x58], rcx
xor ebp, ebp
xor ecx, ecx
mov qword [rsp + 0x270], rsi
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rbp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea rdx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800d1210
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x180082a45
jle 0x180082a5b
mov dword [rsp + 0x30], ebp
call fcn.1800d1210
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rbp, qword [rsp + 0x298]
mov eax, esi
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800ad850
add rsp, 0x278
pop rdi
pop rbx
ret

Function at 0x180082a90
Capabilities:
Get socket status

Disassembly:
push rbx
push rdi
sub rsp, 0x278
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, r8
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180082ad9
mov dword [rsp + 0x30], 0x2719
call fcn.1800d1210
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180082b6c
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x58], rcx
xor ebp, ebp
xor ecx, ecx
mov qword [rsp + 0x270], rsi
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rbp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea r8, [rsp + 0x50]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800d1210
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
je 0x180082b44
jle 0x180082b5a
mov dword [rsp + 0x30], ebp
call fcn.1800d1210
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov rbp, qword [rsp + 0x298]
mov eax, esi
mov rsi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800ad850
add rsp, 0x278
pop rdi
pop rbx
ret
Function at 0x180082b90
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rdx
mov rbx, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180082bdc
mov dword [rsp + 0x30], 0x2719
call fcn.1800d1210
mov qword [rsp + 0x38], rax
or eax, ebx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
jmp 0x180082c76
mov qword [rsp + 0x258], rcx
mov qword [rsp + 0x48], rcx
xor ecx, ecx
mov qword [rsp + 0x490], rsi
mov dword [rsp + 0x250], 1
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea ecx, [rbx + 1]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x250]
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
call fcn.1800d1210
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
test esi, esi
js 0x180082c6c
mov dword [rsp + 0x30], 0
call fcn.1800d1210
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
mov eax, esi
mov rsi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800ad850
mov rbx, qword [rsp + 0x498]
add rsp, 0x470
pop rdi
ret

Function at 0x180082e10
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x40]
mov rbx, rcx
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 1
call fcn.1800d1210
mov rbx, qword [rbx + 8]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor eax, eax
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
lea r8d, [rax + 1]
mov rcx, rbx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.1800d1210
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x180082e94
cmp eax, 0x4d2
jne 0x180082e99
call fcn.1800d1210
test ebx, ebx
jne 0x180082ea2
call fcn.1800d1210
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ad850
add rsp, 0x60
pop rbx
ret

Function at 0x180085090
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x1800eeca0], eax
inc eax
cmp eax, 1
jne 0x1800850dd
lea ecx, [rax + 1]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x1800eeca4], eax
test dil, dil
je 0x1800850f0
xor eax, eax
lock xadd dword [0x1800eeca4], eax
test eax, eax
jne 0x180085114
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1800ad850
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], rcx
call fcn.1800d1210
lea rdx, str.winsock
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.180080d90
int3
Function at 0x1800869a0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rdx
mov rbx, rcx
call fcn.1800d1210
mov rbp, qword [rbx]
mov edi, dword [rsi + 4]
cmp rbp, 0xffffffffffffffff
jne 0x1800869dc
mov dword [rsp + 0x30], 0x2719
jmp 0x180086a38
cmp edi, 0x80
jne 0x1800869e8
or byte [rbx + 8], 8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r9, rsi
mov r8d, edi
mov edx, 0xffff
mov rcx, rbp
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.1800d1210
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test edi, edi
jne 0x180086a4d
mov dword [rsp + 0x30], edi
call fcn.1800d1210
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
cmp dword [rsp + 0x30], 0
jne 0x180086a71
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800ad850
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.set_option
lea rcx, [rsp + 0x30]
call fcn.180080d90
int3
Function at 0x18008dfa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov r9d, 0x7a07
lea r8, [0x1800eed10]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xd]
mov dword [rsp + 0x20], 0x7a437a46
mov dword [rsp + 0x24], 0x7a467a51
mov dword [rsp + 0x28], 0x7a4e7a57
mov dword [rsp + 0x2c], 0x7a357a34
mov dword [rsp + 0x30], 0x7a637a29
mov dword [rsp + 0x34], 0x7a6b7a6b
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
call fcn.180057ff0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800ad850
add rsp, 0x130
pop rbp
ret

Function at 0x18008e2e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov r9d, 0x562e
lea r8, [0x1800eed68]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xd]
mov dword [rsp + 0x20], 0x566a566f
mov dword [rsp + 0x24], 0x566f5678
mov dword [rsp + 0x28], 0x5667567e
mov dword [rsp + 0x2c], 0x561c561d
mov dword [rsp + 0x30], 0x564a5600
mov dword [rsp + 0x34], 0x56425642
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
call fcn.180057ff0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800ad850
add rsp, 0x130
pop rbp
ret
Function at 0x18008f660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, [0x1800eeee8]
lea rcx, [rsp + 0x20]
lea edx, [rax + 8]
mov r9d, 0x6e14
mov dword [rsp + 0x20], 0x6e756e43
mov dword [rsp + 0x24], 0x6e756e7e
mov dword [rsp + 0x28], 0x6e516e5d
mov qword [rsp + 0x2c], 0x6e146e7a
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
call fcn.180057ff0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800ad850
add rsp, 0x130
pop rbp
ret
Function at 0x1800b1888
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1800b16f0
Function at 0x1800d2ae0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1800d2cc0
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
jne 0x1800d2ced
xor r14d, r14d
jmp 0x1800d2cf6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x1800d2e28
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x1800d2d1a
test rdi, rdi
je 0x1800d2e01
jmp 0x1800d2d20
test rdi, rdi
je 0x1800d2d74
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800d2d57
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x1800d2d20
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1800d2d04
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x1800d2dce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800d2dae
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800d2dce
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800d2da0
jmp 0x1800d2dce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800d2dcb
cmp rbx, qword [rax + 0x10]
jne 0x1800d2dcb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800d2db8
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1800d2de6
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1800d2de6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.1800d25e0
cmp rbx, rsi
jne 0x1800d2d80
jmp 0x1800d2d04
lea rdx, [0x1800d25a0]
lea rcx, [0x1800ec4a8]
call fcn.1800d21c0
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
je 0x1800d2e28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x1800d2e52
lock dec dword [r14 + 8]
jne 0x1800d2e52
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1800d2cc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1800d2cc0
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
jne 0x1800d2ced
xor r14d, r14d
jmp 0x1800d2cf6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x1800d2e28
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x1800d2d1a
test rdi, rdi
je 0x1800d2e01
jmp 0x1800d2d20
test rdi, rdi
je 0x1800d2d74
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800d2d57
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x1800d2d20
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x1800d2d04
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x1800d2dce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1800d2dae
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1800d2dce
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800d2da0
jmp 0x1800d2dce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800d2dcb
cmp rbx, qword [rax + 0x10]
jne 0x1800d2dcb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800d2db8
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1800d2de6
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x1800d2de6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.1800d25e0
cmp rbx, rsi
jne 0x1800d2d80
jmp 0x1800d2d04
lea rdx, [0x1800d25a0]
lea rcx, [0x1800ec4a8]
call fcn.1800d21c0
mov ecx, dword [0x180002d20]
cmp ecx, 0xffffffff
je 0x1800d2e28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x1800d2e52
lock dec dword [r14 + 8]
jne 0x1800d2e52
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x416520
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4166ab
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x0149e298]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004349e0
xorps xmm15, xmm15
mov r14, qword [0x01539b98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416585
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416594
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4165b3
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4165c3
cmp rbx, 0x1000
jae 0x41658b
jmp 0x41662d
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4165d5
xor edx, edx
jmp 0x416624
mov rcx, qword [0x0149e298]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004349e0
xorps xmm15, xmm15
mov r14, qword [0x01539b98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x4165b9
jmp 0x4165a8
call fcn.00468400
xorps xmm15, xmm15
mov r14, qword [0x01539b98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00438a80
lea rax, [0x0055d9f0]
mov ebx, 0x18
nop dword [rax]
call fcn.00439300
mov rax, qword [rsp + 0x38]
call fcn.00439040
lea rax, [0x0055e081]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00439300
mov rax, qword [rsp + 0x30]
call fcn.00439040
call fcn.00438cc0
call fcn.00438ae0
lea rax, [0x0056095b]
mov ebx, 0x21
call fcn.00436fe0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416520
Function at 0x4166e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x416906
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x0149e2a0]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00434a60
xorps xmm15, xmm15
mov r14, qword [0x01539b98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x416753
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x416762
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416785
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416795
cmp rbx, 0x1000
jae 0x416759
nop
jmp 0x416818
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x4167ad
xor esi, esi
jmp 0x41680a
mov rax, qword [0x0149e2a0]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00434a60
xorps xmm15, xmm15
mov r14, qword [0x01539b98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41678b
jmp 0x416776
call fcn.00468400
xorps xmm15, xmm15
mov r14, qword [0x01539b98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4168a0
nop dword [rax + rax]
call fcn.00438a80
lea rax, [0x0055e09a]
mov ebx, 0x19
call fcn.00439300
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00439040
lea rax, [0x0055e081]
mov ebx, 0x19
call fcn.00439300
mov eax, dword [rsp + 0x34]
call fcn.00439040
nop
call fcn.00438cc0
call fcn.00438ae0
lea rax, [0x00559d45]
mov ebx, 0xd
call fcn.00436fe0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x416840
call fcn.00438a80
lea rax, [0x0055e09a]
mov ebx, 0x19
call fcn.00439300
mov rax, qword [rsp + 0x38]
call fcn.00439040
lea rax, [0x0055e081]
mov ebx, 0x19
call fcn.00439300
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00439040
call fcn.00438cc0
call fcn.00438ae0
lea rax, [0x005600d4]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00436fe0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00464ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004166e0