joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140124680
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
xor eax, eax
movaps xmmword [rsp + 0x70], xmm6
mov r14, r9
mov r12, r8
mov r13, rcx
mov ebx, ntohs
mov esi, eax
mov dword [rcx + 8], eax
test rdx, rdx
je 0x1401246bd
mov rdi, qword [rdx]
jmp 0x1401246c0
mov rdi, rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xb0], r15
call fcn.140127120
movups xmm6, xmmword [rax]
movq rbp, xmm6
test rbp, rbp
je 0x1401247bd
mov r15d, dword [rbp + 0x188]
mov ecx, 0x20
call qword [sym.imp.MSVCR120.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1401247bd
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r14
movups xmmword [rax], xmm6
test rdi, rdi
je 0x1401247b5
mov eax, dword [rdi + 0x18]
mov r14d, dword [rdi + 0x10]
mov dword [rbp + 0x184], eax
cmp dword [rdi + 0x20], 0
mov r15d, dword [rdi + 0x1c]
jne 0x140124740
lea rcx, [rsp + 0x60]
call fcn.140125860
mov rax, qword [rax]
mov r15d, dword [rax + 0x188]
xor r12d, r12d
lea rax, [rbp + 0x198]
lea r8, [0x140127c60]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov edx, r14d
xor ecx, ecx
mov dword [rbp + 0x28], r12d
mov qword [rbp + 0x58], r12
mov dword [rsp + 0x20], 4
call qword [sym.imp.MSVCR120.dll__beginthreadex]
mov r14, rax
mov qword [rbp + 8], rax
test rax, rax
je 0x1401247a3
test rdi, rdi
je 0x14012479a
lea rcx, [rsp + 0x30]
mov r8d, r15d
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm6
call fcn.140127730
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test r14, r14
cmovne ebx, r12d
test ebx, ebx
jne 0x1401247bd
movups xmmword [r13], xmm6
jmp 0x1401247db
xor r12d, r12d
mov r14d, r12d
jmp 0x140124743
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm6
call fcn.1401278e0
test rsi, rsi
je 0x1401247db
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_free]
mov r15, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
mov rbp, qword [r11 + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140125860
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rdi, qword [0x1401cf658]
xor r15d, r15d
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rcx
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
test rdi, rdi
je 0x1401258c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rdi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1401258c2
movups xmm6, xmmword [rdi + 0x10]
jmp 0x140125974
lea rcx, [rsp + 0x50]
call fcn.140127120
movups xmm6, xmmword [rax]
movq rbp, xmm6
test rbp, rbp
je 0x140125974
or dword [rbp + 0x194], 1
mov dword [rbp + 0x184], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0x198], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [rbp + 8]
mov r8, rdi
mov rdx, rbx
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140125955
lea rcx, [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm6
call fcn.140127b00
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x140125977
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov rdx, rbp
mov dword [rbp + 0x188], eax
mov rcx, qword [0x1401cf658]
call fcn.1401259a0
movups xmmword [rsi], xmm6
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rax, rsi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401259a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rsi, qword [0x1401cf658]
mov r14, rdx
mov rdi, rcx
cmp rcx, rsi
je 0x1401259e2
lea rcx, [rbp - 0x50]
call fcn.140125860
mov rbx, qword [rax]
test rbx, rbx
jne 0x140125a1e
mov eax, 2
jmp 0x140125b49
test rsi, rsi
je 0x140125a0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x140125a0d
movups xmm0, xmmword [rsi + 0x10]
jmp 0x140125a16
test r14, r14
je 0x1401259d8
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x50], xmm0
mov rbx, qword [rbp - 0x50]
mov qword [rsp + 0x90], r15
xor r15d, r15d
mov esi, r15d
test rdi, rdi
je 0x140125b3f
test rbx, rbx
je 0x140125b2a
cmp qword [rdi + 8], rsi
je 0x140125b2a
test r14, r14
je 0x140125b2a
lea rcx, [rdi + 0x10]
lea rdx, [rbp - 0x20]
call fcn.140126ed0
lea rcx, [rbx + 0x30]
lea rdx, [rbp - 0x40]
call fcn.140126ed0
mov rax, qword [rbx + 0x58]
test rax, rax
je 0x140125a83
cmp qword [rax + 8], rdi
je 0x140125a90
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140125a74
mov rdx, rdi
mov rcx, rbx
call fcn.140127f20
mov esi, eax
mov rdx, qword [rbp - 0x40]
mov rcx, r15
lock xadd qword [rbp - 0x38], rcx
or rbx, 0xffffffffffffffff
test rcx, rcx
jne 0x140125aca
lea rax, [rbp - 0x40]
lock cmpxchg qword [rdx], r15
lea rcx, [rbp - 0x40]
cmp rcx, rax
je 0x140125add
lea rcx, [rbp - 0x28]
call fcn.140126e70
mov rcx, r15
lock xadd qword [rbp - 0x38], rcx
xor eax, eax
lock cmpxchg qword [rcx + 0x10], rbx
je 0x140125add
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rdx, qword [rbp - 0x20]
mov rcx, r15
lock xadd qword [rbp - 0x18], rcx
test rcx, rcx
jne 0x140125b13
lea rax, [rbp - 0x20]
lock cmpxchg qword [rdx], r15
lea rcx, [rbp - 0x20]
cmp rcx, rax
je 0x140125b26
lea rcx, [rbp - 8]
call fcn.140126e70
mov rcx, r15
lock xadd qword [rbp - 0x18], rcx
xor eax, eax
lock cmpxchg qword [rcx + 0x10], rbx
je 0x140125b26
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
jne 0x140125b3f
mov ecx, dword [rdi]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, ntohs
test eax, eax
cmove esi, ecx
mov r15, qword [rsp + 0x90]
mov eax, esi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140125f00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
cmp dword [0x1401cf650], 0
je 0x140126128
mov qword [rsp + 0x80], rdi
mov rdi, qword [0x1401cf658]
test rdi, rdi
je 0x140126115
mov qword [rsp + 0x70], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rdi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1401260fd
movups xmm0, xmmword [rdi + 0x10]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x88], r14
movaps xmmword [rbp - 0x40], xmm0
call fcn.1401261b0
xor esi, esi
lea rcx, [rdi + 0x38]
lea rdx, [rbp - 0x20]
mov qword [rbp - 8], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rcx
xchg qword [rcx], rdx
or r14, 0xffffffffffffffff
test rdx, rdx
je 0x140125ff6
lea rax, [rbp - 0x20]
mov qword [rdx + 8], rax
xor eax, eax
lock cmpxchg qword [rdx + 0x18], r14
je 0x140125fb6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, rsi
lock xadd qword [rbp - 0x10], rax
test rax, rax
jne 0x140125ff6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
xor eax, eax
lock cmpxchg qword [rbp - 0x10], rbx
jne 0x140125fed
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x20]
mov dword [rdi + 0x28], 6
mov rcx, rsi
lock xadd qword [rbp - 0x18], rcx
test rcx, rcx
jne 0x140126033
lea rax, [rbp - 0x20]
lock cmpxchg qword [rdx], rsi
lea rcx, [rbp - 0x20]
cmp rcx, rax
je 0x140126046
lea rcx, [rbp - 8]
call fcn.140126e70
mov rcx, rsi
lock xadd qword [rbp - 0x18], rcx
xor eax, eax
lock cmpxchg qword [rcx + 0x10], r14
je 0x140126046
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp qword [rdi + 0x178], 0
mov rsi, qword [rsp + 0x78]
je 0x1401260ca
nop word [rax + rax]
mov rax, qword [rdi + 0x178]
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x28]
mov r8, qword [rcx + 0x10]
mov qword [rcx + 0x10], rdi
mov r9, qword [rdx + 0x18]
test r9, r9
je 0x140126087
mov rax, qword [rdx + 0x10]
mov qword [r9 + 0x10], rax
mov r9, qword [rdx + 0x10]
test r9, r9
je 0x140126098
mov rax, qword [rdx + 0x18]
mov qword [r9 + 0x18], rax
cmp qword [r8 + 0x178], rdx
jne 0x1401260ac
mov rax, qword [rdx + 0x18]
mov qword [r8 + 0x178], rax
mov rdx, qword [rcx + 0x28]
mov eax, r14d
xchg dword [rdx + 8], eax
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp qword [rdi + 0x178], 0
jne 0x140126060
cmp dword [rdi + 0x184], 1
mov r14, qword [rsp + 0x88]
jne 0x1401260fd
movups xmm0, xmmword [rdi + 0x10]
lea rcx, [rbp - 0x30]
movaps xmmword [rbp - 0x30], xmm0
call fcn.1401278e0
mov rax, qword [0x1401cf658]
mov ecx, dword [rax]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov eax, 1
add rsp, 0x60
pop rbp
ret
mov eax, 1
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
mov eax, 1
add rsp, 0x60
pop rbp
ret
Function at 0x140126b00
Capabilities:
Get thread local storage value

