joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d69a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r14, qword [rcx + 0x58]
mov r13d, r8d
mov rdi, rcx
mov rsi, rdx
mov ebp, r8d
shr r13d, 0x1f
test r14, r14
je 0x1401d6a38
test r13b, r13b
je 0x1401d6a38
mov eax, dword [r14]
lea rbx, [r14 + 8]
test eax, eax
jle 0x1401d6a38
sub eax, 1
shl rax, 5
lea r12, [r14 + rax + 0x28]
jmp 0x1401d69f1
add rbx, 0x20
cmp rbx, r12
je 0x1401d6a38
test byte [rbx + 0x14], 8
je 0x1401d69e8
mov rdx, qword [rbx]
test rdx, rdx
je 0x1401d6ad8
test rsi, rsi
je 0x1401d6ad8
xor ecx, ecx
mov r9d, 0xffffffff
mov r8, rsi
call sym.sqlite3ExprCompare.part.0
test eax, eax
jne 0x1401d69e8
mov eax, dword [rbx + 0x18]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [rdi]
test rsi, rsi
je 0x1401d6ad0
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call dbg.exprDup
mov rbx, rax
test rax, rax
je 0x1401d6ad0
test byte [rax + 4], 8
jne 0x1401d6af0
mov rdx, r14
mov r8, rbx
mov rcx, rdi
call sym.sqlite3ExprListAppend
mov rdx, rax
mov eax, ebp
test rdx, rdx
je 0x1401d6ab9
mov eax, dword [rdx]
shl r13d, 3
sub eax, 1
cdqe
mov rcx, rax
shl rcx, 5
lea r8, [rdx + rcx + 0x10]
movzx ecx, byte [r8 + 0xc]
and ecx, 0xfffffff7
or ecx, r13d
mov byte [r8 + 0xc], cl
test ebp, ebp
jns 0x1401d6aaf
mov esi, dword [rdi + 0x38]
lea ebp, [rsi + 1]
mov dword [rdi + 0x38], ebp
shl rax, 5
mov dword [rdx + rax + 0x20], ebp
mov eax, ebp
mov qword [rdi + 0x58], rdx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ebx, ebx
jmp 0x1401d6a64
cmp rdx, rsi
jne 0x1401d69e8
mov eax, dword [rbx + 0x18]
jmp 0x1401d6a23
mov rsi, qword [rdi + 0x10]
movsxd r12, dword [rsi + 0x90]
cmp r12d, dword [rsi + 0x94]
jge 0x1401d6bc6
lea eax, [r12 + 1]
mov dword [rsi + 0x90], eax
movsxd rax, r12d
lea rdx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
lea rax, [rax + rdx*8]
mov qword [rax], 0xf
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rcx, qword [rdi]
mov byte [rdi + 0x23], 0
mov eax, ebp
cmp byte [rcx + 0x67], 0
jne 0x1401d6b6f
test ebp, ebp
js 0x1401d6bbb
cmp qword [rdi + 0x10], 0
je 0x1401d6b6f
mov r8d, eax
mov rcx, rdi
mov rdx, rbx
mov dword [rsp + 0x3c], eax
call sym.sqlite3ExprCode.part.0
mov rcx, qword [rdi]
mov eax, dword [rsp + 0x3c]
mov byte [rdi + 0x23], 1
mov rdx, rbx
mov dword [rsp + 0x3c], eax
call dbg.sqlite3ExprDeleteNN
mov r8, qword [rsi]
mov eax, dword [rsp + 0x3c]
lea rdx, [0x140440540]
mov ecx, dword [rsi + 0x90]
cmp byte [r8 + 0x67], 0
jne 0x1401d6ba9
mov rdx, qword [rsi + 0x88]
lea r8, [r12 + r12*2]
lea rdx, [rdx + r8*8]
mov dword [rdx + 8], ecx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov eax, dword [rdi + 0x38]
add eax, 1
mov dword [rdi + 0x38], eax
jmp 0x1401d6b4f
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, rsi
mov dword [rsp + 0x20], 0
call dbg.growOp3
movsxd r12, eax
jmp 0x1401d6b3c
Function at 0x1401d6bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x60
cmp byte [rcx + 0x23], 0
mov rbx, rcx
je 0x1401d6c5c
mov eax, 2
lea rcx, [dbg.exprNodeIsConstant]
mov dword [rsp + 0x58], 0
mov word [rsp + 0x54], ax
lea rax, [dbg.sqlite3SelectWalkFail]
movq xmm0, rcx
movq xmm1, rax
punpcklqdq xmm0, xmm1
movups xmmword [rsp + 0x38], xmm0
test rdx, rdx
je 0x1401d6c70
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x20], rdx
call dbg.sqlite3WalkExprNN
cmp word [rsp + 0x54], 0
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x2c]
jne 0x1401d6c70
mov rcx, rbx
add rsp, 0x60
pop rbx
jmp dbg.sqlite3ExprCodeCopy
mov rcx, rbx
add rsp, 0x60
pop rbx
jmp dbg.sqlite3ExprCodeRunJustOnce

