joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100125ec0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rbx, rcx
call fcn.100125d90
mov dword [rsp + 0x30], eax
test eax, eax
jne 0x100125fed
xor ecx, ecx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x60], 0x1f80
lea rax, [0x10011ee40]
mov qword [rsp + 0x68], rax
lea rax, [0x10011f120]
mov qword [rsp + 0x70], rax
lea rax, [0x10011f250]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xa0], rcx
mov dword [rsp + 0x80], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x88], rax
lea rdx, [rbx + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.10011fbd0
mov dword [rsp + 0x30], eax
test eax, eax
je 0x100125f68
mov qword [rbx + 0xa0], 0xffffffffffffffff
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100125f93
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100125fa4
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100125fdb
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100125fd4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100125fe9
call fcn.1000618f0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x100126230
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, rcx
lea rbx, [rcx + 0x58]
mov qword [rax + 8], rbx
mov dword [rax - 0x50], 0x80000c2
xor r15d, r15d
mov qword [rax - 0x48], r15
mov qword [rax - 0x38], r15
mov qword [rax - 0x40], r15
mov qword [rax - 0x30], r15
lea r8, [rax - 0x50]
or edx, 0xffffffff
mov rcx, rbx
call fcn.10005b250
nop
lea r14, [rbp + 0x48]
mov rdi, qword [r14 + 8]
cmp rdi, r14
je 0x10012629c
test rdi, rdi
je 0x10012629c
add rdi, 0xfffffffffffffff8
jmp 0x10012629f
mov rdi, r15
test rdi, rdi
je 0x1001263f9
mov r12d, 0x200
nop
mov rax, qword [rdi]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, qword [rbp + 0xa0]
call fcn.1001203b0
mov r9, qword [rdi]
mov rcx, qword [0x10029b218]
test eax, eax
je 0x100126304
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x20], rax
lea r8, [0x100033e60]
mov edx, 3
call fcn.100156ed0
jmp 0x100126321
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x20], rax
lea r8, [0x100033f10]
mov edx, 4
call fcn.100156ed0
mov rsi, rdi
lea rdx, [rdi + 8]
mov rdi, qword [rdx + 8]
cmp rdi, r14
je 0x10012633c
test rdi, rdi
je 0x10012633c
add rdi, 0xfffffffffffffff8
jmp 0x10012633f
mov rdi, r15
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rdx + 8], r15
mov qword [rdx], r15
test rsi, rsi
je 0x1001263f0
mov rdx, qword [rsi]
test rdx, rdx
je 0x1001263a9
mov rax, rdx
and rax, 0xffffffffffffe000
je 0x10012637b
cmp word [rax + 4], r12w
jne 0x10012637b
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rdx
je 0x100126399
cmp word [rcx + 4], r12w
jne 0x100126399
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x1001263a9
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rax, rsi
and rax, 0xffffffffffffe000
je 0x1001263bf
cmp word [rax + 4], r12w
jne 0x1001263bf
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rsi
je 0x1001263dd
cmp word [rcx + 4], r12w
jne 0x1001263dd
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x1001263f0
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x28]
test rdi, rdi
jne 0x1001262b0
mov rcx, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
jmp fcn.10005b360

Function at 0x100126420
Capabilities:
Get thread local storage value