Disassembly:
xor r8d, r8d
jmp 0x140126b00
mov qword [rsp + 0x20], rbx
push rbp
push r14
push r15
sub rsp, 0x50
xor ebp, ebp
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov dword [rsp + 0x70], ebp
test rcx, rcx
je 0x140126c44
mov rax, qword [rcx]
test rax, rax
je 0x140126c44
cmp rax, 0xffffffffffffffff
jne 0x140126b48
call fcn.1401269d0
mov dword [rsp + 0x70], eax
test eax, 0xffffffef
jne 0x140126b7f
mov qword [rsp + 0x80], rdi
mov rdi, qword [rbx]
lea rcx, [rdi + 0x18]
call fcn.1401284c0
test eax, eax
jne 0x140126b6f
inc dword [rdi]
lea rcx, [rdi + 0x18]
call fcn.140128200
test eax, eax
je 0x140126b91
call qword [sym.imp.MSVCR120.dll__errno]
mov eax, dword [rax]
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
lea rax, [rsp + 0x70]
mov qword [rsp + 0x78], rsi
mov rsi, qword [0x1401cf660]
mov qword [rsp + 0x30], rax
lea rax, [0x140126da0]
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x40], rax
test rsi, rsi
je 0x140126bee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [0x1401cf660]
lea rdx, [rsp + 0x38]
mov rcx, rsi
mov qword [rsp + 0x48], rbp
call fcn.1401259a0
mov rcx, r14
call fcn.140125710
mov rsi, qword [rsp + 0x78]
mov dword [rsp + 0x70], eax
test eax, eax
jne 0x140126c31
lea rcx, [rdi + 0x10]
mov rdx, r15
call fcn.140128380
test eax, eax
je 0x140126c31
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rax]
mov dword [rsp + 0x70], ecx
mov ecx, 1
call fcn.140127210
mov eax, dword [rsp + 0x70]
jmp 0x140126b77
mov eax, reloc.WS2_32.dll_shutdown
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rbp
ret

