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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov rdi, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rax, qword [rdi]
mov qword [rsp + 0xa8], rax
xor eax, eax
mov rax, qword [0x005ab240]
mov rbx, rdx
mov r12, rcx
mov edx, 0x4c
mov ecx, 1
lea r14, [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0xc8]
mov rsi, qword [rax + 0x10]
call fcn.004997f0
mov rdx, rbx
mov r13, rax
mov rcx, rax
mov esi, esi
call fcn.0041c0f0
lea rdx, [rbx + 0x48]
lea rcx, [r13 + 0x24]
call fcn.0041c0f0
mov eax, dword [rbx + 0xb0]
mov rcx, qword [rbx + 0xa0]
mov rdx, r14
bswap eax
mov dword [r13 + 0x48], eax
call fcn.004963a0
mov rdx, r14
mov rcx, r12
movsxd r8, eax
call fcn.00472fb0
lea rdx, [rbx + 0x98]
mov rcx, r12
call fcn.004733c0
mov r8d, 0x4c
mov rdx, r13
mov rcx, r12
call fcn.00472fb0
lea rdx, [rbx + 0x24]
mov r8, rsi
mov rcx, r12
call fcn.00472fb0
lea rdx, [rbx + 0x6c]
mov r8, rsi
mov rcx, r12
call fcn.00472fb0
mov r15, qword [rbx + 0x90]
mov rcx, r15
call sub.msvcrt.dll_strlen
mov rdx, r15
mov rcx, r12
lea r8, [rax + 1]
call fcn.00472fb0
mov rcx, r13
call fcn.004c9260
cmp qword [rbx + 0xb8], 0
je 0x422390
mov dword [rsp + 0x20], 0
lea rsi, [rsp + 0x40]
lea r15, [rsp + 0x58]
call fcn.004244c0
lea r13, [rsp + 0x70]
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call fcn.004244c0
mov qword [rsp + 0x30], rax
call fcn.004244c0
mov edx, 0x400
mov rcx, rsi
mov qword [rsp + 0x38], rax
call fcn.00472870
mov edx, 0x400
mov rcx, r15
call fcn.00472870
mov edx, 0x400
mov rcx, r13
call fcn.00472870
mov rcx, qword [rbx + 0xb8]
mov rdx, rbp
call fcn.0041ccd0
movsxd rcx, dword [rsp + 0x20]
mov rdx, r14
call fcn.004963a0
mov rdx, r14
mov rcx, r12
movsxd r8, eax
call fcn.00472fb0
mov rdx, rsi
mov rcx, r12
call fcn.004733c0
mov rcx, qword [rsp + 0x30]
mov rdx, r12
call fcn.00424b20
mov rcx, qword [rsp + 0x28]
mov rdx, r12
call fcn.00424b20
mov rcx, qword [rsp + 0x38]
mov rdx, r12
call fcn.00424b20
mov rdx, r15
mov rcx, r12
call fcn.004733c0
mov rdx, r13
mov rcx, r12
call fcn.004733c0
mov rdx, qword [r12]
test rdx, rdx
jne 0x422370
mov edx, 1
mov rcx, r12
call fcn.004727c0
mov rax, qword [r12 + 8]
mov rdx, qword [r12 + 0x10]
lea rcx, [rax + 1]
mov qword [r12 + 8], rcx
mov byte [rdx + rax], 0
mov rdx, qword [r12 + 0x10]
mov rax, qword [r12 + 8]
mov byte [rdx + rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.00424520
mov rcx, qword [rsp + 0x28]
call fcn.00424520
mov rcx, qword [rsp + 0x38]
call fcn.00424520
mov rcx, rsi
call fcn.004727a0
mov rcx, r15
call fcn.004727a0
mov rcx, r13
call fcn.004727a0
mov rax, qword [rsp + 0xa8]
xor rax, qword [rdi]
jne 0x4223aa
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r12 + 8]
sub rdx, rax
cmp rdx, 1
jne 0x4222f3
jmp 0x4222e1
mov rdx, r14
xor ecx, ecx
call fcn.004963a0
mov rdx, r14
mov rcx, r12
movsxd r8, eax
call fcn.00472fb0
jmp 0x422349
call sub.libssp_0.dll___stack_chk_fail
nop
Function at 0x4223b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
test rcx, rcx
je 0x4223ca
mov rcx, qword [rcx + 0xb8]
call fcn.0041bc80
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.004c9260