Disassembly:
mov r8d, edx
sub r8d, 2
je 0x100126454
dec r8d
je 0x100126449
mov rcx, qword [0x10029b218]
mov r9d, edx
lea r8, [0x100033fa0]
mov edx, 1
jmp fcn.100156ed0
mov dword [rcx + 0xac], 8
ret
mov dword [rcx + 0xac], 3
ret
Function at 0x100126ce0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rdi, rcx
lea rax, [0x1000343d0]
mov qword [rcx], rax
mov rax, qword [rcx + 0xb0]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [0x1000346d0]
mov edx, 4
mov rcx, qword [0x10029b218]
call fcn.100156ed0
nop
xor edx, edx
lea rax, [fcn.100062040]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.10005b410
nop
call fcn.100163fa0
test al, al
je 0x100126d87
mov eax, dword [rdi + 0xc4]
neg eax
movsxd rbx, eax
call fcn.100163fc0
mov rcx, rax
mov qword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
mov r8d, 0x80
call fcn.1001646e0
mov rdx, qword [rdi + 0x20]
mov ebx, 0x200
test rdx, rdx
je 0x100126deb
mov rax, rdx
and rax, 0xffffffffffffe000
mov qword [rsp + 0x48], rax
je 0x100126db4
cmp word [rax + 4], bx
jne 0x100126db4
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rdx
mov qword [rsp + 0x40], rcx
je 0x100126ddb
cmp word [rcx + 4], bx
jne 0x100126ddb
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x100126deb
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rdx, qword [rdi + 0x28]
test rdx, rdx
je 0x100126e4a
mov rax, rdx
and rax, 0xffffffffffffe000
mov qword [rsp + 0x38], rax
je 0x100126e13
cmp word [rax + 4], bx
jne 0x100126e13
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x10]
dec rcx
not rcx
and rcx, rdx
mov qword [rsp + 0x30], rcx
je 0x100126e3a
cmp word [rcx + 4], bx
jne 0x100126e3a
mov rcx, qword [rcx + 0x28]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rcx + 8]
test byte [rcx + 0x28], 8
jne 0x100126e4a
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rdi + 0xb0]
test rcx, rcx
je 0x100126e5c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x100126e6b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x100126e79
call fcn.10012c320
lea rdx, [rsp + 0xc8]
mov rcx, rdi
call fcn.1001274b0
test eax, eax
je 0x100126eae
mov qword [rsp + 0x20], rdi
mov r9d, eax
lea r8, [0x100034730]
mov edx, 1
mov rcx, qword [0x10029b218]
call fcn.100156ed0
nop
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100126ee4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100126ef5
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100126f2c
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100126f25
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100126f3a
call fcn.1000618f0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret
Function at 0x100127500
Capabilities:
Get number of processors
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rbx, rcx
xor edx, edx
lea rax, [fcn.100062040]
mov qword [r11 - 0x78], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [r11 - 0x38]
call fcn.10005b410
nop
lea rax, [rbx + 0xb8]
mov qword [rsp + 0xb0], rax
mov eax, dword [rax]
cmp eax, 1
je 0x100127594
mov dword [rsp + 0xa8], 0x1f4
mov r9, rbx
lea r8, [0x1000352e0]
mov edx, 4
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov rcx, qword [rbx + 0xb0]
mov rax, qword [rcx]
mov edx, 0x1f4
lea r8, [rsp + 0xa8]
call qword [rax + 0x88]
mov r9, rbx
lea r8, [0x100035370]
mov edx, 4
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov ecx, 1
xor eax, eax
lock cmpxchg dword [rbx + 0xbc], ecx
jne 0x1001275e4
mov r9, rbx
lea r8, [0x10002eeb0]
lea edx, [rcx + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x60]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10012761a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x10012762b
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100127662
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10012765b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100127670
call fcn.1000618f0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret

Function at 0x100127690
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbx, rcx
xor edx, edx
lea rax, [fcn.100062040]
mov qword [r11 - 0x78], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [r11 - 0x38]
call fcn.10005b410
nop
mov r9, rbx
lea r8, [0x100035400]
mov edx, 4
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov ecx, 1
xor eax, eax
lock cmpxchg dword [rbx + 0xbc], ecx
jne 0x10012771b
mov r9, rbx
lea r8, [0x10002eeb0]
lea edx, [rcx + 3]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x60]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127751
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100127762
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100127799
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127792
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x1001277a7
call fcn.1000618f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x100127b10
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x138], rbx
mov rbx, rcx
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x90], 0xa
mov qword [rsp + 0x30], 0
xor edx, edx
lea rax, [fcn.100062040]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.10005b410
nop
xor edx, edx
mov rcx, qword [rbx + 0x10]
call fcn.10011b8d0
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x100127bc8
mov qword [rsp + 0x20], rbx
lea r9d, [rax + 8]
lea r8, [0x100034ac0]
lea edx, [rax + 1]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov dword [rbx + 8], 6
lea rcx, [rsp + 0x70]
call fcn.10005b4f0
xor eax, eax
jmp 0x100127cbe
lea r9, [rsp + 0x38]
xor edx, edx
mov r8d, 0x400
mov rcx, qword [rbx + 0x10]
call fcn.100120af0
test eax, eax
jne 0x100127bf7
mov dword [rbx + 8], 1
mov rax, qword [rsp + 0x98]
mov qword [rbx + 0x18], rax
jmp 0x100127c1e
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea r8, [0x100034b30]
mov edx, 1
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov dword [rbx + 8], 6
mov qword [rsp + 0x30], 0
mov rcx, rdi
call fcn.10011bc00
nop
lea rcx, [rsp + 0x70]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127c66
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100127c77
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100127cae
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127ca7
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100127cbc
call fcn.1000618f0
xor eax, eax
mov rbx, qword [rsp + 0x138]
add rsp, 0x110
pop rdi
ret
Function at 0x100127ce0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rsi, rcx
cmp dword [0x10022f2bc], 0
je 0x100127e9a
xor r14d, r14d
mov qword [rbp - 0x28], r14
mov dword [rbp - 0x1c], r14d
lea rax, [rbp - 0x18]
mov qword [rbp + 0x38], rax
mov dword [rbp - 0x1c], r14d
call fcn.100068a00
mov rdi, rax
mov rcx, qword gs:[0x30]
lea rbx, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127d49
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
cmp qword [rbx], r14
jne 0x100127da7
call fcn.100068a00
mov rdi, rax
mov rcx, qword gs:[0x30]
lea rbx, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127d7a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
cmp qword [rbx], r14
jne 0x100127da0
call fcn.1001407c0
call fcn.100068a00
mov rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127da0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x1c], r14d
lea rax, [rbp - 0x28]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x40], rax
cmp dword [rbp - 0x1c], 0
jl 0x100127dea
call fcn.100058b00
test eax, eax
jne 0x100127dd8
call fcn.1000589b0
mov dword [rbp - 0x24], 1
jmp 0x100127ddc
mov dword [rbp - 0x24], r14d
mov dword [rbp - 0x1c], r14d
lea rax, [rbp - 0x24]
mov qword [rbp - 0x10], rax
jmp 0x100127dee
mov qword [rbp - 0x10], r14
lea rax, [rbp - 8]
mov qword [rbp + 0x48], rax
cmp dword [rbp - 0x1c], 0
jl 0x100127e1c
call fcn.100058ba0
mov dword [rbp - 0x20], eax
mov ecx, 1
call fcn.100058c40
mov dword [rbp - 0x1c], r14d
lea rax, [rbp - 0x20]
mov qword [rbp - 8], rax
jmp 0x100127e20
mov qword [rbp - 8], r14
mov rcx, rsi
call fcn.100127eb0
mov edi, eax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x40], rax
lea rax, [rbp - 8]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp - 8]
test rax, rax
je 0x100127e53
mov ecx, dword [rax]
call fcn.100058c40
nop
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x100127e67
cmp dword [rax], 0
je 0x100127e67
call fcn.100058a50
nop
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x100127e96
cmp dword [rax], 0
je 0x100127e96
call fcn.100068a00
mov rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100127e91
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
call fcn.10013e1e0
mov eax, edi
jmp 0x100127e9f
call fcn.100127eb0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x100128280
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x110
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rbx, rcx
xor esi, esi
mov qword [rsp + 0x30], rsi
xor edx, edx
lea rax, [fcn.100062040]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.10005b410
nop
xor edx, edx
mov rcx, qword [rbx + 0x10]
call fcn.10011b8d0
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x100128310
mov qword [rsp + 0x20], rbx
lea r9d, [rsi + 8]
lea r8, [0x100034ac0]
lea edx, [rsi + 1]
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov dword [rbx + 8], 6
lea rcx, [rsp + 0x70]
call fcn.10005b4f0
xor eax, eax
jmp 0x100128435
mov dword [rsp + 0x38], esi
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0xe0], 8
mov dword [rbx + 8], esi
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbx + 0x10]
call fcn.100120af0
cmp eax, 0x3e5
jne 0x10012835e
lea rcx, [rsp + 0x70]
call fcn.10005b4f0
mov eax, 1
jmp 0x100128435
cmp eax, 0x8ca
jne 0x10012836e
mov dword [rbx + 8], 4
jmp 0x100128399
test eax, eax
je 0x100128399
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea r8, [0x100034fc0]
mov edx, 1
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov dword [rbx + 8], 6
mov qword [rsp + 0x30], rsi
mov rcx, rdi
call fcn.10011bc00
nop
lea rcx, [rsp + 0x70]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x1001283dd
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1001283ee
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100128425
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10012841e
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100128433
call fcn.1000618f0
xor eax, eax
add rsp, 0x110
pop rdi
pop rsi
pop rbx
ret
Function at 0x100128450
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rbx, rcx
mov qword [r11 - 0x68], 0
xor edx, edx
lea rax, [fcn.100062040]
mov qword [r11 - 0x78], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [r11 - 0x30]
call fcn.10005b410
nop
mov rcx, qword [rbx + 0x40]
mov qword [rsp + 0x30], rcx
mov eax, 1
xchg dword [rcx + 0xb8], eax
mov rbx, qword [rsp + 0x30]
mov r9, rbx
lea r8, [0x100035240]
mov edx, 4
mov rcx, qword [0x10029b218]
call fcn.100156ed0
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100128504
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100128515
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x10012854c
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100128545
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x10012855a
call fcn.1000618f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret

Function at 0x100128580
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0xd0
mov qword [r11 - 0x80], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbx, rcx
mov dword [rsp + 0x38], 0
lea rax, [r11 - 0x78]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x60], 9
lea rax, [rcx + 0x58]
mov qword [r11 - 0x70], rax
xor edx, edx
lea rax, [fcn.100062040]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [r11 - 0x50]
call fcn.10005b410
nop
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x10]
call fcn.100120af0
mov dword [rsp + 0x30], eax
cmp eax, 0x3e5
je 0x100128620
test eax, eax
je 0x100128620
mov qword [rsp + 0x20], rbx
mov r9d, eax
lea r8, [0x100035160]
mov edx, 1
mov rcx, qword [0x10029b218]
call fcn.100156ed0
nop
lea rcx, [rsp + 0x88]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100128659
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x10012866a
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x1001286a1
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10012869a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x1001286af
call fcn.1000618f0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x100128d20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebp, ecx
mov esi, edx
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x100128d63
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
mov qword [rbx + rbp*8], rsi
mov rbx, qword [rsp + 0x30]
mov rax, qword [rax + 0x38]
mov qword [rax + rbp*8], rsi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x100129800
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x100131080
mov r9, qword [rcx + 0x10]
mov ecx, dword [rdx]
test ecx, ecx
je 0x1001310a4
dec ecx
jne 0x1001310a1
mov r8, qword [rdx + 8]
mov rcx, qword [0x10029aac8]
mov rdx, r9
jmp 0x1001333b0
xor eax, eax
ret
mov r8, qword [rdx + 8]
mov rcx, qword [0x10029aac8]
mov rdx, r9
jmp 0x1001332a0
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 0
xor edx, edx
lea rax, [0x100062180]
mov qword [r11 - 0x78], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [r11 - 0x30]
call fcn.10005b410
nop
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rsi + 0x20]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10013332f
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100133340
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100133377
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100133370
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100133385
call fcn.1000618f0
mov eax, dword [rsp + 0x30]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 0
xor edx, edx
lea rax, [0x100062180]
mov qword [r11 - 0x78], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [r11 - 0x30]
call fcn.10005b410
nop
mov rdx, rbx
mov rcx, rdi
call qword [rsi + 0x28]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x68]
call fcn.10005b4f0
nop
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10013343c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x10013344d
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100133484
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10013347d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100133492
call fcn.1000618f0
mov eax, dword [rsp + 0x30]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret