joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485720
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48595b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x4857ba
mov qword [rsp + 0x88], rax
lea rbx, [0x0050d9a0]
mov rcx, rax
lea rax, [0x005f75a0]
call sym.sync._Map_.Load
test cl, cl
jne 0x4857a3
mov rax, qword [rsp + 0x88]
call sym.reflect._rtype_.String
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x28]
lea rbx, [0x00541228]
call sym.runtime.concatstring2
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
call sym.reflect.typesByString
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x4857d7
lea rdx, [0x0050b3a0]
cmp rax, rdx
jne 0x4857c5
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call sym.reflect.resolveTypeOff
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004f6360]
call sym.runtime.panicdottypeE
inc rdx
cmp rbx, rdx
jle 0x485821
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x4857d4
lea rax, [0x005f75a0]
lea rbx, [0x0050d9a0]
lea rdi, [0x0050b3a0]
nop dword [rax + rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x0050b3a0]
cmp rax, rdx
jne 0x48594b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x004ef360]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea rax, [0x004fae00]
call sym.runtime.newobject
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x0067c3d0], 0
nop
je 0x48587b
mov rbx, rax
lea rax, [0x004fae00]
call sym.runtime.wbMove
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x48]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call sym.internal_abi.NewName
call sym.reflect.addReflectOff
mov rsi, qword [rsp + 0x70]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x4858e2
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x4858d4
mov dword [rsi + 0x10], edx
cmp dword [0x0067c3d0], 0
je 0x485903
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x005f75a0]
lea rbx, [0x0050d9a0]
lea rdi, [0x0050b3a0]
nop dword [rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x0050b3a0]
cmp rax, rdx
jne 0x48593c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x004f6360]
call sym.runtime.panicdottypeE
mov rbx, rdx
lea rcx, [0x004f6360]
call sym.runtime.panicdottypeE
nop
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.reflect._rtype_.ptrTo
Function at 0x494420
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4944ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x0067c380]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4944cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004f23a0]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x4944be
mov edi, 1
lea rsi, [0x004f23a0]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00542c58]
lea rsi, [0x00541f98]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString

Function at 0x4c1140
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4c187f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4c116d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4c13f1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4c141d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x00544940]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004f22a0]
lea rbx, [0x00542990]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x4c1442
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4c1477
lea rdi, [0x004f2320]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4c1163
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4c145b
jmp 0x4c1430
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x4c1a20
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4c1a37
inc rax
cmp rax, 4
jge 0x4c1a4f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4c1a34
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4c1a60
inc rax
cmp rax, 4
jge 0x4c1a6e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4c1a97
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4c1a7b
jmp 0x4c1a5d
Function at 0x14002982c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ce24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002997c
cmp rax, 0xffffffffffffffff
je 0x14002997c
xor edi, edi
test rbp, rbp
jle 0x140029927
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f738
mov rbx, rax
test rax, rax
jne 0x1400298b4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002991d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a758
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001db00
cmp eax, 0xffffffff
je 0x1400298fd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400298c4
mov edx, r15d
mov ecx, r14d
call fcn.14001a758
jmp 0x14002991d
cmp byte [rsi + 0x38], dil
je 0x140029914
cmp dword [rsi + 0x34], 5
jne 0x140029914
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002991d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b4ec
jmp 0x140029990
jns 0x140029990
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce24
cmp rax, 0xffffffffffffffff
jne 0x140029948
cmp byte [rsi + 0x30], dil
je 0x140029990
mov edi, dword [rsi + 0x2c]
jmp 0x140029990
mov ecx, r14d
call fcn.140018c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029990
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029990
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029989
mov eax, dword [rsi + 0x2c]
jmp 0x14002998e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce24
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002aa80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aaa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aaa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1800010e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180001108
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400322a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400322b0]
mov dword [rax], 1
mov rax, qword [0x1400322c0]
mov dword [rax], 1
mov rax, qword [0x140032220]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140032290]
mov dword [0x14003c00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140032380]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140032360]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140032010]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001450
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
mov dword [rsp + 0x78], edx
mov rdi, rcx
mov rbx, r8
mov rsi, r9
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140001548
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140001548
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8d, esi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140001548
lea rax, [rsp + 0x48]
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x6610
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140001548
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x140001548
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov eax, 0xffffffff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x140001560
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
test rdx, rdx
je 0x14000158a
xor r10d, r10d
nop dword [rax + rax]
mov rax, r10
xor edx, edx
div r9
movzx eax, byte [r8 + rdx]
xor byte [rcx + r10], al
add r10, 1
cmp r11, r10
jne 0x140001570
ret

Function at 0x140001590
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, qword [rdx]
mov rbp, qword [rdx + 8]
mov r12, rcx
sub rbp, r13
js 0x1400016b3
je 0x140001690
mov rcx, rbp
xor ebx, ebx
call sym.operator_new_unsigned_long_long_
mov rsi, rax
nop word [rax + rax]
movzx eax, byte [r13 + rbx]
mov rdi, rbx
mov byte [rsi + rbx], al
add rbx, 1
cmp rbp, rbx
jne 0x1400015c8
xor eax, eax
lea rcx, str.urac_:7
nop word cs:[rax + rax]
mov rdx, rax
and edx, 7
movzx edx, byte [rcx + rdx]
xor byte [rsi + rax], dl
mov rdx, rax
add rax, 1
cmp rdx, rdi
jne 0x1400015f0
lea rax, [r12 + 0x10]
mov qword [rsp + 0x28], rbx
mov qword [r12], rax
mov qword [r12 + 8], 0
cmp rbx, 0xf
ja 0x140001670
xor edx, edx
nop dword [rax + rax]
movzx ecx, byte [rsi + rdx]
mov byte [rax + rdx], cl
mov rcx, rdx
add rdx, 1
cmp rdi, rcx
jne 0x140001630
mov rax, qword [rsp + 0x28]
mov rdx, qword [r12]
mov rcx, rsi
mov qword [r12 + 8], rax
mov byte [rdx + rax], 0
mov rdx, rbp
call sym.operator_delete_void__unsigned_long_long_
mov rax, r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rdx, [rsp + 0x28]
xor r8d, r8d
mov rcx, r12
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_create_unsigned_long_long__unsigned_long_long_
mov rdx, qword [rsp + 0x28]
mov qword [r12], rax
mov qword [r12 + 0x10], rdx
jmp 0x140001626
lea rax, [rcx + 0x10]
mov qword [rcx + 8], 0
mov qword [rcx], rax
mov rax, r12
mov byte [rcx + 0x10], 0
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rcx, section..rdata
call method.std.__throw_length_error_char_const_
mov rdi, rax
mov rcx, rsi
mov rdx, rbx
call sym.operator_delete_void__unsigned_long_long_
mov rcx, rdi
call sym._Unwind_Resume
nop
nop word cs:[rax + rax]
Function at 0x140002c30
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp word [rcx], 0x5a4d
mov rbx, rcx
mov rsi, rdx
jne 0x140002c5c
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x140002c70
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edi, dword [rax + 0x88]
test edi, edi
je 0x140002c5c
add rdi, rcx
mov r14d, dword [rdi + 0x20]
mov eax, dword [rdi + 0x18]
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r14, rcx
test eax, eax
je 0x140002c5c
mov rbp, qword [sym.imp.msvcrt.dll__stricmp]
xor r15d, r15d
jmp 0x140002cae
add r15, 1
add r14, 4
cmp r15d, dword [rdi + 0x18]
jae 0x140002c5c
mov ecx, dword [r14]
mov rdx, rsi
add rcx, rbx
call rbp
test eax, eax
jne 0x140002ca0
lea rax, [rbx + r15*2]
movzx eax, word [rax + r13]
lea rax, [rbx + rax*4]
mov eax, dword [rax + r12]
add rax, rbx
jmp 0x140002c5e

Function at 0x140002f40
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4f8
mov rdi, qword gs:[0x60]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rax + 0x20]
add rax, 0x20
cmp rbx, rax
je 0x140002fa0
lea rsi, [0x14002f0b6]
jmp 0x140002f80
mov rax, qword [rdi + 0x18]
mov rbx, qword [rbx]
add rax, 0x20
cmp rbx, rax
je 0x140002fa0
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call sym.wcsstr
test rax, rax
je 0x140002f70
mov rcx, qword [rbx + 0x20]
jmp 0x140002fa2
xor ecx, ecx
lea rdx, str.GetThreadContext
call sym.GetSymbolAddress_unsigned_long_long__char_const_
mov rbp, rax
mov rdi, qword gs:[0x60]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rax + 0x20]
add rax, 0x20
cmp rbx, rax
je 0x140003000
lea rsi, [0x14002f0b6]
jmp 0x140002fe8
mov rax, qword [rdi + 0x18]
mov rbx, qword [rbx]
add rax, 0x20
cmp rbx, rax
je 0x140003000
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call sym.wcsstr
test rax, rax
je 0x140002fd8
mov rcx, qword [rbx + 0x20]
jmp 0x140003002
xor ecx, ecx
lea rdx, str.SetThreadContext
lea rdi, [rsp + 0x20]
call sym.GetSymbolAddress_unsigned_long_long__char_const_
mov ecx, 0x9a
lea rsi, [rsp + 0x20]
mov rbx, rax
xor eax, eax
mov rdx, rsi
rep stosq qword [rdi], rax
mov dword [rsp + 0x50], 0x100010
mov rcx, qword [0x14003c0c0]
call rbp
lea rax, [sym.PrepareSyscall_char_]
mov rcx, qword [0x14003c0c0]
mov rdx, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
and rdx, 0xfffffffffffcffff
mov dword [rsp + 0x50], 0x100010
or rdx, 1
mov qword [rsp + 0x90], rdx
mov rdx, rsi
call rbx
test eax, eax
setne al
add rsp, 0x4f8
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x1400030f0
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [0x14003c0c0], rax
mov rsi, qword gs:[0x60]
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + 0x20]
add rax, 0x20
cmp rbx, rax
jne 0x140003140
jmp 0x140003160
mov rax, qword [rsi + 0x18]
mov rbx, qword [rbx]
add rax, 0x20
cmp rbx, rax
je 0x140003160
mov rcx, qword [rbx + 0x40]
mov rdx, rdi
call sym.wcsstr
test rax, rax
je 0x140003130
mov rax, qword [rbx + 0x20]
jmp 0x140003162
xor eax, eax
lea rbx, [0x14002f0f8]
lea r8, str.xxxxx
mov qword [0x14003c0b8], rax
mov rdx, rbx
lea rcx, str.KERNEL32.DLL
call sym.FindInModule_char_const__unsigned_char__char_
mov qword [0x14003c0a0], rax
test rax, rax
je 0x1400031c0
lea rdx, [sym.HWSyscallExceptionHandler__EXCEPTION_POINTERS_]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov qword [0x14003c0c8], rax
test rax, rax
je 0x1400031e2
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.SetMainBreakpoint__
lea r8, str.xxxxx
mov rdx, rbx
lea rcx, str.kernelbase.dll
call sym.FindInModule_char_const__unsigned_char__char_
mov qword [0x14003c0a0], rax
test rax, rax
jne 0x140003192
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400039b0
Capabilities:
Get memory capacity

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
call method.std::chrono::_V2::steady_clock.now__
mov dword [rsp + 0x28], 0
lea rbx, [rsp + 0x20]
mov rdi, qword [sym.imp.msvcrt.dll__errno]
mov qword [rsp + 0x20], 2
mov rsi, rax
mov rdx, rbx
mov rcx, rbx
call sym.nanosleep
cmp eax, 0xffffffff
je 0x140003a50
call method.std::chrono::_V2::steady_clock.now__
movsd xmm1, qword [0x14002f1a0]
pxor xmm0, xmm0
sub rax, rsi
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x14002f198]
comisd xmm1, xmm0
ja 0x140003a59
mov ecx, 0x3e8
call sym.vSgjuJmMcIGpkZkR_unsigned_long_
mov dword [rsp + 0x20], 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x28], 0x7fffffff
jbe 0x140003a59
call sym.ZdsqnnFCkGYTFsmx__
test al, al
je 0x140003a59
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
call rdi
cmp dword [rax], 4
jne 0x1400039ec
jmp 0x1400039dc
mov ecx, 1
call sym.exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]

Function at 0x140003ef0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14002e028], eax
cmp eax, 0xffffffff
je sym.pthread_tls_init.cold
add rsp, 0x28
ret
Function at 0x140003f10
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x140032300]
mov rdx, qword [rax]
mov qword [rsp + 0x98], rdx
xor edx, edx
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x7b], 0
mov qword [rsp + 0x83], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x14000402a
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x140004002
add rax, 1
cmp rax, 0x6b
je 0x14000401f
cmp byte [rcx + rax], 0
jne 0x140003ff8
lea edx, [rax + 1]
cmp eax, 0x6a
je 0x14000401f
cdqe
mov byte [rsp + rax + 0x20], 0xa
movsxd rax, edx
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sym.abort
mov edx, 0x28
mov eax, 0x27
lea rcx, [rsp + 0x20]
jmp 0x140004010

Function at 0x1400043c0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x14003c140], 1
je 0x140004438
lea rdi, [0x14003c140]
mov rcx, rdi
call sym.enterOnceObject
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call sym.pthread_mutex_lock
mov esi, dword [0x14003c140]
test esi, esi
jne 0x140004448
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14002e028], eax
cmp eax, 0xffffffff
je sym._pthread_once_raw.constprop.0.isra.0.cold
mov dword [0x14003c140], 1
mov rcx, rbp
call sym.pthread_mutex_unlock
test rbx, rbx
je 0x140004438
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.leaveOnceObject.part.0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x140004418
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sym.fprintf
jmp 0x140004418
Function at 0x140004470
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call sym.pop_pthread_mem
cmp qword [sym.__dyn_tls_pthread], 0
mov rbx, rax
je 0x140004588
test rax, rax
je 0x140004588
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call sym.pthread_spin_destroy
cmp eax, 1
je 0x140004596
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je sym.__pthread_self_lite.part.0.cold
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x14002e028]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000459c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call sym.replace_spin_keys.part.0
nop
jmp sym.__pthread_self_lite.part.0.cold

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

Disassembly:
sub rsp, 0x28
call sym._pthread_once_raw.constprop.0.isra.0
mov ecx, dword [0x14002e028]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400045d0
add rsp, 0x28
ret
add rsp, 0x28
jmp sym.__pthread_self_lite.part.0