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

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov dword [rbp - 0x34], esi
mov qword [rcx], rsi
mov dword [rcx + 8], esi
call fcn.100058b00
mov dword [rbp - 0x38], eax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x20], rax
lea rax, [rbp - 0x34]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x30], rax
call fcn.100058b00
test eax, eax
jne 0x100141b8b
call fcn.1000589b0
mov dword [rbp - 0x34], 1
jmp 0x100141b8e
mov dword [rbp - 0x34], esi
lea rax, [rbp - 0x34]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x38], rax
call fcn.100058ba0
mov dword [rbp - 0x30], eax
mov ecx, 1
call fcn.100058c40
lea r11, [rbp - 0x30]
mov qword [rbp - 0x10], r11
mov rcx, qword [rbx + 8]
call qword [rbx]
mov dword [rdi + 8], eax
mov dword [rdi], 5
lea rax, [rbp - 0x20]
mov qword [rbp + 0x20], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x100141bf0
mov ecx, dword [rax]
call fcn.100058c40
nop
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x100141c04
cmp dword [rax], 0
je 0x100141c04
call fcn.100058a50
nop
cmp qword [rbp - 0x20], 0
je 0x100141ca3
call fcn.100068a00
mov rbx, rax
mov rcx, qword gs:[0x30]
lea rsi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100141c3b
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov rax, qword [rsi + 0xd8]
cmp qword [rax + 0x1d8], 0
je 0x100141ca3
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
xor ecx, ecx
call fcn.1000e86b0
call fcn.100068a00
mov rbx, rax
mov rcx, qword gs:[0x30]
lea rsi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100141c85
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov rbx, qword [rsi]
lea rcx, [rbx + 0x190]
mov edx, 2
call fcn.100149200
mov dword [rbx + 0xe0], 2
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x100141d09
mov ebx, dword [rax]
call fcn.100058b00
cmp eax, ebx
je 0x100141d09
test ebx, ebx
jne 0x100141cc0
call fcn.100058a50
call fcn.100068a00
mov rsi, rax
mov rbx, qword gs:[0x30]
add rbx, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100141ceb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rbx, qword [rbx]
lea rcx, [rbx + 0x190]
mov edx, 1
call fcn.100149200
mov dword [rbx + 0xe0], 1
mov rax, rdi
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1001429c0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x10003f4d0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x100142a93
lea rdx, [0x10003f4e8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x100142a93
lea rdx, [0x10003f508]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 8], rax
test rax, rax
je 0x100142a93
lea rdx, [0x10003f528]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x100142a93
lea rdx, [0x10003f558]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x100142a93
lea rdx, [0x10003f570]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x100142a93
lea rdx, [0x10003f588]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x100142a93
lea rdx, [0x10003f598]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
cmp qword [rbx], 0
je 0x100142ad3
cmp qword [rbx + 8], 0
je 0x100142ad3
cmp qword [rbx + 0x10], 0
je 0x100142ad3
cmp qword [rbx + 0x18], 0
je 0x100142ad3
cmp qword [rbx + 0x20], 0
je 0x100142ad3
cmp qword [rbx + 0x28], 0
je 0x100142ad3
cmp qword [rbx + 0x30], 0
je 0x100142ad3
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rdi, rdi
je 0x100142ae1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x100142be0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x30
mov edx, dword [rcx + 0xe8]
mov rbx, rcx
sub edx, 5
je 0x100142c7c
dec edx
je 0x100142c1f
cmp edx, 2
jne 0x100142c97
mov edx, 0x1b
lea ecx, [rdx + 0x26]
lea r9d, [rdx - 0x1a]
lea r8d, [rdx - 0xb]
add rsp, 0x30
pop rbx
jmp fcn.100061c20
xor r9d, r9d
cmp dword [rcx + 0x80], 4
jge 0x100142c52
mov dword [rcx + 0x80], 4
mov dword [rcx + 0x78], 0x80004005
mov dword [rcx + 0x7c], r9d
call fcn.10011b2e0
mov r9d, 1
mov qword [rbx + 0x88], rax
mov rax, qword [rbx]
mov edx, 4
mov r8d, 0x80004005
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
call qword [rax + 0x78]
add rsp, 0x30
pop rbx
ret
mov r9d, dword [rcx + 0x7c]
mov r8d, dword [rcx + 0x78]
mov edx, dword [rcx + 0x80]
mov dword [rsp + 0x20], 1
call fcn.100145440
add rsp, 0x30
pop rbx
ret
Function at 0x100142cc0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov edi, edx
call fcn.100145530
mov rbx, rax
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x100142dd9
xor edx, edx
lea rax, [0x100062180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.10005b410
nop
mov qword [rsp + 0x30], rbx
lea rax, [0x10005b680]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.100148900
nop
lea rcx, [rsp + 0x70]
call fcn.10005b4f0
nop
jmp 0x100142d4f
call fcn.100068a00
mov rsi, rax
mov rdi, qword gs:[0x30]
add rdi, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100142d7a
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rdi, rdi
je 0x100142d8b
mov rax, qword [rdi + 0xd8]
test rax, rax
jne 0x100142dc2
call fcn.100063d30
call fcn.100068a00
mov rsi, rax
mov rdi, qword gs:[0x30]
add rdi, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100142dbb
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rax, qword [rdi + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100142dd0
call fcn.1000618f0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x100144a00
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
xor edi, edi
call qword [rax + 0x58]
mov rbx, rax
call fcn.10006aec0
mov r11d, eax
xorps xmm0, xmm0
imul rbx, r11
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x100144a45
addsd xmm0, qword [0x100004e90]
mulsd xmm0, qword [0x10003f840]
movsd xmm1, qword [0x100004e88]
xor eax, eax
comisd xmm0, xmm1
jbe 0x100144a74
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x100144a74
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rbx, xmm0
lea rcx, [rsp + 0x20]
add rbx, 0x2097900
add rbx, rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x20], 0x40
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x50], rbx
mov eax, 0x8007000e
cmovb edi, eax
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.10005f420
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x100148900
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov r14, rdx
mov rbx, rcx
xor eax, eax
mov qword [rcx], rax
mov dword [rcx + 8], eax
call fcn.100068a00
mov rsi, rax
mov r8, qword gs:[0x30]
lea rdi, [r8 + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100148951
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
cmp qword [rdi], 0
jne 0x100148978
call fcn.1001407c0
call fcn.100068a00
mov rdi, rax
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x100148978
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
call fcn.100058ba0
mov dword [rsp + 0x60], eax
mov ecx, 1
call fcn.100058c40
lea r11, [rsp + 0x60]
mov qword [rsp + 0x30], r11
mov edx, dword [r14 + 0x10]
mov rcx, qword [r14]
call qword [r14 + reloc.WS2_32.dll_htonl]
mov dword [rbx + 8], eax
mov dword [rbx], 5
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1001489d8
mov ecx, dword [rax]
call fcn.100058c40
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x100148ff0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x100149025
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx]
test rax, rax
je 0x10014903e
add rax, 0x190
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x100149340
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x100149375
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100149386
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x1001493bd
call fcn.100063d30
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x1001493b6
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
mov rax, qword [rax + 0x210]
mov rbx, qword [rsp + 0x30]
mov eax, dword [rax + 0xb4]
shr eax, 2
and eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x1001494b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp edx, 3
jne 0x1001494c2
add rsp, 0x28
jmp fcn.1000cf800
cmp edx, 4
jne 0x1001494cc
call fcn.1000cfa90
add rsp, 0x28
ret
Function at 0x1001494e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x10014951a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rbp, qword [rbx]
test rbp, rbp
je 0x10014962e
cmp dword [rbp + 0x17c], 0
jbe 0x10014962e
mov qword [rsp + 0x38], r14
call fcn.1000cff40
mov rbx, rax
call fcn.10006af70
xor edx, edx
mov r11, rax
mov rax, rbx
mov r14d, 0x4e2
div qword [r11]
cmp eax, r14d
cmovl r14d, eax
xor edi, edi
test r14d, r14d
jle 0x100149629
mov qword [rsp + 0x30], rsi
nop dword [rax]
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rsi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x10014959b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1001495ac
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x1001495e3
call fcn.100063d30
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rsi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x1001495dc
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
mov rax, qword [rax + 0x210]
mov eax, dword [rax + 0xb4]
test al, 0x10
jne 0x100149624
call fcn.100149340
test eax, eax
jne 0x100149624
cmp dword [rbp + 0x11c8], 2
je 0x100149624
lea rdx, [0x100241330]
xor ecx, ecx
call fcn.100058870
cmp eax, 2
je 0x100149624
inc edi
cmp edi, r14d
jl 0x100149570
mov rsi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x100149f70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x100149fa5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100149fb6
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100149fed
call fcn.100063d30
call fcn.100068a00
mov rbx, qword gs:[0x30]
mov rcx, rax
mov rdi, rax
add rbx, rax
call fcn.10006c530
test eax, eax
jne 0x100149fe6
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
mov rcx, qword [rax + 0x218]
test rcx, rcx
je 0x10014a00a
mov eax, dword [rcx + 0xabc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x10014a970
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rbx, rcx
mov dword [rax - 0x30], 0x400126
xor ebp, ebp
mov qword [rax - 0x28], rbp
mov qword [rax - 0x18], rbp
mov qword [rax - 0x20], rbp
mov qword [rax - 0x10], rbp
lea edx, [rbp + 1]
lea rcx, [rax - 0x40]
call fcn.100057f20
nop
call fcn.100068a00
mov rsi, rax
mov rcx, qword gs:[0x30]
lea rdi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10014a9e1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rdi, rdi
je 0x10014a9f2
mov rcx, qword [rdi + 0xd8]
test rcx, rcx
jne 0x10014aa2a
call fcn.100063d30
call fcn.100068a00
mov rdi, rax
mov rcx, qword gs:[0x30]
lea rsi, [rcx + rax]
mov rcx, rax
call fcn.10006c530
test eax, eax
jne 0x10014aa23
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov rcx, qword [rsi + 0xd8]
mov rax, qword [rcx + 0x218]
mov r8d, 0x3e8
cmp rax, qword [rbx + 0x30]
jne 0x10014aa48
test byte [rcx + 0x2d8], 4
cmove r8, rbp
cmp rcx, qword [rbx + 0x20]
je 0x10014aaa3
nop
xor eax, eax
lock cmpxchg qword [rbx + 0x20], rcx
je 0x10014aa7c
mov rax, r8
dec r8
test rax, rax
jg 0x10014aa50
lea r9, [rsp + 0x38]
or r8d, 0xffffffff
mov rdx, rcx
lea rcx, [rbx + 8]
call fcn.100083de0
jmp 0x10014aaa7
mov rax, qword [rcx + 0x218]
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], 1
mov rax, qword [rcx + 0x210]
mov qword [rbx + 0x28], rax
mov qword [rcx + 0xd0], rbp
jmp 0x10014aaa7
inc qword [rbx + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x28]
not eax
and dword [rcx + 0x220], eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x10014b260
Capabilities:
Get memory capacity

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
lea rcx, [r11 - 0x58]
mov rdi, r8
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r11, qword [rsp + 0x30]
movsd xmm2, qword [0x100004e90]
xorps xmm1, xmm1
cvtsi2sd xmm1, r11
test r11, r11
jns 0x10014b2d3
addsd xmm1, xmm2
mov rax, qword [rsp + 0x28]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jns 0x10014b2e9
addsd xmm0, xmm2
mov rcx, qword [rsp + 0x50]
divsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
test rcx, rcx
jns 0x10014b303
addsd xmm0, xmm2
mov rax, qword [rsp + 0x48]
xorps xmm3, xmm3
cvtsi2sd xmm3, rax
test rax, rax
jns 0x10014b319
addsd xmm3, xmm2
divsd xmm0, xmm3
comisd xmm0, xmm1
ja 0x10014b326
movaps xmm1, xmm0
movsd xmm0, qword [0x100026510]
cmp r11, rcx
cmovb rcx, r11
subsd xmm0, xmm1
mulsd xmm0, qword [0x100040308]
cvttsd2si rax, xmm0
mov dword [rbx], eax
mov qword [rdi], rcx
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.10005f420
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x100150a70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14d, edx
mov rbx, rcx
call fcn.100068a00
mov rdi, qword gs:[0x30]
mov rcx, rax
mov rsi, rax
add rdi, rax
call fcn.10006c530
test eax, eax
jne 0x100150abe
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rdi, rdi
je 0x100150acf
mov rdx, qword [rdi + 0xd8]
test rdx, rdx
jne 0x100150b06
call fcn.100063d30
call fcn.100068a00
mov rdi, qword gs:[0x30]
mov rcx, rax
mov rsi, rax
add rdi, rax
call fcn.10006c530
test eax, eax
jne 0x100150aff
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov rdx, qword [rdi + 0xd8]
mov rax, qword [rbx + 0x28]
xor r9d, r9d
mov ecx, 0x3e8
cmp qword [rdx + 0x218], rax
jne 0x100150b26
test byte [rdx + 0x2d8], 4
cmove ecx, r9d
cmp rdx, qword [rbx + 0x18]
je 0x100150b8f
nop dword [rax]
mov r8d, r9d
xor eax, eax
lock cmpxchg qword [rbx + 0x18], rdx
jne 0x100150b64
mov rax, qword [rdx + 0x218]
mov qword [rbx + 0x30], 1
mov qword [rbx + 0x28], rax
mov rax, qword [rdx + 0x210]
mov qword [rbx + 0x20], rax
mov qword [rdx + 0xd0], r9
jmp 0x100150b6a
mov r8d, 0x80000000
test r8d, r8d
je 0x100150b8a
mov rax, rcx
dec rcx
test rax, rax
jg 0x100150b30
mov r9, rbp
mov r8d, r14d
mov rcx, rbx
call fcn.100083de0
jmp 0x100150b96
mov eax, r8d
jmp 0x100150b96
inc qword [rbx + 0x30]
mov eax, r9d
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1001533b0
Capabilities:
Get thread local storage value
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1098
call fcn.10005f3c0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x1088], rax
lea rax, [rsp + 0x10b8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x10b0]
or r8, 0xffffffffffffffff
mov edi, 0x800
mov edx, edi
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR100.dll__vsnwprintf_s]
mov ebx, eax
cmp eax, 0xffffffff
cmove ebx, edi
movsxd rax, ebx
add rax, rax
inc ebx
cmp rax, 0x1002
jae 0x1001534a9
xor edi, edi
mov word [rsp + rax + 0x70], di
mov qword [rsp + 0x38], rdi
cmp dword [0x1002465e0], edi
je 0x1001534a7
cmp qword [0x10029b210], rdi
je 0x1001534a7
cmp qword [0x10029b240], rdi
je 0x100153462
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR100.dll_wprintf]
cmp qword [0x10029b248], rdi
je 0x100153476
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [0x10029b220]
test rcx, rcx
je 0x1001534a7
mov dword [rsp + 0x30], edi
lea r8d, [rbx + rbx]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov rcx, qword [rcx + 0x2a8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
jmp 0x1001534b1
xor ecx, ecx
call fcn.10005f7b8
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 0x1001534dc
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1001534ed
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100153524
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 0x10015351d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100153532
call fcn.1000618f0
mov rcx, qword [rsp + 0x1088]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x1098
pop rdi
pop rbx
ret
Function at 0x100156ed0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1098
call fcn.10005f3c0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x1088], rax
mov ebx, edx
mov rdi, rcx
cmp dword [rcx], edx
jl 0x100156fe7
lea rax, [rsp + 0x10c8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x10c0]
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR100.dll__vsnwprintf_s]
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call fcn.100156e90
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 0x100156f91
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100156fa2
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100156fd9
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 0x100156fd2
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100156fe7
call fcn.1000618f0
mov rcx, qword [rsp + 0x1088]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x1098
pop rdi
pop rbx
ret

Function at 0x100157010
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1098
call fcn.10005f3c0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x1088], rax
mov ebx, edx
mov rdi, rcx
cmp dword [rcx], edx
jl 0x10015712a
lea rax, [rsp + 0x10c8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x10c0]
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR100.dll__vsnwprintf_s]
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call fcn.100156e90
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 0x1001570d4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1001570e5
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x10015711c
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 0x100157115
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x10015712a
call fcn.1000618f0
mov rcx, qword [rsp + 0x1088]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x1098
pop rdi
pop rbx
ret