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

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [0x140093a60]
xor r8d, r8d
mov rbx, rcx
mov rcx, qword [rcx]
call sym.setLengthSeqV2
mov rcx, rbx
mov rdx, rax
add rsp, 0x20
pop rbx
jmp sym.unsureAsgnRef

Function at 0x140056240
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
xor edx, edx
mov rcx, qword [rax + 0x2c78]
add rsp, 0x28
jmp sym.nimGCvisit

Function at 0x140056270
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x18]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x20]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x1400562a0
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 0x18]
jmp sym.nimGCvisit

Function at 0x1400562b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x18]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x20]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x1400562e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x30]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x140056320
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x30]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x140056360
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit
Function at 0x140056a30
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbp, qword [rdx]
mov rdi, qword [rdx + 8]
mov rsi, rcx
je 0x140056b60
call sym.new__pureZasyncfutures_124
mov rbx, rax
test rdi, rdi
je 0x140056a60
add qword [rdi - 0x10], 8
mov rax, qword [rbx + 8]
test rax, rax
je 0x140056a83
mov rcx, qword [rax - 0x10]
lea r12, [rax - 0x10]
lea rdx, [rcx - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
jbe 0x140056b40
mov rax, qword [rbx + 0x10]
mov qword [rbx + 8], rdi
mov qword [rbx], rbp
test rax, rax
je 0x140056aa9
mov rcx, qword [rax - 0x10]
lea rdi, [rax - 0x10]
lea rdx, [rcx - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
jbe 0x140056b20
mov qword [rbx + 0x10], 0
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140056b90
nop
mov rsi, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140056ac0
add qword [rbx - 0x10], 8
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140056b0a
mov rcx, qword [rax - 0x10]
lea rdi, [rax - 0x10]
lea rdx, [rcx - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x140056b0a
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
mov rdx, rdi
lea rcx, [rax + 0x50]
call sym.addZCT__system_5813
mov qword [rsi + 0x10], rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
mov rdx, rdi
lea rcx, [rax + 0x50]
call sym.addZCT__system_5813
jmp 0x140056aa9
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
mov rdx, r12
lea rcx, [rax + 0x50]
call sym.addZCT__system_5813
jmp 0x140056a83
lea rcx, [rcx + 8]
mov rdx, rdi
call sym.unsureAsgnRef
cmp qword [rsi + 0x10], 0
mov qword [rsi], rbp
je 0x140056b0e
lea rcx, [0x140091f20]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.failedAssertImpl__systemZassertions_56
lea rcx, [rsi + 0x10]
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.unsureAsgnRef
Function at 0x140056bb0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, qword [rdx]
mov rdi, qword [rdx + 8]
mov rbx, rcx
test rbp, rbp
je 0x140056cf0
cmp byte [rbx + 0x20], 0
jne 0x140056ca8
cmp qword [rbx + 8], 0
je 0x140056d10
call sym.new__pureZasyncfutures_124
mov rsi, rax
test rdi, rdi
je 0x140056bf4
add qword [rdi - 0x10], 8
mov rax, qword [rsi + 8]
test rax, rax
je 0x140056c17
mov rcx, qword [rax - 0x10]
lea r12, [rax - 0x10]
lea rdx, [rcx - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
jbe 0x140056d60
mov rax, qword [rsi + 0x10]
mov qword [rsi + 8], rdi
mov qword [rsi], rbp
test rax, rax
je 0x140056c41
mov rcx, qword [rax - 0x10]
lea rdi, [rax - 0x10]
lea rdx, [rcx - 8]
mov qword [rax - 0x10], rdx
cmp rdx, 7
jbe 0x140056d80
mov qword [rsi + 0x10], 0
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140056df0
nop word cs:[rax + rax]
mov rbx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140056c60
add qword [rsi - 0x10], 8
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140056c94
mov rdx, qword [rax - 0x10]
lea rdi, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
jbe 0x140056da0
mov qword [rbx + 0x10], rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
mov r8, qword [rax + 0x2c70]
test r8, r8
je 0x140056d40
mov rdx, qword [rax + 0x2c78]
test rdx, rdx
je 0x140056dc8
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rdi
call r8
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
test rdi, rdi
jne 0x140056bcd
lea rcx, [0x140091f80]
call sym.failedAssertImpl__systemZassertions_56
jmp 0x140056bcd
lea rcx, [rbx + 0x10]
mov rdx, rdi
call sym.unsureAsgnRef
cmp qword [rbx + 0x18], 0
mov qword [rbx + 8], rbp
je 0x140056ce5
lea rcx, [0x140091f20]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.failedAssertImpl__systemZassertions_56
test rdi, rdi
je 0x140056e10
mov rcx, rdi
mov rax, rbp
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp rax
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
mov rdx, r12
lea rcx, [rax + 0x50]
call sym.addZCT__system_5813
jmp 0x140056c17
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
mov rdx, rdi
lea rcx, [rax + 0x50]
call sym.addZCT__system_5813
jmp 0x140056c41
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
mov rdx, rdi
lea rcx, [rax + 0x50]
call sym.addZCT__system_5813
mov qword [rbx + 0x10], rsi
jmp 0x140056c98
mov qword [rsp + 0x20], rbp
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rdi
call r8
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rcx, [rbx + 0x18]
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sym.unsureAsgnRef
mov rax, rbp
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp rax
Function at 0x1400583d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140093d50]
mov ecx, dword [rax]
call sym.threadVarGetValue__system_2249
xor edx, edx
mov rcx, qword [rax + 0x2c80]
add rsp, 0x28
jmp sym.nimGCvisit

Function at 0x140058400
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 0x30]
jmp sym.nimGCvisit

Function at 0x140058410
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 0x10]
jmp sym.nimGCvisit

Function at 0x140058420
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x30]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x38]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x140058460
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x140058490
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x30]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x1400584d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x40]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x14005b110
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x20]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x14005b150
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x38]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit
Function at 0x14005c1c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x30]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x38]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x40]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x48]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x14005c230
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x20]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x30]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x14005c270
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x20]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x40]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x48]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit

Function at 0x14005c300
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x20]
mov rdx, rbx
call sym.nimGCvisit
mov rcx, qword [rsi + 0x30]
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.nimGCvisit
Function at 0x14005fe30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x14005fea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14013c434]
mov rbx, rcx
test esi, esi
jle 0x14005ffd0
mov rax, qword [0x14013c438]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14005feeb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14005ff75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14005fed0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x14005fff2
mov rax, qword [0x14013c438]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14013c438]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14005ffd7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14005ff6e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14005ff80
add dword [0x14013c434], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14013c438]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14005ff6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14005fef8
mov rax, qword [0x14013c438]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140060580
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14013c4a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14013c480]
test rbx, rbx
je 0x1400605dc
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 rsi, rsi
je 0x1400605d3
test eax, eax
jne 0x1400605d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400605b8
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 0x1400607f0
Capabilities:
Parse pe header

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

Function at 0x140060820
Capabilities:
Enumerate pe sections

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

Function at 0x140060870
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140060900
mov rdx, qword [0x140093b90]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400608ee
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400608ee
cmp word [rax + 0x18], 0x20b
jne 0x1400608ee
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140060900
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400608d9
add rbx, 0x28
cmp rbx, rdi
je 0x140060900
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400608d0
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 0x140060910
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140093b90]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140060930
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140060938
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140060930
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14006098d
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]
mov rdx, r8
cmp rcx, r8
jb 0x140060984
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140060930
add rax, 0x28
cmp rax, r9
jne 0x140060970
xor eax, eax
ret

Function at 0x140060990
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x140093b90]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400609f0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400609f8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400609f0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140060a40
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140060a37
test rcx, rcx
je 0x1400609f0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140060a28
xor eax, eax
ret

Function at 0x140060a50
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140093b90]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140060ab0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140060ab8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140060ab0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140060ab0
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]
mov rax, r8
cmp rcx, r8
jb 0x140060b04
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140060b10
add rdx, 0x28
cmp rdx, r9
jne 0x140060af0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140093b90]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140060b42
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140060b50
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140060b42
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140060b42
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140060b42
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]
mov r8, r9
cmp rax, r9
jb 0x140060ba5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140060bb8
add rdx, 0x28
cmp r10, rdx
jne 0x140060b90
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140060bc7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140060bd7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140060bae
test ecx, ecx
jg 0x140060bc0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14001a14a
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x14003ff80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x140074f80]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x14008159d]
call fcn.14001b419
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.14001aece
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x14004004d
cmp qword [rbp + 8], 0
je 0x140040015
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.14001aece
mov dword [rbp + 0x44], eax
jmp 0x14003fff2
cmp dword [rbp + 0x44], 0
jge 0x140040074
cmp qword [rbp + 8], 0
je 0x14004006d
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
jmp 0x1400401a7
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14004008a
xor eax, eax
jmp 0x1400401a7
mov dword [rbp + 0x84], 0
jmp 0x1400400a4
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0x84], eax
jae 0x140040192
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x84]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 0x68]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.14001a8e3
nop
mov rcx, qword [rbp + 0x210]
call fcn.14001a1f9
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0xa8]
call fcn.14001a1f9
mov rcx, qword [rbp + 0x1d8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x140040180
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rbp + 0xe8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0xa8]
call fcn.14001a3c5
mov rax, qword [rbp + 0x1c8]
jmp 0x1400401a7
lea rcx, [rbp + 0xa8]
call fcn.14001a3c5
nop
jmp 0x140040096
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140068660]
call fcn.14001b0a4
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rbp
call fcn.14001a997
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret