joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014984
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp + 0x10], ecx
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0
lea rax, [rbp - 0x20]
mov edx, 0x7d0
mov rcx, rax
call sym.rawNewString
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rdx
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.rawWriteStackTrace__system_u4324
cmp dword [rbp + 0x10], 2
jne 0x140014a0e
lea rax, [rbp - 0x10]
mov edx, 0x1f
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14007f550]
mov rdx, qword [0x14007f558]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_2
jmp 0x140014b4d
nop
cmp dword [rbp + 0x10], 0xb
jne 0x140014a51
lea rax, [rbp - 0x10]
mov edx, 0x3d
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14007f5b0]
mov rdx, qword [0x14007f5b8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_2
jmp 0x140014b4d
nop
cmp dword [rbp + 0x10], 0x16
jne 0x140014a94
lea rax, [rbp - 0x10]
mov edx, 0x1f
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14007f5f0]
mov rdx, qword [0x14007f5f8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_2
jmp 0x140014b4d
nop
cmp dword [rbp + 0x10], 8
jne 0x140014ad4
lea rax, [rbp - 0x10]
mov edx, 0x1a
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14007f630]
mov rdx, qword [0x14007f638]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_2
jmp 0x140014b4d
nop
cmp dword [rbp + 0x10], 4
jne 0x140014b14
lea rax, [rbp - 0x10]
mov edx, 0x1b
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14007f670]
mov rdx, qword [0x14007f678]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_2
jmp 0x140014b4d
nop
nop
lea rax, [rbp - 0x10]
mov edx, 0xf
mov rcx, rax
call sym.prepareAdd
mov rax, qword [0x14007f700]
mov rdx, qword [0x14007f708]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.appendString_2
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.showErrorMessage2__system_u3960
mov ecx, 1
call sym.exit
nop
Function at 0x140015c96
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x58], rax
lea rax, [0x14007fcb8]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov word [rbp - 0x40], 0
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.nimFrame_8
call sym.nimErrorFlag_8
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], 0xac5
lea rax, [0x140096140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x50], 0xd
lea rax, [0x1400804e0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x50], 0xe
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jge 0x140015e23
mov qword [rbp - 0x50], 0xac6
lea rax, [0x14007fcb8]
mov qword [rbp - 0x48], rax
cmp qword [rbp - 8], 0
js 0x140015d5a
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jl 0x140015d73
mov rax, qword [rbp + 0x18]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x140015eb4
mov rax, qword [rbp - 8]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov ecx, 1
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rdx
lea rax, [rbp - 0x80]
mov r8d, 0
mov rdx, rax
call sym.writeWindows__system_u9025
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x140015eb3
mov qword [rbp - 0x50], 0x10
lea rax, [0x1400804e0]
mov qword [rbp - 0x48], rax
mov edx, 0
mov rax, qword [rbp - 8]
add rax, 1
jno 0x140015df8
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x68]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x140015e16
call sym.raiseOverflow
jmp 0x140015eb4
mov rax, qword [rbp - 0x68]
mov qword [rbp - 8], rax
jmp 0x140015d28
nop
mov qword [rbp - 0x50], 0xae1
lea rax, [0x14007fcb8]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x20], 0
mov ecx, 1
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rax, [0x14007fca9]
mov rcx, rax
call sym.fwrite
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], 0xae2
mov dword [rbp - 0x24], 0
mov ecx, 1
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x24], eax
mov qword [rbp - 0x50], 0xae6
lea rax, [0x140096140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140015eb4
nop
call sym.popFrame_8
nop
add rsp, 0xa0
pop rbp
ret
Function at 0x1400166b9
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, [0x14008053a]
mov qword [rbp - 0x28], rax
lea rax, [0x14007fcb8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_8
mov qword [rbp - 0x20], 0x90a
movabs rax, 0xffffffff7fffffff
cmp qword [rbp + 0x10], rax
jg 0x14001671f
mov qword [rbp - 0x20], 0x90b
mov ecx, 0x80000000
call sym.exit
nop
mov qword [rbp - 0x20], 0x90c
mov eax, 0x80000000
cmp qword [rbp + 0x10], rax
jl 0x140016745
mov qword [rbp - 0x20], 0x90d
mov ecx, 0x7fffffff
call sym.exit
nop
mov qword [rbp - 0x20], 0x90f
mov rax, qword [rbp + 0x10]
mov ecx, eax
call sym.exit
nop

Function at 0x1400191c3
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov byte [rbp - 1], 0
lea rax, [0x14007d260]
mov rcx, rax
call dbg.__emutls_get_address
movzx eax, byte [rax]
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
xor eax, 1
test al, al
jne 0x14001920f
lea rax, [0x14007d360]
mov rcx, rax
call dbg.__emutls_get_address
mov rax, qword [rax]
test rax, rax
setne al
mov byte [rbp - 1], al
jmp 0x140019210
nop
movzx eax, byte [rbp - 1]
xor eax, 1
test al, al
jne 0x14001924f
lea rax, [0x14007d360]
mov rcx, rax
call dbg.__emutls_get_address
mov rbx, rax
mov rax, qword [rbx]
mov rcx, rax
call sym.reportUnhandledError__system_u4352
mov edx, 0
mov rcx, rbx
call sym.eqsink___stdZtypedthreads_u179
mov ecx, 1
call sym.exit
nop
nop
add rsp, 0x38
pop rbx
pop rbp
ret

Function at 0x140028eb5
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, [0x1400824de]
mov qword [rbp - 0x28], rax
lea rax, [0x140082480]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_21
mov qword [rbp - 0x20], 0x90a
movabs rax, 0xffffffff7fffffff
cmp qword [rbp + 0x10], rax
jg 0x140028f1b
mov qword [rbp - 0x20], 0x90b
mov ecx, 0x80000000
call sym.exit
nop
mov qword [rbp - 0x20], 0x90c
mov eax, 0x80000000
cmp qword [rbp + 0x10], rax
jl 0x140028f41
mov qword [rbp - 0x20], 0x90d
mov ecx, 0x7fffffff
call sym.exit
nop
mov qword [rbp - 0x20], 0x90f
mov rax, qword [rbp + 0x10]
mov ecx, eax
call sym.exit
nop

Function at 0x14002c17f
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, [0x140083ee1]
mov qword [rbp - 0x28], rax
lea rax, [0x140083ee8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_22
mov qword [rbp - 0x20], 0x90a
movabs rax, 0xffffffff7fffffff
cmp qword [rbp + 0x10], rax
jg 0x14002c1e5
mov qword [rbp - 0x20], 0x90b
mov ecx, 0x80000000
call sym.exit
nop
mov qword [rbp - 0x20], 0x90c
mov eax, 0x80000000
cmp qword [rbp + 0x10], rax
jl 0x14002c20b
mov qword [rbp - 0x20], 0x90d
mov ecx, 0x7fffffff
call sym.exit
nop
mov qword [rbp - 0x20], 0x90f
mov rax, qword [rbp + 0x10]
mov ecx, eax
call sym.exit
nop
Function at 0x140035725
Capabilities:
Hash data using sha256

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, [0x140084280]
mov qword [rbp - 0x28], rax
lea rax, [0x140084288]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_24
mov qword [rbp - 0x20], 0x85
mov rax, qword [rbp + 0x10]
mov dword [rax], 0
mov qword [rbp - 0x20], 0x86
mov rax, qword [rbp + 0x10]
mov dword [rax + 4], 0
mov qword [rbp - 0x20], 0x91
mov rax, qword [rbp + 0x10]
mov dword [rax + 8], 0x6a09e667
mov qword [rbp - 0x20], 0x92
mov rax, qword [rbp + 0x10]
mov dword [rax + 0xc], 0xbb67ae85
mov qword [rbp - 0x20], 0x93
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x10], 0x3c6ef372
mov qword [rbp - 0x20], 0x94
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x14], 0xa54ff53a
mov qword [rbp - 0x20], 0x95
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x18], 0x510e527f
mov qword [rbp - 0x20], 0x96
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x1c], 0x9b05688c
mov qword [rbp - 0x20], 0x97
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1f83d9ab
mov qword [rbp - 0x20], 0x98
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x24], 0x5be0cd19
call sym.popFrame_24
nop
add rsp, 0x50
pop rbp
ret
Function at 0x140066775
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, [0x1400896f3]
mov qword [rbp - 0x28], rax
lea rax, [0x1400896a8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_38
mov qword [rbp - 0x20], 0x90a
movabs rax, 0xffffffff7fffffff
cmp qword [rbp + 0x10], rax
jg 0x1400667db
mov qword [rbp - 0x20], 0x90b
mov ecx, 0x80000000
call sym.exit
nop
mov qword [rbp - 0x20], 0x90c
mov eax, 0x80000000
cmp qword [rbp + 0x10], rax
jl 0x140066801
mov qword [rbp - 0x20], 0x90d
mov ecx, 0x7fffffff
call sym.exit
nop
mov qword [rbp - 0x20], 0x90f
mov rax, qword [rbp + 0x10]
mov ecx, eax
call sym.exit
nop

Function at 0x14006ac6d
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, [0x14008a124]
mov qword [rbp - 0x28], rax
lea rax, [0x14008a068]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_41
mov qword [rbp - 0x20], 0x90a
movabs rax, 0xffffffff7fffffff
cmp qword [rbp + 0x10], rax
jg 0x14006acd3
mov qword [rbp - 0x20], 0x90b
mov ecx, 0x80000000
call sym.exit
nop
mov qword [rbp - 0x20], 0x90c
mov eax, 0x80000000
cmp qword [rbp + 0x10], rax
jl 0x14006acf9
mov qword [rbp - 0x20], 0x90d
mov ecx, 0x7fffffff
call sym.exit
nop
mov qword [rbp - 0x20], 0x90f
mov rax, qword [rbp + 0x10]
mov ecx, eax
call sym.exit
nop

Function at 0x14006b917
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, [0x14008ac75]
mov qword [rbp - 0x28], rax
lea rax, [0x14008ac80]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_42
mov qword [rbp - 0x20], 0x90a
movabs rax, 0xffffffff7fffffff
cmp qword [rbp + 0x10], rax
jg 0x14006b97d
mov qword [rbp - 0x20], 0x90b
mov ecx, 0x80000000
call sym.exit
nop
mov qword [rbp - 0x20], 0x90c
mov eax, 0x80000000
cmp qword [rbp + 0x10], rax
jl 0x14006b9a3
mov qword [rbp - 0x20], 0x90d
mov ecx, 0x7fffffff
call sym.exit
nop
mov qword [rbp - 0x20], 0x90f
mov rax, qword [rbp + 0x10]
mov ecx, eax
call sym.exit
nop

Function at 0x14006be75
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, [0x14008b5b1]
mov qword [rbp - 0x28], rax
lea rax, [0x14008b5b8]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_43
mov qword [rbp - 0x20], 0x90a
movabs rax, 0xffffffff7fffffff
cmp qword [rbp + 0x10], rax
jg 0x14006bedb
mov qword [rbp - 0x20], 0x90b
mov ecx, 0x80000000
call sym.exit
nop
mov qword [rbp - 0x20], 0x90c
mov eax, 0x80000000
cmp qword [rbp + 0x10], rax
jl 0x14006bf01
mov qword [rbp - 0x20], 0x90d
mov ecx, 0x7fffffff
call sym.exit
nop
mov qword [rbp - 0x20], 0x90f
mov rax, qword [rbp + 0x10]
mov ecx, eax
call sym.exit
nop
Function at 0x14006ea0e
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
lea rax, str.quit
mov qword [rbp - 0x28], rax
lea rax, str.C:Usersham_dDownloads_nim_2.0.0_x64_nim_2.0.0lib_system.nim
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], 0
mov word [rbp - 0x10], 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.nimFrame_44
mov qword [rbp - 0x20], 0x90a
movabs rax, 0xffffffff7fffffff
cmp qword [rbp + 0x10], rax
jg 0x14006ea74
mov qword [rbp - 0x20], 0x90b
mov ecx, 0x80000000
call sym.exit
nop
mov qword [rbp - 0x20], 0x90c
mov eax, 0x80000000
cmp qword [rbp + 0x10], rax
jl 0x14006ea9a
mov qword [rbp - 0x20], 0x90d
mov ecx, 0x7fffffff
call sym.exit
nop
mov qword [rbp - 0x20], 0x90f
mov rax, qword [rbp + 0x10]
mov ecx, eax
call sym.exit
nop
Function at 0x140070d30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140070da0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140096604]
test esi, esi
mov rbx, rcx
jle 0x140070ed0
mov rax, qword [0x140096608]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140070deb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140070e75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140070dd0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140070ef2
mov rax, qword [0x140096608]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140096608]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140070ed7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140070e6e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140070e80
add dword [0x140096604], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140096608]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140070e6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140070df8
mov rax, qword [0x140096608]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140071460
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140096660]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140096640]
test rbx, rbx
je 0x1400714bc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400714b3
test rsi, rsi
je 0x1400714b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140071498
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400716d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400716e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400716f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140071700
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14007174d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x140071744
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14007174f
add rax, 0x28
cmp rax, r9
jne 0x140071730
xor eax, eax
ret

