joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012b3b0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1f0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
mov eax, dword [0x10029a8b0]
and eax, 0x20004
xor ebx, ebx
cmp eax, 0x20004
jne 0x10012b42f
mov rax, qword [0x1004e2d40]
test rax, rax
je 0x10012b42f
cmp qword [0x10023faa8], 0xffffffffffffffff
je 0x10012b42f
mov qword [rsp + 0x28], rbx
mov rax, qword [0x1004e2d40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x10023faa8]
call qword [0x10023fb00]
cmp byte [0x10029a9f5], bl
jne 0x10012b498
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10012b491
mov ecx, 0x101
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10012b491
mov ebx, eax
test byte [0x10029a8b0], 2
je 0x10012b491
mov rcx, qword [0x1004e2b30]
test rcx, rcx
je 0x10012b491
mov r9d, eax
mov r8, qword [0x1004e2b30]
mov edx, 0xeac00
mov rcx, qword [0x1004e2540]
call fcn.100126850
mov byte [0x10029a9f5], 1
mov eax, dword [0x10029a8b0]
and eax, 0x20002
cmp eax, 0x20002
jne 0x10012b4d2
mov rcx, qword [0x1004e2b38]
test rcx, rcx
je 0x10012b4d2
mov r9d, ebx
mov r8, qword [0x1004e2b38]
mov edx, 0xec400
mov rcx, qword [0x1004e2548]
call fcn.100126850
nop
lea rcx, [rsp + 0x30]
call fcn.100126960
mov eax, ebx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x1f0
pop rbx
ret
Function at 0x10012c6d0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov dword [rsp + 0x30], 0
xor edx, edx
lea rax, [0x100062180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.10005b410
nop
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.100057f20
nop
mov edx, 0x20000176
mov r8d, 1
lea rcx, [rsp + 0x80]
call fcn.1000580b0
nop
mov rcx, qword [0x100240188]
call fcn.1001214e0
mov qword [0x10029aa28], rax
test rax, rax
jne 0x10012c786
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x30], eax
mov edx, eax
mov ecx, 0x43a1
call fcn.100122690
nop
lea rcx, [rsp + 0x70]
call fcn.100058710
nop
lea rcx, [rsp + 0x50]
call fcn.10005b4f0
nop
jmp 0x10012c880
mov rdx, qword [0x100240190]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x10029aa30], rax
test rax, rax
jne 0x10012c7e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x30], eax
mov r9d, eax
mov r8, qword [0x100240188]
mov rdx, qword [0x100240190]
mov ecx, 0x4312
call fcn.100122690
nop
lea rcx, [rsp + 0x70]
call fcn.100058710
nop
lea rcx, [rsp + 0x50]
call fcn.10005b4f0
nop
jmp 0x10012c880
lea rcx, [rsp + 0x70]
call fcn.100058710
nop
lea rcx, [rsp + 0x50]
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 0x10012c826
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x10012c837
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x10012c86e
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 0x10012c867
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x10012c87c
call fcn.1000618f0
mov ebx, dword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x100]
add rsp, 0xf0
pop rdi
ret
Function at 0x10012cb40
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
movzx ebp, r9w
mov qword [rdi], 0
mov r14d, r8d
mov r15d, edx
mov byte [r12], 0
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rsi, rax
test rax, rax
je 0x10012cc19
cmp word [rax + 0x10], 2
mov qword [rsp + 0x40], rbx
jne 0x10012cbdb
cmp word [rax + 0x12], 4
jne 0x10012cbdb
mov rbx, qword [rax + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x10012cbdb
nop word [rax + rax]
mov r9d, dword [rcx]
movzx r8d, bp
mov edx, r14d
mov ecx, r15d
call fcn.10012ca90
mov qword [rdi], rax
test rax, rax
je 0x10012cc12
mov rcx, qword [rbx + 8]
add rbx, 8
lea rdi, [rax + 0x28]
test rcx, rcx
jne 0x10012cbb0
mov r8, qword [rsi]
mov r9d, 0x400
mov rcx, r12
lea edx, [r9 + 1]
call qword [sym.imp.MSVCR100.dll_strncpy_s]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov eax, 8
jmp 0x10012cbf3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2af9
je 0x10012cc30
dec eax
je 0x10012cc3e
dec eax
je 0x10012cc37
dec eax
mov eax, 0x2af9
jmp 0x10012cbf8
mov eax, 0x2afb
jmp 0x10012cbf8
mov eax, 0x2afa
jmp 0x10012cbf8
Function at 0x10012d4f0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x280
mov rax, qword [0x10022f440]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [0x10012cf30]
lea rbx, [0x10003ac58]
mov r14, rdx
mov qword [rsp + 0x28], rax
lea rax, [0x10003ac68]
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x10012d260]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, [0x10003ac78]
mov qword [rsp + 0x40], rax
lea rax, [fcn.10012ced0]
mov qword [rsp + 0x48], rax
mov eax, dword [0x100240268]
mov dword [rdx], eax
cmp dword [0x10029aadc], 0
jne 0x10012d6dd
lea rcx, [rsp + 0x160]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10012d6ca
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
mov qword [rsp + 0x2a0], rsi
call qword [sym.imp.MSVCR100.dll_strcpy_s]
lea r8, [0x10003ac88]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call qword [sym.imp.MSVCR100.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x10012d5f0
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x10012d652
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call qword [sym.imp.MSVCR100.dll_strcpy_s]
lea r8, [0x10003ac90]
lea rcx, [rsp + 0x50]
mov edx, 0x10c
call qword [sym.imp.MSVCR100.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x10012d6c2
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x10012d652
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10012d6c2
mov qword [rsp + 0x2b0], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x10012d6b1
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x10012d661
mov rax, qword [rsp + 0x28]
mov dword [0x100240268], 0
mov qword [0x100240278], rax
mov rax, qword [rsp + 0x38]
mov qword [0x100240288], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.10012ced0], rax
jmp 0x10012d6ba
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2a0]
mov eax, dword [0x100240268]
mov dword [0x10029aadc], 1
mov dword [r14], eax
movzx eax, bp
lea rcx, [0x100240270]
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.10005f420
add rsp, 0x280
pop r14
pop rbp
pop rbx
ret
Function at 0x100132aa0
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x90
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rdx], rax
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 edx, edi
mov rcx, rbx
call qword [rsi + 0x18]
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 0x100132b30
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100132b41
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100132b78
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 0x100132b71
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100132b86
call fcn.1000618f0
mov eax, dword [rsp + 0x30]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x100132bb0
Capabilities:
Get thread local storage value

Disassembly:
mov r11, rsp
push r15
sub rsp, 0xa0
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15, rcx
xor eax, eax
mov dword [rsp + 0x40], eax
mov rbx, qword [rsp + 0xe0]
mov dword [rbx], eax
xor edx, edx
lea rax, [0x100062180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [r11 - 0x30]
call fcn.10005b410
nop
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xd0]
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call qword [r15 + gethostbyaddr]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x78]
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 0x100132c7a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100132c8b
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100132cc2
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 0x100132cbb
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100132cd0
call fcn.1000618f0
mov eax, dword [rsp + 0x40]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x100132d00
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push r15
sub rsp, 0xa0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov esi, r9d
mov rbx, r8
mov r14, rdx
mov r15, rcx
xor eax, eax
mov dword [rsp + 0x40], eax
mov rdi, qword [rsp + 0xe0]
mov dword [rdi], eax
test r8, r8
jne 0x100132d4e
lea eax, [r8 + 0x57]
jmp 0x100132e33
xor edx, edx
lea rax, [0x100062180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x78]
call fcn.10005b410
nop
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xd0]
mov r8d, esi
mov rdx, rbx
mov rcx, r14
call qword [r15 + reloc.WS2_32.dll_getservbyport]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x78]
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 0x100132dd9
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100132dea
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100132e21
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 0x100132e1a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100132e2f
call fcn.1000618f0
mov eax, dword [rsp + 0x40]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x100132e60
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0xb0
mov qword [rax - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov r15, rcx
xor r12d, r12d
mov dword [rax - 0x78], r12d
mov rbx, qword [rsp + 0xf8]
test rbx, rbx
je 0x100132ea7
mov dword [rbx], r12d
test r8, r8
jne 0x100132eb5
lea eax, [r8 + 0x57]
jmp 0x100132fb7
xor edx, edx
lea rax, [0x100062180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x88]
call fcn.10005b410
nop
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9, qword [rsp + 0xf0]
mov r8d, esi
mov rdx, rdi
mov rcx, r14
call qword [r15 + 0x40]
mov dword [rsp + 0x50], eax
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 0x100132f5d
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100132f6e
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100132fa5
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 0x100132f9e
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100132fb3
call fcn.1000618f0
mov eax, dword [rsp + 0x50]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x100132fe0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push r15
sub rsp, 0xb0
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov r15, rcx
mov dword [rax - 0x68], 0
mov rbx, qword [rsp + 0xf0]
test rbx, rbx
je 0x10013302a
mov dword [rbx], 0
test r8, r8
jne 0x100133038
lea eax, [r8 + 0x57]
jmp 0x100133147
xor edx, edx
lea rax, [0x100062180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x88]
call fcn.10005b410
nop
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
movzx r9d, word [rsp + 0xe0]
mov r8d, esi
mov rdx, rdi
mov rcx, r14
call qword [r15 + 0x48]
mov dword [rsp + 0x50], eax
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 0x1001330ed
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x1001330fe
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x100133135
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 0x10013312e
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x100133143
call fcn.1000618f0
mov eax, dword [rsp + 0x50]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x100133170
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x90
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov dword [rax - 0x68], 0
test r8, r8
jne 0x1001331b1
lea eax, [r8 + 0x57]
jmp 0x100133271
xor edx, edx
lea rax, [0x100062180]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x68]
call fcn.10005b410
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call qword [r14 + 0x50]
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 0x100133217
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rbx, rbx
je 0x100133228
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x10013325f
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 0x100133258
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
mov rax, qword [rbx + 0xd8]
cmp dword [rax + 0x204], 0
je 0x10013326d
call fcn.1000618f0
mov eax, dword [rsp + 0x30]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x1001332a0
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
Function at 0x1001333b0
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