Function at 0x1401d7620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rbx, rcx
mov rsi, r8
test rdx, rdx
jne 0x1401d7645
jmp 0x1401d765f
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1401d765f
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1401d76c0
test eax, 0x80000
jne 0x1401d7638
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1401d7645
movzx eax, byte [rbx + 0x1f]
test al, al
je 0x1401d7750
sub eax, 1
mov byte [rbx + 0x1f], al
movzx eax, al
mov edi, dword [rbx + rax*4 + 0xe8]
mov r8d, edi
mov rcx, rbx
call sym.sqlite3ExprCodeTarget
cmp eax, edi
je 0x1401d7740
test edi, edi
jne 0x1401d76a0
mov dword [rsi], 0
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
movzx edx, byte [rbx + 0x1f]
cmp dl, 7
ja 0x1401d7692
lea ecx, [rdx + 1]
mov byte [rbx + 0x1f], cl
mov dword [rbx + rdx*4 + 0xe8], edi
jmp 0x1401d7692
cmp byte [rbx + 0x23], 0
je 0x1401d765f
cmp byte [rdx], 0xb0
je 0x1401d765f
mov eax, 2
lea rcx, [rsp + 0x30]
lea rdi, [dbg.exprNodeIsConstant]
mov qword [rsp + 0x28], rdx
mov word [rsp + 0x54], ax
lea rax, [dbg.sqlite3SelectWalkFail]
movq xmm0, rdi
movq xmm1, rax
mov dword [rsp + 0x58], 0
punpcklqdq xmm0, xmm1
movups xmmword [rsp + 0x38], xmm0
call dbg.sqlite3WalkExprNN
cmp word [rsp + 0x54], 0
mov rdx, qword [rsp + 0x28]
je 0x1401d765f
mov r8d, 0xffffffff
mov rcx, rbx
mov dword [rsi], 0
add rsp, 0x60
pop rbx
pop rsi
pop rdi
jmp dbg.sqlite3ExprCodeRunJustOnce
mov dword [rsi], edi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
ret
mov eax, dword [rbx + 0x38]
lea edi, [rax + 1]
mov dword [rbx + 0x38], edi
jmp 0x1401d767b
Function at 0x1401d7760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
mov r11, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov r10, rcx
movzx ecx, byte [rdx]
cmp cl, 0xb0
je 0x1401d7788
cmp cl, 0x8a
je 0x1401d77d0
xor eax, eax
cmp cl, 0xb1
je 0x1401d77b0
pop rbx
ret
movzx eax, byte [rdx + 2]
cmp al, 0xb1
je 0x1401d7810
mov rcx, rdx
cmp al, 0x8a
je 0x1401d77f0
mov eax, dword [rdx + 0x2c]
mov qword [r11], rcx
add eax, r8d
pop rbx
ret
movsxd rax, r8d
mov rcx, r10
mov r8, rbx
shl rax, 5
add rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
mov qword [r11], rdx
pop rbx
jmp dbg.sqlite3ExprCodeTemp
mov rdx, qword [rdx + 0x20]
movsxd rax, r8d
shl rax, 5
add rax, qword [rdx + 0x20]
mov rax, qword [rax + 8]
mov qword [r11], rax
lea eax, [r8 + r9]
pop rbx
ret
mov rax, qword [rdx + 0x20]
mov r9, qword [rax + 0x20]
cmp dword [r9], 1
jle 0x1401d779b
movsxd rax, r8d
shl rax, 5
mov rcx, qword [r9 + rax + 8]
jmp 0x1401d779b
mov rcx, qword [rdx + 0x20]
cmp dword [rcx], 1
jle 0x1401d782a
movsxd rax, r8d
shl rax, 5
mov rcx, qword [rcx + rax + 8]
jmp 0x1401d779b
mov rcx, rdx
jmp 0x1401d779b
Function at 0x140215610
Capabilities:
Reference sql statements

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
movq xmm1, rax
mov rbx, rcx
lea rcx, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd rbp, edx
mov rdi, r8
movq xmm0, rcx
mov rsi, rbp
lea r13, [rbp + 4]
mov r12, r9
punpcklqdq xmm0, xmm1
cmp qword [rbx + rbp*8 + 0x28], 0
movups xmmword [rsp + 0x40], xmm0
je 0x1402156c0
mov ecx, dword [rbx + 0x40]
test ecx, ecx
je 0x140215670
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rbp, qword [rbx + rbp*8 + 0x28]
mov r8, rdi
mov edx, 1
mov rcx, rbp
call sym.sqlite3_bind_int64
mov rcx, rbp
call dbg.sqlite3_step
cmp eax, 0x65
je 0x1402156e0
cmp eax, 0x64
je 0x140215710
mov rcx, rbp
call dbg.sqlite3_reset
mov edx, dword [rbx + 0x40]
test edx, edx
jne 0x14021565f
mov dword [rbx + 0x40], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rdx, qword [rsp + rbp*8 + 0x40]
mov r9, qword [rbx + 0x10]
mov rcx, rbx
mov r8, qword [rbx + 8]
call dbg.rtreeCheckPrepare
mov qword [rbx + r13*8 + 8], rax
jmp 0x140215658
test esi, esi
lea rdx, str.__rowid
mov r9, r12
mov r8, rdi
lea rax, str.__parent
mov rcx, rbx
cmovne rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call dbg.rtreeCheckAppendMsg
jmp 0x140215697
xor edx, edx
mov rcx, rbp
call sym.sqlite3_column_int64
mov r9, rax
cmp r12, rax
je 0x140215697
test esi, esi
lea rdx, str.__rowid
mov r8, rdi
mov rcx, rbx
lea rax, str.__parent
mov qword [rsp + 0x30], r12
cmovne rax, rdx
mov qword [rsp + 0x28], rdi
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rax
call dbg.rtreeCheckAppendMsg
jmp 0x140215697
Function at 0x14022c970
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1404409e8], rax
test rax, rax
je 0x14022c9a5
lea rcx, [0x140440a00]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x3d
mov edx, 1
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
mov r9, rax
call sym.fwrite
call sym.abort
nop

Function at 0x14022cb10
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x20
mov edx, 1
lea rcx, str.unexpected_cgo_bindm_on_Windows_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop

Function at 0x14022cb40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x140440a00]
call sym._cgo_maybe_run_preinit
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rbx
mov dword [0x1404409e0], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1404409e8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x14022cb84
add rsp, 0x20
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x3b
mov edx, 1
lea rcx, str.runtime:_failed_to_signal_runtime_initialization_complete._n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop

Function at 0x14022ccc0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x18
call sym.malloc
mov rcx, rax
test rax, rax
je 0x14022ccf3
movdqu xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
add rsp, 0x20
pop rbx
jmp dbg._cgo_sys_thread_start
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x2b
mov edx, 1
lea rcx, str.runtime_cgo:_out_of_memory_in_thread_start_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop
nop

Function at 0x14022cd70
Capabilities:
Create thread

Disassembly:
mov rdx, rcx
lea rcx, [dbg.threadentry]
jmp sym._cgo_beginthread

Function at 0x14022d060
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 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 dbg.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x14022d0d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140440ab4]
mov rbx, rcx
test esi, esi
jle 0x14022d200
mov rax, qword [0x140440ab8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14022d11b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14022d1a5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14022d100
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x14022d222
mov rax, qword [0x140440ab8]
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 [0x140440ab8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14022d207
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14022d19e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14022d1b0
add dword [0x140440ab4], 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 [0x140440ab8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14022d19e
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 0x14022d128
mov rax, qword [0x140440ab8]
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 0x14022d7b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140440b20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140440b00]
test rbx, rbx
je 0x14022d80c
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 0x14022d803
test eax, eax
jne 0x14022d803
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14022d7e8
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 0x14022da20
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14022da38
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14022da40
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x14022da50
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 0x14022da9d
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 0x14022da94
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14022da9f
add rax, 0x28
cmp rax, r9
jne 0x14022da80
xor eax, eax
ret

Function at 0x14022daa0
Capabilities:
Parse pe header

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

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

Function at 0x14022dbc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14039fca0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14022dbdf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14022dbe8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14022dbdf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14022dc00
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14039fca0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14022dc20
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14022dc28
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14022dc20
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x14022dc70
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14022dc67
test rcx, rcx
je 0x14022dc20
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x14022dc58
xor eax, eax
ret
Function at 0x14022dc80
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x14039fca0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14022dd72
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14022dd80
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14022dd72
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14022dd72
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14022dd72
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 0x14022ddd5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14022dde8
add rdx, 0x28
cmp r10, rdx
jne 0x14022ddc0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14022ddf7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14022de07
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14022ddde
test ecx, ecx
jg 0x14022ddf0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002ad0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002b1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002b1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002b1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002b1a
cmp dword [rcx + 0x84], 0xe
jbe 0x140002b1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002b1c
xor al, al
add rsp, 0x28
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x2eda313ca
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
cmp dword [rbp + 0x18], 1
jne 0x2eda3142e
lea rax, [rbp - 0xc]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x10]
lea r8, [0x2eda313a0]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
je 0x2eda3142d
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
nop
mov eax, 1
add rsp, 0x40
pop rbp
ret

Function at 0x2eda31b32
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
sub rsp, 0x4b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x440], rcx
mov qword [rbp + 0x420], 0
mov qword [rbp + 0x418], 0
mov qword [rbp + 0x410], 0
mov dword [rbp + 0x42c], 0
lea rcx, [0x2eda400c0]
call fcn.2eda37e7e
mov qword [rbp + 0x420], rax
mov rdx, qword [rbp + 0x420]
lea rax, [rbp - 0x60]
mov r9, qword [rbp + 0x440]
mov r8, rdx
mov edx, 0x104
mov rcx, rax
call fcn.2eda31ae8
mov rax, qword [rbp + 0x420]
mov rcx, rax
call fcn.2eda37f8e
lea rdx, [rbp + 0x1b0]
lea rax, [rbp - 0x60]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileW]
call rax
mov qword [rbp + 0x408], rax
cmp qword [rbp + 0x408], 0xffffffffffffffff
je 0x2eda31cb2
lea rcx, [0x2eda400d7]
call fcn.2eda37e7e
mov qword [rbp + 0x418], rax
lea rcx, [0x2eda400e2]
call fcn.2eda37e7e
mov qword [rbp + 0x410], rax
mov eax, dword [rbp + 0x1b0]
and eax, 0x10
test eax, eax
je 0x2eda31c5c
mov rax, qword [rbp + 0x418]
lea rdx, [rbp + 0x1b0]
lea rcx, [rdx + 0x2c]
mov rdx, rax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x2eda31c63
mov rax, qword [rbp + 0x410]
lea rdx, [rbp + 0x1b0]
lea rcx, [rdx + 0x2c]
mov rdx, rax
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x2eda31c63
add dword [rbp + 0x42c], 1
jmp 0x2eda31c63
add dword [rbp + 0x42c], 1
lea rdx, [rbp + 0x1b0]
mov rax, qword [rbp + 0x408]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindNextFileW]
call rax
test eax, eax
jne 0x2eda31c0a
mov rax, qword [rbp + 0x410]
mov rcx, rax
call fcn.2eda37f8e
mov rax, qword [rbp + 0x418]
mov rcx, rax
call fcn.2eda37f8e
mov rax, qword [rbp + 0x408]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
call rax
mov eax, dword [rbp + 0x42c]
add rsp, 0x4b0
pop rbp
ret

Function at 0x2eda31cc1
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x230
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x1ac], 0
lea rax, [rbp - 0x60]
mov rdx, rax
mov ecx, 0x104
mov rax, qword [sym.imp.KERNEL32.dll_GetTempPathW]
call rax
test eax, eax
je 0x2eda31d06
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.2eda31b32
mov dword [rbp + 0x1ac], eax
mov eax, dword [rbp + 0x1ac]
add rsp, 0x230
pop rbp
ret