Function at 0x140071750
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400717e0
mov rdx, qword [0x14008ce00]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400717ce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400717ce
cmp word [rax + 0x18], 0x20b
jne 0x1400717ce
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400717e0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400717b9
add rbx, 0x28
cmp rbx, rdi
je 0x1400717e0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400717b0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400717f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14008ce00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140071810
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140071818
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140071810
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14007186d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140071864
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140071810
add rax, 0x28
cmp rax, r9
jne 0x140071850
xor eax, eax
ret

Function at 0x140071870
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14008ce00]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14007188f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140071898
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14007188f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400718b0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14008ce00]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400718d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400718d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400718d0
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140071920
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140071917
test rcx, rcx
je 0x1400718d0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140071908
xor eax, eax
ret

Function at 0x140071930
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14008ce00]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14007194f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140071958
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140071970
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14008ce00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140071990
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140071998
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140071990
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140071990
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400719e4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400719f0
add rdx, 0x28
cmp r9, rdx
jne 0x1400719d0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140071a00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14008ce00]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140071a22
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140071a30
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140071a22
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140071a22
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140071a22
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x140071a85
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140071a98
add rdx, 0x28
cmp rdx, r10
jne 0x140071a70
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140071aa7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140071ab7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140071a8e
test ecx, ecx
jg 0x140071aa0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x140077ad0
Capabilities:
Allocate thread local storage

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

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
mov qword [rsp + 0x20], rax
movabs rax, 0x7520676e696e6165
mov qword [rsp + 0x28], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x30], rax
movabs rax, 0x20726f6620737965
mov qword [rsp + 0x38], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
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 + 0x78], 0
mov dword [rsp + 0x87], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x140077bfa
lea rcx, [rsp + 0x20]
mov eax, 0x28
jmp 0x140077bd2
add rax, 1
cmp rax, 0x6b
je 0x140077bef
cmp byte [rcx + rax], 0
jne 0x140077bc8
cmp eax, 0x6a
movsxd rdx, eax
je 0x140077bef
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sym.abort
lea rcx, [rsp + 0x20]
mov eax, 0x28
mov edx, 0x27
jmp 0x140077be3

Function at 0x140077f70
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x140097150], 1
je 0x140077fe8
lea rdi, [0x140097150]
mov rcx, rdi
call sym.enterOnceObject
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call sym.pthread_mutex_lock
mov esi, dword [0x140097150]
test esi, esi
jne 0x140077ff8
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x14007d868], eax
je sym._pthread_once_raw.constprop.0.isra.0.cold
mov dword [0x140097150], 1
mov rcx, rbp
call sym.pthread_mutex_unlock
test rbx, rbx
je 0x140077fe8
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 0x140077fc8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sym.fprintf_1
jmp 0x140077fc8