Function at 0x140127210
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x1401cf660]
mov esi, ecx
test rdi, rdi
jne 0x140127235
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rdi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x30]
test rdi, rdi
je 0x140127281
test esi, esi
je 0x140127271
mov rax, qword [rdi]
test rax, rax
je 0x140127271
mov rcx, qword [rdi + 8]
call rax
mov rdx, qword [rdi + 0x10]
mov rcx, qword [0x1401cf660]
call fcn.1401259a0
mov rax, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140127290
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
cmp dword [0x1401cf650], 0
je 0x1401272a7
mov eax, 1
add rsp, 0x28
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
xor edi, edi
lea edx, [rdi + 0x20]
lea ecx, [rdi + 1]
mov dword [0x1401cf650], 1
call qword [sym.imp.MSVCR120.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x1401272da
mov qword [0x1401cf658], rdi
jmp 0x140127347
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
cmp eax, 0xffffffff
jne 0x1401272f7
mov rcx, rbx
mov edi, ntohs
call qword [sym.imp.MSVCR120.dll_free]
xor ebx, ebx
mov qword [0x1401cf658], rbx
test edi, edi
jne 0x140127347
lea edx, [rdi + 0x20]
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCR120.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x14012731f
mov qword [0x1401cf660], rdi
jmp 0x140127347
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
cmp eax, 0xffffffff
jne 0x14012733c
mov rcx, rbx
mov edi, ntohs
call qword [sym.imp.MSVCR120.dll_free]
xor ebx, ebx
mov qword [0x1401cf660], rbx
test edi, edi
je 0x14012734c
call fcn.140127370
mov eax, dword [0x1401cf650]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140127e30
Capabilities:
Get thread local storage value
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [0x1401cf658]
xor edi, edi
mov ebp, ecx
test rsi, rsi
jne 0x140127e58
mov esi, edi
jmp 0x140127e73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [rbp - 1]
mov dword [rsi + 0x28], 5
cmp ecx, 1
jbe 0x140127e8e
mov ecx, 1
call qword [sym.imp.MSVCR120.dll_exit]
int3
test byte [rsi + 0x194], 1
je 0x140127ec0
mov eax, ebp
dec eax
je 0x140127ea6
dec eax
jne 0x140127ea9
or edi, 0xffffffff
jmp 0x140127ea9
mov edi, dword [rsi + 0x48]
call fcn.140125f00
mov ecx, edi
call qword [sym.imp.MSVCR120.dll__endthreadex]
nop word [rax + rax]
mov rdi, qword [0x1401cf660]
test rdi, rdi
je 0x140127f0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rdi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140127f0c
mov rax, qword [rdi]
test rax, rax
je 0x140127efa
mov rcx, qword [rdi + 8]
call rax
mov rdx, qword [rdi + 0x10]
mov rcx, qword [0x1401cf660]
call fcn.1401259a0
jmp 0x140127ec0
lea rcx, [rsi + 0x70]
mov edx, ebp
call qword [sym.imp.MSVCR120.dll_longjmp]
int3
Function at 0x140128380
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rdi, qword [rcx]
xor ebp, ebp
mov rbx, rdx
mov dword [rsp + 0x70], ebp
mov r14, rcx
call fcn.140125b60
test rbx, rbx
jne 0x1401283b7
or r15d, 0xffffffff
jmp 0x1401283c2
mov rcx, rbx
call fcn.1401274e0
mov r15d, eax
lea rcx, [rdi + 8]
call fcn.140125130
mov dword [rsp + 0x70], eax
test eax, eax
jne 0x14012848a
lea rcx, [rdi + 8]
cmp qword [r14], rbp
jne 0x1401283f6
call fcn.140125710
call qword [sym.imp.MSVCR120.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
jmp 0x140128496
dec dword [rdi]
mov ebx, dword [rdi]
call fcn.140125710
test ebx, ebx
jns 0x14012847f
mov rsi, qword [0x1401cf660]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rax
lea rax, [0x1401275f0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
test rsi, rsi
je 0x140128456
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [0x1401cf660]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov qword [rsp + 0x40], rbp
call fcn.1401259a0
mov rcx, qword [rdi + 0x10]
mov edx, r15d
call fcn.1401267d0
mov ecx, eax
mov dword [rsp + 0x70], eax
call fcn.140127210
cmp dword [rsp + 0x70], 0
jne 0x14012848a
xor eax, eax
jmp 0x140128499
call qword [sym.imp.MSVCR120.dll__errno]
mov ecx, dword [rsp + 0x70]
mov dword [rax], ecx
or eax, 0xffffffff
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401284c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rdi, qword [rcx]
mov r14, rcx
call fcn.140125b60
test rdi, rdi
jne 0x140128509
lea ebx, [rdi + 0x16]
call qword [sym.imp.MSVCR120.dll__errno]
mov dword [rax], ebx
or eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
lea rcx, [rdi + 8]
call fcn.140125130
mov ebx, eax
test eax, eax
jne 0x1401284e8
cmp qword [r14], 0
lea rcx, [rdi + 8]
jne 0x140128534
call fcn.140125710
call qword [sym.imp.MSVCR120.dll__errno]
mov ebx, reloc.WS2_32.dll_shutdown
jmp 0x1401284ee
dec dword [rdi]
mov ebx, dword [rdi]
call fcn.140125710
test ebx, ebx
jns 0x1401285bd
mov rsi, qword [0x1401cf660]
lea rax, [0x140127650]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
test rsi, rsi
jne 0x140128567
xor ebp, ebp
jmp 0x140128589
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [0x1401cf660]
lea rdx, [rsp + 0x20]
mov rcx, rsi
mov qword [rsp + 0x30], rbp
call fcn.1401259a0
mov rcx, qword [rdi + 0x10]
or edx, 0xffffffff
call fcn.1401267d0
mov ecx, eax
mov ebx, eax
call fcn.140127210
mov rbp, qword [rsp + 0x50]
test ebx, ebx
jne 0x1401284e8
xor eax, eax
jmp 0x1401284f3
Function at 0x7ffcbe251000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x150
cmp dword [rsp + 0x160], 0
jne 0x7ffcbe25101d
xor eax, eax
jmp 0x7ffcbe251162
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x7ffcbe251160
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x50], 0
je 0x7ffcbe25114c
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
cmp eax, 0x103
jge 0x7ffcbe25114a
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x7ffcbe251123
mov eax, dword [rsp + 0x20]
cmp rax, 0x103
jae 0x7ffcbe251123
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
cmp eax, 0x61
jl 0x7ffcbe2510fb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
cmp eax, 0x7a
jg 0x7ffcbe2510fb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
sub eax, 0x20
mov ecx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x40], al
jmp 0x7ffcbe251114
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rsp + 0x20]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + rdx + 0x40], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x7ffcbe251090
mov eax, dword [rsp + 0x20]
mov byte [rsp + rax + 0x40], 0
lea rcx, [rsp + 0x40]
call fcn.7ffcbe251300
cmp eax, dword [rsp + 0x160]
jne 0x7ffcbe25114a
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
jmp 0x7ffcbe251162
jmp 0x7ffcbe25114e
jmp 0x7ffcbe251160
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x7ffcbe251047
xor eax, eax
add rsp, 0x150
pop rdi
ret
Function at 0x7ffcbe251170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x90], 0
je 0x7ffcbe251195
cmp dword [rsp + 0x98], 0
jne 0x7ffcbe25119c
xor eax, eax
jmp 0x7ffcbe2512f2
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x38], 0
je 0x7ffcbe2512ed
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.7ffcbe251300
cmp eax, dword [rsp + 0x98]
jne 0x7ffcbe2512cc
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x7ffcbe2512ed
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x7ffcbe25125a
mov rax, qword [rsp + 0x58]
add rsp, 0x88
ret
Function at 0x7ffcbe251300
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xffffffff
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x7ffcbe2513af
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
call fcn.7ffcbe2513d0
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x2c], 0
jmp 0x7ffcbe251362
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 7
jg 0x7ffcbe2513a0
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
test eax, eax
jge 0x7ffcbe25138a
mov eax, dword [rsp + 0x20]
shl eax, 1
xor eax, 0x4c11db7
mov dword [rsp + 0x20], eax
jmp 0x7ffcbe251394
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
shl eax, 1
mov dword [rsp + 0x24], eax
jmp 0x7ffcbe251358
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
jmp 0x7ffcbe251319
mov eax, dword [rsp + 0x20]
not eax
mov ecx, eax
call fcn.7ffcbe2513d0
add rsp, 0x38
ret