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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rdi, rdx
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.1400321f0
nop
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rcx, [rsp + 0x40]
call rdx
nop
mov rsi, qword [rbp + 0x18]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14007ce73
lea rcx, [0x14007e4f0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 8]
call rax
jmp 0x14007cf34
mov rsi, qword [rsi + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14007d9b0
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007cead
mov rdx, qword [rax + 8]
jmp 0x14007ceaf
xor edx, edx
mov r8d, 0x98
call fcn.14007d290
mov rbx, rax
mov qword [rsp + 0x50], 0
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.14007d9b0
lea rax, [0x14007e9a0]
mov qword [rbx], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call fcn.14007e060
nop
lea rbx, [rdi + 0x18]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14007cf16
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 8]
call rsi
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14007cf34
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
lea rcx, [rbp - 8]
call rdx
nop
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1400ba210
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007cf70
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rdi, rdx
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.1400321f0
nop
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rcx, [rsp + 0x40]
call rdx
nop
mov rsi, qword [rbp + 0x18]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14007d003
lea rcx, [0x14007e510]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 8]
call rax
jmp 0x14007d0c4
mov rsi, qword [rsi + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14007d9b0
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007d03d
mov rdx, qword [rax + 8]
jmp 0x14007d03f
xor edx, edx
mov r8d, 0x98
call fcn.14007d290
mov rbx, rax
mov qword [rsp + 0x50], 0
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.14007d9b0
lea rax, [0x14007eac0]
mov qword [rbx], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call fcn.14007e060
nop
lea rbx, [rdi + 0x18]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14007d0a6
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 8]
call rsi
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14007d0c4
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
lea rcx, [rbp - 8]
call rdx
nop
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1400ba210
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007d100
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rdi, rdx
mov rax, qword [rcx + 0x28]
mov rbx, qword [rax + 0x40]
mov rax, qword [rcx + 0x10]
mov rdx, qword [rax + 0x18]
call rdx
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x40]
call rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.1400321f0
nop
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
lea rcx, [rsp + 0x40]
call rdx
nop
mov rsi, qword [rbp + 0x18]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14007d193
lea rcx, [0x14007e530]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdi
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 8]
call rax
jmp 0x14007d254
mov rsi, qword [rsi + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14007d9b0
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007d1cd
mov rdx, qword [rax + 8]
jmp 0x14007d1cf
xor edx, edx
mov r8d, 0x98
call fcn.14007d290
mov rbx, rax
mov qword [rsp + 0x50], 0
lea rcx, [rax + 8]
mov rdx, rdi
call fcn.14007d9b0
lea rax, [0x14007ebe0]
mov qword [rbx], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
call fcn.14007e060
nop
lea rbx, [rdi + 0x18]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14007d236
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 8]
call rsi
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14007d254
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
lea rcx, [rbp - 8]
call rdx
nop
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1400ba210
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret

Function at 0x14007d3e0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x14007d43d
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x14007d435
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007d430
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14007d430
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14007d494
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007d484
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14007d484
cmp qword [rcx + 0x10], 0
jne 0x14007d484
movzx eax, byte [rbx + 0x58]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400ba1e0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14007da90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x14007dad6
lea rcx, [rbx + 0x60]
call fcn.140012490
lea rcx, [rbx + 0x18]
call fcn.140011c30
mov rcx, qword [rbx + 0x18]
mov edx, select
mov qword [rbx + 0x18], 0
call fcn.1400ba290
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14007db30
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007db20
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14007db20
cmp qword [rcx + 0x10], 0
jne 0x14007db20
movzx eax, byte [rbx + 0x98]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400ba1e0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007db40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14007db67
add rcx, 0x40
call fcn.140012490
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14007dbbe
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007dbae
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14007dbae
cmp qword [rcx + 0x10], 0
jne 0x14007dbae
movzx eax, byte [rbx + 0x78]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400ba1e0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007e060
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14007e09f
mov rcx, qword [rax + 0x58]
lea rbx, [rax + 0x20]
test rcx, rcx
je 0x14007e097
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14007e0f9
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007e0e9
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14007e0e9
cmp qword [rcx + 0x10], 0
jne 0x14007e0e9
movzx eax, byte [rbx + 0x98]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400ba1e0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007e110
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
test rax, rax
je 0x14007e14f
mov rcx, qword [rax + 0x58]
lea rbx, [rax + 0x20]
test rcx, rcx
je 0x14007e147
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14007e1a9
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007e199
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14007e199
cmp qword [rcx + 0x10], 0
jne 0x14007e199
movzx eax, byte [rbx + 0xa0]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400ba1e0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14007e1c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x14007e20b
lea rcx, [rbx + 0x80]
call fcn.140012490
mov rcx, qword [rbx + 0x58]
add rbx, 0x20
test rcx, rcx
je 0x14007e203
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14007e265
mov ecx, dword [0x1401c7a78]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14007e255
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14007e255
cmp qword [rcx + 0x10], 0
jne 0x14007e255
movzx eax, byte [rbx + 0xa8]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.1400ba1e0
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007f910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x248
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x14007fa3e
cmp word [rdx], 0
je 0x14007fa3e
mov r8d, 4
lea rdx, str.res:
mov rcx, rbx
call fcn.140117450
test eax, eax
jne 0x14007f96b
add rbx, 8
mov r8d, 2
lea rdx, [0x14019e5ec]
mov rcx, rbx
call fcn.140117450
test eax, eax
jne 0x14007f988
add rbx, 4
mov r9d, 0x104
lea rcx, [rsp + 0x20]
mov edx, r9d
mov r8, rbx
call fcn.140117410
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.1400d89c0
mov rbx, rax
test rax, rax
je 0x14007f9e9
xor eax, eax
mov word [rbx], ax
add rbx, 2
je 0x14007f9e9
lea rdx, str.HTML
mov rcx, rbx
call fcn.1401168e0
test eax, eax
je 0x14007f9e9
lea rdx, [0x14019e608]
mov rcx, rbx
call fcn.1401168e0
mov r8, rbx
test eax, eax
jne 0x14007f9ef
mov r8d, 0x17
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14007fa3e
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14007fa3e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsi], rax
test rax, rax
je 0x14007fa3e
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [r14], eax
test eax, eax
je 0x14007fa3e
mov al, 1
jmp 0x14007fa40
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400ba210
add rsp, 0x248
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400845e0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r14, r8
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], r8
lea rcx, [rsp + 0x30]
call fcn.1400859d0
nop
mov dword [rsp + 0x60], 0x67452301
mov dword [rsp + 0x64], 0xefcdab89
mov dword [rsp + 0x68], 0x98badcfe
mov dword [rsp + 0x6c], 0x10325476
mov dword [rsp + 0x70], 0xc3d2e1f0
xor r15d, r15d
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.140083ec0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], eax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.140084350
xor eax, eax
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
mov byte [rbp + 0x10], al
mov ebx, r15d
lea rdi, [rbp - 0x30]
nop word [rax + rax]
lea eax, [rbx*8]
movsxd rcx, eax
lea rax, [rbp - 0x18]
add rcx, rax
mov r8d, dword [rdi]
lea rdx, str._08x
call fcn.140084580
inc ebx
lea rdi, [rdi + 4]
cmp ebx, 5
jl 0x1400846b0
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x20], r15
lea rax, [rsp + 0x20]
mov qword [rbp - 0x28], rax
mov ecx, select
call fcn.140005bf0
mov qword [rbp - 0x30], rax
mov qword [rax], rsi
mov qword [rax + 8], r15
mov qword [rsi], rax
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x20], setsockopt
mov byte [rsi + 8], 0
lea rax, [rbp - 0x18]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140084726
lea rdx, [rbp - 0x18]
mov rcx, rsi
call fcn.140010790
nop
lea rcx, [rsp + 0x30]
call fcn.140011c30
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov edx, select
call fcn.1400ba290
nop
mov rcx, r14
call fcn.140011c30
mov rcx, qword [r14]
mov qword [r14], r15
mov edx, select
call fcn.1400ba290
mov rax, rsi
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1400ba210
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bc440
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x1401bf0e0], 0xffffffff
jne 0x1400bc451
xor eax, eax
jmp 0x1400bc45d
mov ecx, dword [0x1401bf0e0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x28
ret

Function at 0x1400bce10
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400c0280
add rax, 0x20
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x50]
call fcn.14008b4f0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9, rax
lea r8, [0x1400bdc10]
xor edx, edx
xor ecx, ecx
call fcn.14010bfd0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400bce6f
xor al, al
jmp 0x1400bcec6
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.14008b4f0
mov rcx, rax
call fcn.14000fe80
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400c0280
add rax, 0x10
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.1400bfb40
mov rax, qword [rsp + 0x50]
mov rcx, rax
call fcn.1400c0280
add rax, 0x10
mov rcx, rax
call fcn.14008b4f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
add rsp, 0x48
ret

Function at 0x1400bd980
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rdx, [0x1400bd900]
lea rcx, [0x1401c56b0]
call fcn.1400c2490
cmp dword [0x1401bf0e0], 0xffffffff
je 0x1400bd9d7
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1401bf0e0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400bd9d5
mov r8d, reloc.WS2_32.dll_WSASetLastError
lea rdx, [0x14016b6c0]
lea rcx, str.TlsSetValue_current_thread_tls_key__new_data_
call fcn.140130b40
xor eax, eax
jmp 0x1400bd9f8
xor eax, eax
test eax, eax
jne 0x1400bd9f8
mov r8d, reloc.WS2_32.dll_WSACleanup
lea rdx, [0x14016b790]
lea rcx, [0x14016b648]
call fcn.140130b40
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400c1080
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
add rsp, 0x28
ret
Function at 0x1400ca900
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2e8
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rcx, qword [rsp + 0x300]
call fcn.140005880
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400863d0
nop
lea rcx, [rsp + 0x30]
call fcn.14000e6f0
movzx eax, al
test eax, eax
jne 0x1400ca9cd
lea rcx, [rsp + 0x30]
call fcn.14000e7b0
dec rax
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000e700
movzx eax, word [rax]
cmp eax, 0x5c
je 0x1400ca9bf
lea rcx, [rsp + 0x30]
call fcn.14000e7b0
dec rax
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000e700
movzx eax, word [rax]
cmp eax, 0x2f
je 0x1400ca9bf
lea rcx, [rsp + 0x30]
call fcn.14000e7b0
dec rax
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000e700
movzx eax, word [rax]
cmp eax, 0x3a
jne 0x1400ca9cd
lea rax, [0x14016f1c8]
mov qword [rsp + 0x28], rax
jmp 0x1400ca9d9
lea rax, [0x14016f1c0]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.1400c8ab0
lea rcx, [rsp + 0x30]
call fcn.140005680
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, qword [rsp + 0x2f8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x2f8]
cmp qword [rax], 0xffffffffffffffff
jne 0x1400caa86
mov rax, qword [rsp + 0x2f8]
mov qword [rax], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 2
je 0x1400caa4d
cmp dword [rsp + 0x20], 0x12
je 0x1400caa4d
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
jmp 0x1400caa55
mov dword [rsp + 0x24], 0
call fcn.140012620
mov r8, rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x2f0]
call fcn.140012650
nop
lea rcx, [rsp + 0x30]
call fcn.140006280
mov rax, qword [rsp + 0x2f0]
jmp 0x1400caba0
lea rdx, [rsp + 0xac]
mov rcx, qword [rsp + 0x308]
call fcn.1400c8810
mov eax, dword [rsp + 0x80]
and eax, 0x400
test eax, eax
je 0x1400caace
xor edx, edx
mov rcx, qword [rsp + 0x310]
call fcn.1400c2f80
xor edx, edx
mov rcx, qword [rsp + 0x318]
call fcn.1400c2f80
jmp 0x1400cab80
mov eax, dword [rsp + 0x80]
and eax, 0x10
test eax, eax
je 0x1400cab02
mov edx, 3
mov rcx, qword [rsp + 0x310]
call fcn.1400c2f80
mov edx, 3
mov rcx, qword [rsp + 0x318]
call fcn.1400c2f80
jmp 0x1400cab26
mov edx, 2
mov rcx, qword [rsp + 0x310]
call fcn.1400c2f80
mov edx, 2
mov rcx, qword [rsp + 0x318]
call fcn.1400c2f80
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0x58]
call fcn.1400c8730
nop
mov edx, dword [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400cc3f0
mov edx, eax
mov rcx, qword [rsp + 0x310]
call fcn.1400cc5b0
nop
lea rcx, [rsp + 0x58]
call fcn.140006280
mov rcx, qword [rsp + 0x310]
call fcn.1400cc5d0
mov edx, eax
mov rcx, qword [rsp + 0x318]
call fcn.1400cc5b0
mov rcx, qword [rsp + 0x2f0]
call fcn.140012630
nop
lea rcx, [rsp + 0x30]
call fcn.140006280
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400ba210
add rsp, 0x2e8
ret
Function at 0x1400cd340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x1401bf0a0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0x100], 0
je 0x1400cd380
mov rcx, qword [rsp + 0x100]
call fcn.1400cc080
mov rcx, qword [rsp + 0xf8]
call fcn.1400c8da0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xffffffff
jne 0x1400cd3cb
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1400d2b20
mov rax, qword [rsp + 0xf0]
jmp 0x1400cd588
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xf8]
call fcn.1400cc3f0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
and eax, 0x400
test eax, eax
je 0x1400cd525
mov rcx, qword [rsp + 0xf8]
call fcn.1400d29c0
movzx eax, al
test eax, eax
jne 0x1400cd429
mov r8d, dword [rsp + 0x44]
mov edx, 9
mov rcx, qword [rsp + 0xf0]
call fcn.1400d2de0
mov rax, qword [rsp + 0xf0]
jmp 0x1400cd588
mov rcx, qword [rsp + 0xf8]
call fcn.1400c8da0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400c8730
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400d31e0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14008d540
nop
lea rcx, [rsp + 0x70]
call fcn.140006280
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400cd4c7
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1400d2b20
nop
lea rcx, [rsp + 0x48]
call fcn.1400d2e50
mov rax, qword [rsp + 0xf0]
jmp 0x1400cd588
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1400cd510
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.1400d2b20
nop
lea rcx, [rsp + 0x48]
call fcn.1400d2e50
mov rax, qword [rsp + 0xf0]
jmp 0x1400cd588
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x48]
call fcn.1400d2e50
mov eax, dword [rsp + 0x40]
and eax, 0x10
test eax, eax
je 0x1400cd54b
mov r8d, dword [rsp + 0x44]
mov edx, 3
lea rcx, [rsp + 0x60]
call fcn.1400d2de0
mov qword [rsp + 0x50], rax
jmp 0x1400cd564
mov r8d, dword [rsp + 0x44]
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.1400d2de0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xf0]
call fcn.1400cb6e0
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400ba210
add rsp, 0xe8
ret