Function at 0x424520
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
test rcx, rcx
je 0x424560
cmp qword [rcx + 0x10], 0
jne 0x424548
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.004c9260
mov rcx, qword [rcx]
call fcn.004c9260
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.004c9260
add rsp, 0x20
pop r12
ret

Function at 0x426680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
lea rcx, str.GIT_TEXTDOMAINDIR
xor r13d, r13d
call fcn.004ae0e0
mov r12, rax
test rax, rax
je 0x4267d8
call fcn.00426640
mov rcx, r12
call fcn.004c9f40
test eax, eax
je 0x42679a
mov rdx, r12
lea rcx, [0x0057e691]
call sub.libintl_8.dll_libintl_bindtextdomain
lea rdx, [0x0057e695]
mov ecx, 0x6c1
call sub.libintl_8.dll_libintl_setlocale
lea rdx, [0x0057e695]
mov ecx, 5
call sub.libintl_8.dll_libintl_setlocale
lea rdx, [0x0057e695]
mov ecx, 2
call sub.libintl_8.dll_libintl_setlocale
lea rcx, [0x0057e696]
call fcn.004ae0e0
mov r12, rax
test rax, rax
je 0x426713
cmp byte [rax], 0
jne 0x426744
lea rcx, [0x0057e69d]
call fcn.004ae0e0
mov r12, rax
test rax, rax
je 0x42672c
cmp byte [rax], 0
jne 0x426744
lea rcx, [0x0057e6a6]
call fcn.004ae0e0
mov r12, rax
test rax, rax
je 0x4267c8
mov edx, 0x2e
mov rcx, r12
call sub.msvcrt.dll_strchr
lea rdx, [rax + 1]
test rax, rax
cmovne r12, rdx
mov rdx, r12
lea rcx, [0x0057e691]
mov qword [0x005ca820], r12
call sub.libintl_8.dll_libintl_bind_textdomain_codeset
lea r8, str.David_K
mov edx, 0xd
lea rcx, [0x0057e640]
call fcn.00426550
test eax, eax
js 0x4267b0
lea rcx, [0x0057e691]
call sub.libintl_8.dll_libintl_textdomain
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp fcn.004c9260
lea rdx, [0x0057e6b9]
mov ecx, 2
call sub.libintl_8.dll_libintl_setlocale
jmp 0x42678e
lea r12, [0x0057e66c]
jmp 0x42675c
lea rcx, str.share_locale
call fcn.00425140
mov r12, rax
mov r13, rax
jmp 0x4266a3

Function at 0x4268d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov esi, dword [rcx + 0x1c]
mov r12, qword [rcx]
mov rbx, rcx
call fcn.00426870
test esi, esi
je 0x426938
lea eax, [rsi - 1]
mov rcx, r12
lea rsi, [r12 + rax*8 + 8]
nop dword [rax]
mov rax, qword [rcx]
test rax, rax
je 0x42692f
mov edx, dword [rbx + 0x1c]
mov r11, qword [rbx]
lea r10d, [rdx - 1]
nop word [rax + rax]
mov rdx, rax
mov r8d, r10d
mov rax, qword [rax]
and r8d, dword [rdx + 8]
lea r8, [r11 + r8*8]
mov r9, qword [r8]
mov qword [rdx], r9
mov qword [r8], rdx
test rax, rax
jne 0x426910
add rcx, 8
cmp rsi, rcx
jne 0x4268f8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
jmp fcn.004c9260
Function at 0x426990
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x811c9dc5
movzx r8d, byte [rcx]
test r8b, r8b
lea rdx, [rcx + 1]
je 0x4269bf
nop word [rax + rax]
imul eax, eax, 0x1000193
add rdx, 1
xor eax, r8d
movzx r8d, byte [rdx - 1]
test r8b, r8b
jne 0x4269a8
ret

Function at 0x4269c0
Capabilities:
Hash data using fnv

Disassembly:
mov eax, 0x811c9dc5
movzx edx, byte [rcx]
test dl, dl
lea r8, [rcx + 1]
je 0x4269f3
lea r9d, [rdx - 0x61]
lea ecx, [rdx - 0x20]
cmp r9d, 0x1a
cmovb edx, ecx
imul eax, eax, 0x1000193
add r8, 1
xor eax, edx
movzx edx, byte [r8 - 1]
test dl, dl
jne 0x4269d0
ret

Function at 0x426a00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
test rdx, rdx
je 0x426a28
lea r8, [rcx + rdx]
mov eax, 0x811c9dc5
nop
imul eax, eax, 0x1000193
movzx edx, byte [rcx]
add rcx, 1
xor eax, edx
cmp r8, rcx
jne 0x426a10
ret
mov eax, 0x811c9dc5
ret

Function at 0x426a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
test rdx, rdx
je 0x426a68
lea r10, [rcx + rdx]
mov eax, 0x811c9dc5
nop
movzx edx, byte [rcx]
add rcx, 1
lea r9d, [rdx - 0x61]
lea r8d, [rdx - 0x20]
cmp r9d, 0x1a
cmovb edx, r8d
imul eax, eax, 0x1000193
xor eax, edx
cmp r10, rcx
jne 0x426a40
ret
mov eax, 0x811c9dc5
ret

Function at 0x426a70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, ecx
test r8, r8
je 0x426aa6
lea r10, [rdx + r8]
nop dword [rax + rax]
movzx r8d, byte [rdx]
add rdx, 1
lea r9d, [r8 - 0x61]
lea ecx, [r8 - 0x20]
cmp r9d, 0x1a
cmovb r8d, ecx
imul eax, eax, 0x1000193
xor eax, r8d
cmp r10, rdx
jne 0x426a80
ret

Function at 0x426ce0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov r8d, dword [rcx + 0x1c]
mov r9, qword [rcx]
lea eax, [r8 - 1]
and eax, dword [rdx + 8]
lea rax, [r9 + rax*8]
mov r9, qword [rax]
mov qword [rdx], r9
mov qword [rax], rdx
test byte [rcx + 0x28], 1
je 0x426d0f
mov eax, dword [rcx + 0x18]
add eax, 1
mov dword [rcx + 0x18], eax
cmp eax, dword [rcx + 0x20]
ja 0x426d10
ret
lea edx, [r8*4]
jmp fcn.004268d0
Function at 0x426ea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov r9d, dword [0x005ca85c]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
mov r13, rcx
mov rsi, rdx
test r9d, r9d
je 0x426fb0
test rsi, rsi
je 0x426fd9
lea r8, [r13 + rsi]
mov rdx, r13
mov eax, 0x811c9dc5
nop word [rax + rax]
imul eax, eax, 0x1000193
movzx ecx, byte [rdx]
add rdx, 1
xor eax, ecx
cmp rdx, r8
jne 0x426ef0
mov rdx, qword [0x005ca840]
sub r9d, 1
mov dword [rsp + 0x28], eax
and r9d, eax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], 0
lea r12, [rdx + r9*8]
mov rdx, qword [r12]
test rdx, rdx
je 0x426fe8
lea rdi, [rsp + 0x20]
cmp rdx, rdi
je 0x426f7e
cmp dword [rdx + 8], eax
je 0x426f63
mov r12, qword [r12]
mov rdx, qword [r12]
cmp rdx, rdi
je 0x426f7e
test rdx, rdx
je 0x426fe8
mov eax, dword [rsp + 0x28]
cmp dword [rdx + 8], eax
jne 0x426f44
mov rcx, qword [0x005ca850]
mov r9, r13
mov r8, rdi
call qword [0x005ca848]
test eax, eax
jne 0x426f44
mov rdx, qword [r12]
test rdx, rdx
je 0x426fe8
lea r12, [rdx + 0x18]
mov rax, qword [rsp + 0x38]
xor rax, qword [rbx]
jne 0x42704e
mov rax, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x00426950]
lea rcx, [0x005ca840]
call fcn.00426ac0
mov r9d, dword [0x005ca85c]
test rsi, rsi
jne 0x426edd
mov eax, 0x811c9dc5
jmp 0x426f04
cmp rsi, 0xffffffffffffffe7
ja 0x42703a
je 0x427053
lea rdx, [rsi + 0x19]
mov ecx, 1
call fcn.004997f0
mov rdx, r13
mov r8, rsi
lea r12, [rax + 0x18]
mov r14, rax
mov rcx, r12
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x28]
mov qword [r14 + 0x10], rsi
mov rdx, r14
mov qword [r14], 0
lea rcx, [0x005ca840]
mov dword [r14 + 8], eax
call fcn.00426ce0
jmp 0x426f87
mov r8, rsi
mov edx, 0x18
lea rcx, [0x0057e6c0]
call fcn.00494770
call sub.libssp_0.dll___stack_chk_fail
mov r8d, 1
or rdx, 0xffffffffffffffff
lea rcx, [0x0057e6c0]
call fcn.00494770
nop
nop
nop
nop
nop
nop
nop

Function at 0x42ad20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
xor eax, eax
cmp qword [0x005caa48], 0
je 0x42ad98
lea eax, [rcx + rdx]
mov qword [rsp + 0x30], rcx
lea rcx, [0x005caa40]
mov r8d, eax
mov r9d, eax
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x20]
shr r8d, 8
shr r9d, 0x10
mov qword [rsp + 0x20], 0
add r8d, r9d
add eax, r8d
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], eax
call fcn.00426c10
mov rcx, qword [rsp + 0x48]
xor rcx, qword [rbx]
jne 0x42ad9c
add rsp, 0x50
pop rbx
ret
xor eax, eax
jmp 0x42ad84
call sub.libssp_0.dll___stack_chk_fail
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x42adb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
lea r8, [rcx + 0x10]
mov rdx, rcx
lea rcx, [0x005caa40]
call fcn.00426d20
mov rax, qword [r12 + 0x28]
mov rdx, qword [r12 + 0x20]
mov rcx, r12
mov qword [rdx + 8], rax
mov qword [rax], rdx
mov eax, dword [r12 + 0x38]
sub qword [0x005caa30], rax
add rsp, 0x20
pop r12
jmp fcn.004c9260

Function at 0x42c630
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbx
sub rsp, 0x28
cmp dword [rdx + 0x68], 0xffffffff
mov rbx, rcx
mov r12, rdx
je 0x42c64a
add dword [0x005caa84], 1
mov rax, qword [rbx + 0x10]
lea rcx, [r12 + 0xa0]
mov rdx, qword [rax + 0x70]
mov qword [r12 + 0x10], rdx
mov qword [rax + 0x70], r12
call fcn.00426990
mov rcx, qword [rbx + 0x10]
mov rdx, r12
mov qword [r12], 0
mov dword [r12 + 8], eax
add rcx, 0x88
add rsp, 0x28
pop rbx
pop r12
jmp fcn.00426ce0
Function at 0x42ffa0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
call fcn.004facf0
test eax, eax
je 0x42fff8
mov ebx, dword [0x005caaa0]
test ebx, ebx
je 0x42ffe8
mov ecx, 2
call qword [fcn.005707a0]
lea r9, [0x0057fb29]
mov r8d, ebx
lea rdx, str._r_s_r
mov rcx, rax
add rsp, 0x20
pop rbx
jmp sub.libintl_8.dll_libintl_fprintf
call fcn.0042fc60
mov ebx, eax
jmp 0x42ffb8
mov ecx, 2
call qword [fcn.005707a0]
mov r8d, 4
mov edx, 1
lea rcx, str._re_K
mov r9, rax
add rsp, 0x20
pop rbx
jmp sub.msvcrt.dll_fwrite
Function at 0x4382a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor r12d, r12d
mov rbx, rcx
mov rsi, rdx
cmp qword [rcx + 0x10], rdx
je 0x438486
mov rdx, qword [rbx]
test rdx, rdx
je 0x43843f
mov rax, qword [rbx + 8]
sub rdx, rax
cmp rdx, 1
je 0x43843f
mov rdx, qword [rbx + 0x10]
lea rcx, [rax + 1]
lea rbp, [0x00580a60]
mov qword [rbx + 8], rcx
lea rdi, [0x00580a63]
mov byte [rdx + rax], 0x27
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
mov byte [rdx + rax], 0
cmp byte [rsi], 0
je 0x4383e7
nop
mov rcx, rsi
mov rdx, rbp
call sub.msvcrt.dll_strcspn
mov rdx, rsi
mov rcx, rbx
mov r13, rax
mov r8, rax
call fcn.00472fb0
add rsi, r13
movzx eax, byte [rsi]
cmp al, 0x21
je 0x438340
cmp al, 0x27
jne 0x4383df
nop
mov rdx, rdi
mov r8d, 2
mov rcx, rbx
add rsi, 1
call fcn.00472fb0
mov rdx, qword [rbx]
movzx r13d, byte [rsi - 1]
test rdx, rdx
je 0x438470
mov rax, qword [rbx + 8]
sub rdx, rax
cmp rdx, 1
je 0x438470
mov rdx, qword [rbx + 0x10]
lea rcx, [rax + 1]
mov qword [rbx + 8], rcx
mov byte [rdx + rax], r13b
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
mov byte [rdx + rax], 0
mov rdx, qword [rbx]
test rdx, rdx
je 0x438458
mov rax, qword [rbx + 8]
sub rdx, rax
cmp rdx, 1
je 0x438458
mov rdx, qword [rbx + 0x10]
lea rcx, [rax + 1]
mov qword [rbx + 8], rcx
mov byte [rdx + rax], 0x27
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
mov byte [rdx + rax], 0
movzx eax, byte [rsi]
cmp al, 0x27
je 0x438340
cmp al, 0x21
je 0x438340
test al, al
jne 0x438310
mov rdx, qword [rbx]
test rdx, rdx
je 0x43842c
mov rax, qword [rbx + 8]
sub rdx, rax
cmp rdx, 1
je 0x43842c
mov rdx, qword [rbx + 0x10]
lea rcx, [rax + 1]
mov qword [rbx + 8], rcx
mov rcx, r12
mov byte [rdx + rax], 0x27
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
mov byte [rdx + rax], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.004c9260
mov edx, 1
mov rcx, rbx
call fcn.004727c0
mov rax, qword [rbx + 8]
jmp 0x4383fc
mov edx, 1
mov rcx, rbx
call fcn.004727c0
mov rax, qword [rbx + 8]
jmp 0x4382dc
mov edx, 1
mov rcx, rbx
call fcn.004727c0
mov rax, qword [rbx + 8]
jmp 0x4383b0
mov edx, 1
mov rcx, rbx
call fcn.004727c0
mov rax, qword [rbx + 8]
jmp 0x438377
xor edx, edx
call fcn.004728a0
mov r12, rax
jmp 0x4382bf

Function at 0x4384a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [str._________AA__A__________________]
lea rdi, str.__._:__
mov r12, rdx
movzx edx, byte [rdx]
mov r13, rcx
mov rbx, r12
test dl, dl
je 0x438540
nop dword [rax]
movzx eax, dl
test byte [rsi + rax], 6
jne 0x4384e9
movsx edx, dl
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x438520
movzx edx, byte [rbx + 1]
add rbx, 1
test dl, dl
jne 0x4384d0
mov rcx, r12
call sub.msvcrt.dll_strlen
mov rdx, r12
mov r8, rax
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp fcn.00472fb0
mov rdx, r12
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp fcn.004382a0
mov r8d, 2
lea rdx, [0x00580a66]
jmp 0x438503
Function at 0x43f0f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
test rcx, rcx
je 0x43f110
call fcn.0043eb30
test eax, eax
jne 0x43f130
mov eax, dword [r12 + 0x3c]
test eax, eax
jne 0x43f120
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.004c9260
add rsp, 0x20
pop r12
ret
mov r8d, dword [r12 + 0x40]
mov edx, 0xcd
mov rcx, r12
add r8, 0x69
call sub.msvcrt.dll_memset
jmp 0x43f107
Function at 0x442710
Capabilities:
Encode data using base64
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
test rcx, rcx
je 0x4427a8
mov eax, dword [rcx + 0x20]
cmp eax, 1
je 0x4427b0
and eax, 0xfffffffd
je 0x442750
lea r8, str.unexpected_reference_transaction_state
mov edx, 0x451
lea rcx, str.refs.c
call fcn.00494ad0
nop dword [rax]
xor ebx, ebx
cmp qword [rcx + 0x18], 0
je 0x44278b
nop dword [rax]
mov rax, qword [r12 + 8]
mov rax, qword [rax + rbx*8]
mov rcx, qword [rax + 0x58]
call fcn.004c9260
mov rax, qword [r12 + 8]
mov rcx, qword [rax + rbx*8]
add rbx, 1
call fcn.004c9260
cmp qword [r12 + 0x18], rbx
ja 0x442760
mov rcx, qword [r12 + 8]
call fcn.004c9260
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
jmp fcn.004c9260
add rsp, 0x28
pop rbx
pop r12
ret
lea r8, str.free_called_on_a_prepared_reference_transaction
mov edx, 0x44e
lea rcx, str.refs.c
call fcn.00494ad0
nop
nop dword [rax]

Function at 0x446480
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0xa8
mov rbx, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rax, qword [rbx]
mov qword [rsp + 0x98], rax
xor eax, eax
lea r13, [rcx + 8]
mov rcx, r13
call fcn.004290f0
lea rdx, [rsp + 0x40]
mov rcx, rax
mov r12, rax
mov rax, qword [0x005aaf20]
call qword [rax]
mov rcx, r12
test eax, eax
jne 0x4464d8
movzx eax, word [rsp + 0x46]
and ax, 0xf000
cmp ax, 0x4000
je 0x446510
call fcn.004c9260
mov rcx, r13
call fcn.00429220
test eax, eax
setne al
movzx eax, al
neg eax
mov rdx, qword [rsp + 0x98]
xor rdx, qword [rbx]
jne 0x446563
add rsp, 0xa8
pop rbx
pop r12
pop r13
pop r14
ret
call sub.msvcrt.dll_strlen
lea r14, [rsp + 0x20]
mov rdx, r12
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov r8, rax
mov rcx, r14
mov rax, qword [0x005ab200]
mov r9, r8
mov qword [rsp + 0x30], rax
call fcn.004728f0
mov rcx, r14
mov edx, 1
call fcn.00421e70
mov rcx, r14
call fcn.004727a0
jmp 0x4464dd
call sub.libssp_0.dll___stack_chk_fail
nop
nop dword [rax]

Function at 0x446570
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
lea rcx, [rcx + 8]
call fcn.0047f450
mov rcx, qword [r12]
call fcn.004c9260
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.004c9260
Function at 0x44ce70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
sub rsp, 0x20
mov r12, qword [rcx]
test r12, r12
je 0x44ce8d
mov qword [rcx], 0
sub dword [r12 + 0x2c], 1
je 0x44ce98
add rsp, 0x20
pop r12
ret
lea rcx, [r12 + 0x30]
call fcn.0043e930
mov rcx, r12
call fcn.0044ce00
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.004c9260

Function at 0x44ebb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
test byte [rcx], 0x10
jne 0x44ebd0
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
jmp fcn.004c9260
mov eax, dword [rcx + 8]
test eax, eax
jle 0x44ebf9
xor ebx, ebx
nop dword [rax]
mov rax, qword [r12 + 0x20]
mov rcx, qword [rax + rbx*8]
add rbx, 1
call fcn.0044ebb0
cmp dword [r12 + 8], ebx
jg 0x44ebe0
mov rcx, qword [r12 + 0x20]
call fcn.004c9260
mov rcx, r12
add rsp, 0x28
pop rbx
pop r12
jmp fcn.004c9260

Function at 0x44f270
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
mov rcx, qword [rcx]
call fcn.0044ebb0
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.004c9260

Function at 0x452100
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov qword [rsp + 0x20], 0
mov rbx, rcx
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
xor eax, eax
test rcx, rcx
je 0x452160
lea rsi, [rsp + 0x20]
nop
mov rcx, rbx
call fcn.00452050
mov qword [rsi], rax
mov rbx, qword [rbx]
mov rsi, rax
test rbx, rbx
jne 0x452130
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
xor rdx, qword [rdi]
jne 0x452164
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
xor eax, eax
jmp 0x45214b
call sub.libssp_0.dll___stack_chk_fail
nop
nop word [rax + rax]

Function at 0x452170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
test rcx, rcx
je 0x452180
jmp fcn.00452190
ret

Function at 0x452190
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
mov rcx, qword [rcx + 0x88]
call fcn.00452170
mov rcx, qword [r12 + 0x80]
call fcn.004c9260
mov rcx, qword [r12 + 0x68]
call fcn.004c9260
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.004c9260
Function at 0x45f490
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov esi, dword [0x005ed618]
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
xor eax, eax
lea rcx, [rsp + 0x20]
call fcn.004b57d0
xor eax, eax
cmp dword [rsp + 0x38], esi
setne al
mov rdx, qword [rsp + 0x48]
xor rdx, qword [rbx]
jne 0x45f481
add rsp, 0x58
pop rbx
pop rsi
ret
call sub.libssp_0.dll___stack_chk_fail
nop
nop word [rax + rax]
push rbx
sub rsp, 0x20
mov r8, rdx
mov rdx, rcx
lea rcx, [0x00585912]
call fcn.004943c0
mov eax, dword [0x005ed5f0]
test eax, eax
jne 0x45f4cf
lea rcx, str.run_command.c
mov r8d, pe_nt_image_headers64
mov edx, 0x43f
call fcn.00480ea0
mov ecx, eax
call sub.msvcrt.dll_exit
call fcn.0045f440
test eax, eax
je 0x45f4b1
mov ecx, dword [0x005ed5ec]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [rax + 0x38]
mov rbx, rax
test ecx, ecx
js 0x45f4f3
call sub.msvcrt.dll__close
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x45f4ff
call sub.msvcrt.dll__close
mov ecx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_ExitThread]

Function at 0x45f580
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbx
add rsp, 0xffffffffffffff80
mov rbx, qword [sym.imp.libssp_0.dll___stack_chk_guard]
mov rax, qword [rbx]
mov qword [rsp + 0x78], rax
xor eax, eax
lea rdx, [rsp + 0x20]
mov r13, rcx
call fcn.004b3d70
mov r12d, eax
test eax, eax
jne 0x45f608
movzx eax, word [rsp + 0x26]
and ax, 0xf000
cmp ax, 0x8000
je 0x45f5e0
mov rax, qword [rsp + 0x78]
xor rax, qword [rbx]
jne 0x45f68f
mov eax, r12d
sub rsp, 0xffffffffffffff80
pop rbx
pop r12
pop r13
ret
mov rcx, r13
call sub.msvcrt.dll_strlen
cmp rax, 3
jbe 0x45f610
cmp dword [r13 + rax - 4], 0x6578652e
jne 0x45f610
mov r12d, 0x40
jmp 0x45f5bd
xor r12d, r12d
jmp 0x45f5bd
xor eax, eax
mov rcx, r13
xor edx, edx
mov byte [rsp + 0x77], 0
mov word [rsp + 0x75], ax
call fcn.004b0de0
and word [rsp + 0x26], 0xffbf
mov r13d, eax
test eax, eax
js 0x45f5bd
lea r12, [rsp + 0x75]
mov r8d, 2
mov ecx, eax
mov rdx, r12
call sub.msvcrt.dll__read
cmp eax, 2
je 0x45f670
mov ecx, r13d
call sub.msvcrt.dll__close
movzx r12d, word [rsp + 0x26]
and r12d, 0x40
movzx r12d, r12w
jmp 0x45f5bd
cmp byte [rsp + 0x75], 0x23
jne 0x45f64d
cmp byte [r12 + 1], 0x21
jne 0x45f64d
cmp byte [r12 + 2], 0
jne 0x45f64d
or word [rsp + 0x26], 0x40
jmp 0x45f64d
call sub.libssp_0.dll___stack_chk_fail
nop
nop word cs:[rax + rax]

Function at 0x4608b0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x005ed5f0]
test eax, eax
jne 0x4608c0
xor eax, eax
ret
jmp fcn.0045f440

Function at 0x4608d0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
cmp ecx, 0x20
je 0x4608e0
add rsp, 0x28
ret
mov eax, dword [0x005ed5f0]
test eax, eax
jne 0x460920
xor edx, edx
mov ecx, 0xd
call fcn.004ad450
mov ecx, 0xd
call fcn.004ad490
mov r8d, 0x8d
mov edx, 0x492
lea rcx, str.run_command.c
call fcn.00480ea0
mov ecx, eax
call sub.msvcrt.dll_exit
nop
call fcn.0045f440
test eax, eax
je 0x4608ea
mov ecx, 0x8d
call qword [sym.imp.KERNEL32.dll_ExitThread]