joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bf518
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
xor ebp, ebp
xor r9d, r9d
and qword [rax - 0x38], rbp
mov edx, 0x80000000
and dword [rax - 0x40], ebp
lea r8d, [rbp + 3]
mov dword [rax - 0x48], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400bf65c
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400bf63d
mov r12d, 0x10000000
lea ecx, [rbp + 0x40]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x1400bf651
mov rax, qword [rsp + 0x80]
xor ecx, ecx
test rax, rax
jle 0x1400bf632
lea r14, [rcx + 0x10000000]
mov rbx, rax
sub rbx, rcx
mov rdx, rcx
cmp r14, rax
mov rcx, rsi
cmovl rbx, r12
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400bf60a
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400bf5fb
mov edx, dword [rsp + 0x78]
mov rcx, rdi
call fcn.1400bf410
add ebp, eax
jmp 0x1400bf61e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_yvdbdwwpseKuRlSa_sk_search_file___ReadFile__0x_08x__n
jmp 0x1400bf617
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_yvdbdwwpseKuRlSa_sk_search_file___SetFilePointerEx__0x_08x__n
mov edx, eax
call fcn.14000bdb4
mov rax, qword [rsp + 0x80]
mov rcx, r14
cmp r14, rax
jl 0x1400bf5a3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400bf651
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_yvdbdwwpseKuRlSa_sk_search_file___GetFileSizeEx__0x_08x__n
call fcn.14000bdb4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bf670
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_yvdbdwwpseKuRlSa_sk_search_file___CreateFile__0x_08x__n
call fcn.14000bdb4
mov rbx, qword [rsp + 0x70]
mov eax, ebp
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400d4c58
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400d49bc
Function at 0x1400da1b4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1400da01a
call fcn.1400d59f8
mov dword [rax], SQLAllocHandle
call fcn.1400d5634
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400d9ffc
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400d9ffc
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x1400da04c
lock or dword [rax + 0x14], 0x10
jmp 0x1400d9ffc
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400da069
mov rcx, qword [rbp + 0x20]
call fcn.1400def8c
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1400da07e
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1400da084
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400c92ac
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400df5a8
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x1400da0d7
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x1400d9ffc
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400da143
mov rcx, qword [rbp + 0x20]
call fcn.1400c92ac
cmp eax, 0xffffffff
je 0x1400da12a
mov rcx, qword [rbp + 0x20]
call fcn.1400c92ac
cmp eax, 0xfffffffe
je 0x1400da12a
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.1400c92ac
movsxd rdi, eax
lea r15, [0x14015ac60]
mov rcx, rbx
sar rdi, 6
call fcn.1400c92ac
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x1400da131
lea rax, [0x1401542d0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400da143
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1400da179
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400da175
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400da175
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1400da197
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1400da1a2
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x1400da001
jmp 0x1400d9fc8
Function at 0x140f7c30c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f7c316
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f7c33f
pop rbp
sub rbp, 0x33
sub rbp, 0xf7c30c
sub rsp, 0x20
jmp 0x140f7c35e
mov rax, 0xf7c30c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffbb7dd0ff
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f7c37d
jmp 0x140f7c394
mov bh, 0x76
invalid
Function at 0x37f291050
Capabilities:
Encode data using xor

Disassembly:
shl rcx, 4
mov r10, rdx
xor eax, eax
and ecx, 0xff0
add rcx, r8
lea r9, [r10 + rax]
lea r8, [rax + rcx]
xor edx, edx
mov r11b, byte [r8 + rdx]
inc rdx
xor byte [r9], r11b
inc r9
cmp rdx, 4
jne 0x37f29106c
add rax, 4
cmp rax, 0x10
jne 0x37f291062
ret

Function at 0x37f2910d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
lea rax, [rdx + r8]
mov rbp, rsp
push r15
push r14
push r13
push r12
lea r12, str.cw
push rdi
mov dil, 0x1b
push rsi
mov rsi, rdx
push rbx
mov rbx, rcx
and rsp, 0xfffffffffffffff0
sub rsp, 0x40
mov qword [rsp + 0x28], rax
mov eax, 0x10
cmp qword [rsp + 0x28], rsi
je 0x37f2912dc
cmp eax, 0x10
jne 0x37f2912c9
lea rdx, [rsp + 0x30]
mov r8, rbx
xor ecx, ecx
mov r14d, 1
movups xmm0, xmmword [rbx + 0xf0]
lea r13, [rsp + 0x34]
movups xmmword [rsp + 0x30], xmm0
call fcn.37f291050
lea rdx, [rsp + 0x30]
mov rcx, rdx
mov rax, rcx
xor r8d, r8d
movzx r9d, byte [rax]
inc r8d
add rax, 4
mov r9b, byte [r12 + r9]
mov byte [rax - 4], r9b
cmp r8b, 4
jne 0x37f29114d
inc rcx
cmp r13, rcx
jne 0x37f291147
mov cl, byte [rsp + 0x35]
mov al, byte [rsp + 0x31]
mov byte [rsp + 0x31], cl
mov cl, byte [rsp + 0x39]
mov byte [rsp + 0x35], cl
mov cl, byte [rsp + 0x3d]
mov byte [rsp + 0x3d], al
mov al, byte [rsp + 0x32]
mov byte [rsp + 0x39], cl
mov cl, byte [rsp + 0x3a]
mov byte [rsp + 0x3a], al
mov al, byte [rsp + 0x36]
mov byte [rsp + 0x32], cl
mov cl, byte [rsp + 0x3e]
mov byte [rsp + 0x3e], al
mov al, byte [rsp + 0x33]
mov byte [rsp + 0x36], cl
mov cl, byte [rsp + 0x3f]
mov byte [rsp + 0x33], cl
mov cl, byte [rsp + 0x3b]
mov byte [rsp + 0x3f], cl
mov cl, byte [rsp + 0x37]
mov byte [rsp + 0x37], al
mov byte [rsp + 0x3b], cl
cmp r14d, 0xe
je 0x37f29128e
lea r15, [rdx + 0x10]
mov cl, byte [rdx]
mov r9b, byte [rdx + 1]
add rdx, 4
mov r10b, byte [rdx - 1]
mov r8b, byte [rdx - 2]
xor r9d, ecx
mov eax, r9d
xor r8d, r10d
shr al, 7
mov r11d, r8d
imul eax, edi
xor r11d, r9d
add r9d, r9d
xor r9d, eax
mov eax, ecx
xor ecx, r10d
xor r10d, r11d
xor eax, r11d
xor r9d, eax
mov byte [rdx - 4], r9b
mov r9b, byte [rdx - 3]
xor r9b, byte [rdx - 2]
mov eax, r9d
add r9d, r9d
shr al, 7
imul eax, edi
xor r9d, eax
mov al, byte [rdx - 3]
xor eax, r11d
xor r9d, eax
mov eax, r8d
add r8d, r8d
shr al, 7
mov byte [rdx - 3], r9b
imul eax, edi
xor r8d, eax
mov al, byte [rdx - 2]
xor eax, r11d
xor r8d, eax
mov eax, ecx
add ecx, ecx
shr al, 7
mov byte [rdx - 2], r8b
imul eax, edi
xor ecx, eax
xor ecx, r10d
mov byte [rdx - 1], cl
cmp r15, rdx
jne 0x37f2911dc
mov ecx, r14d
lea rdx, [rsp + 0x30]
mov r8, rbx
inc r14d
call fcn.37f291050
jmp 0x37f29113f
mov r8, rbx
mov ecx, 0xe
call fcn.37f291050
mov eax, 0xf
mov dl, byte [rbx + rax + 0xf0]
cmp dl, 0xff
jne 0x37f2912bc
mov byte [rbx + rax + 0xf0], 0
sub rax, 1
jae 0x37f2912a0
jmp 0x37f2912c7
cdqe
inc edx
mov byte [rbx + rax + 0xf0], dl
xor eax, eax
movsxd rdx, eax
inc eax
mov dl, byte [rsp + rdx + 0x30]
xor byte [rsi], dl
inc rsi
jmp 0x37f291105
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x37f292200
Capabilities:
Resolve function by djb2 hash

Disassembly:
push r13
xor eax, eax
xor r8d, r8d
xor edx, edx
push r12
mov r12, rcx
mov ecx, 0xfc
push rbp
lea rbp, [r12 + 6]
push rdi
push rsi
mov rsi, r12
push rbx
sub rsp, 0x448
mov qword [rsp + 0x40], 0
lea rdi, [rsp + 0x50]
rep stosd dword [rdi], eax
mov rcx, rbp
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x28], 0
call fcn.37f29a8f0
mov edx, 0xc
xor r8d, r8d
mov rcx, r12
mov rbx, rax
call fcn.37f29a8f0
mov rcx, r12
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov r13, rax
call fcn.37f29db50
lea rdx, [rsp + 0x40]
lea rcx, [rax + 1]
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
cmp r13d, 0xd0a409b0
je 0x37f2922bf
cmp ebx, 0x59fcf3cf
je 0x37f2922bf
cmp ebx, 0xcf31bb1f
je 0x37f2922bf
cmp ebx, 0x5fbff0fb
je 0x37f2922bf
cmp ebx, 0x5a153f58
je 0x37f2922bf
cmp ebx, 0x30eece3c
jne 0x37f2922f7
xor r13d, r13d
mov ebx, r13d
shl rbx, 4
add rbx, qword [0x37f2a12e0]
cmp qword [rbx], 0
je 0x37f292382
mov rcx, rbp
call fcn.37f29a950
mov eax, eax
cmp rax, qword [rbx]
jne 0x37f2922f2
mov rax, qword [rbx + 8]
jmp 0x37f2923c4
inc r13d
jmp 0x37f2922c2
xor r8d, r8d
mov edx, 6
mov rcx, r12
call fcn.37f29a8f0
mov r8, rax
mov eax, 0xec6ba2a8
cmp r8, rax
jne 0x37f292382
lea rdx, [0x37f2a12c0]
lea rcx, [rsp + 0x46]
call fcn.37f29db90
mov rbx, rax
mov rcx, rax
call fcn.37f29db50
mov rcx, rbx
mov rbp, rax
call fcn.37f29b760
mov r13, rax
test rax, rax
je 0x37f292382
lea rbx, [rbx + rbp + 1]
mov rcx, rbx
call fcn.37f29db50
xor r8d, r8d
mov qword [rsp + 0x38], rbx
mov rcx, r13
mov word [rsp + 0x30], ax
inc eax
lea rdx, [rsp + 0x30]
lea r9, [rsp + 0x28]
mov word [rsp + 0x32], ax
mov rax, qword [0x37f2a1300]
call qword [rax + 0x272]
test eax, eax
jns 0x37f2923bf
mov ecx, 0x14
call fcn.37f29bd10
mov edx, 0x99
mov rcx, rax
mov r13, rax
call fcn.37f29bbf0
mov rcx, r12
call fcn.37f29db50
mov rdx, r12
mov rcx, r13
mov r8, rax
call fcn.37f29bb70
xor r8d, r8d
xor edx, edx
mov rcx, r13
call fcn.37f29be80
mov rax, qword [rsp + 0x28]
add rsp, 0x448
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x37f29a810
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x37f29cda0
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x37f29cda0
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x37f29cda0
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x37f29a8d1
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x37f29cda0
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.37f29a950
cmp eax, 0xa6caa1c5
jne 0x37f29a8bd
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x37f29cda0
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x37f29cda0
mov rcx, r13
inc rsi
call fcn.37f29a950
cmp eax, 0xffe885ef
jne 0x37f29a861
jmp 0x37f29a88e
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x37f29cdec
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x37f29cdea
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x37f29cde2
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x37f29cde2
mov edx, dword [rdx + 0x14]
sub edx, r8d
add eax, edx
ret
inc ecx
add rdx, 0x28
jmp 0x37f29cdbe
xor eax, eax
ret

Function at 0x37f29a8f0
Capabilities:
Hash data using djb2

Disassembly:
mov r9, rcx
mov r10, rdx
xor eax, eax
test rcx, rcx
je 0x37f29a942
mov edx, 0x1505
mov al, byte [rcx]
test r10, r10
jne 0x37f29a90f
test al, al
jne 0x37f29a920
jmp 0x37f29a940
mov r11d, ecx
sub r11d, r9d
cmp r10, r11
jbe 0x37f29a940
cmp al, 1
adc rcx, 0
cmp al, 0x60
jbe 0x37f29a92c
test r8d, r8d
je 0x37f29a92c
sub eax, 0x20
mov r11d, edx
movzx eax, al
inc rcx
shl r11d, 5
add eax, r11d
add edx, eax
jmp 0x37f29a902
mov eax, edx
ret

Function at 0x37f29a950
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
movsx edx, byte [rcx]
inc rcx
test dl, dl
je 0x37f29a96d
mov r8d, eax
shl r8d, 5
add edx, r8d
add eax, edx
jmp 0x37f29a955
ret
Function at 0x37f29b530
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rsi
xor eax, eax
push rbx
mov r8b, byte [rdx + rax]
mov byte [rcx + rax], r8b
mov r8b, byte [rdx + rax + 1]
mov byte [rcx + rax + 1], r8b
mov r8b, byte [rdx + rax + 2]
mov byte [rcx + rax + 2], r8b
mov r8b, byte [rdx + rax + 3]
mov byte [rcx + rax + 3], r8b
add rax, 4
cmp rax, 0x20
jne 0x37f29b534
mov r11d, 8
lea r10, str.cw
lea rbx, [0x37f2a11a0]
mov esi, r11d
movzx r9d, byte [rcx + 0x1c]
movzx r8d, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1e]
movzx eax, byte [rcx + 0x1f]
and esi, 7
jne 0x37f29b5b2
mov sil, byte [r10 + r8]
mov r8b, byte [r10 + rdx]
mov dl, byte [r10 + rax]
mov al, byte [r10 + r9]
mov r9d, r11d
shr r9d, 3
xor sil, byte [rbx + r9]
mov r9d, esi
jmp 0x37f29b5c7
cmp esi, 4
jne 0x37f29b5c7
mov r9b, byte [r10 + r9]
mov r8b, byte [r10 + r8]
mov dl, byte [r10 + rdx]
mov al, byte [r10 + rax]
xor r9b, byte [rcx]
xor r8b, byte [rcx + 1]
inc r11d
add rcx, 4
xor dl, byte [rcx - 2]
xor al, byte [rcx - 1]
mov byte [rcx + 0x1c], r9b
mov byte [rcx + 0x1d], r8b
mov byte [rcx + 0x1e], dl
mov byte [rcx + 0x1f], al
cmp r11d, 0x3c
jne 0x37f29b578
pop rbx
pop rsi
ret

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

Disassembly:
push r15
xor r15d, r15d
push r14
push r13
push r12
mov r12, rcx
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rax, dword [rcx + 0x3c]
mov dword [rsp + 0xa8], edx
mov qword [rsp + 0x38], 0
add rax, rcx
mov qword [rsp + 0x40], 0
mov ebx, dword [rax + 0x88]
mov qword [rsp + 0x48], 0
mov eax, dword [rax + 0x8c]
add rbx, rcx
mov esi, dword [rbx + 0x20]
mov r13d, dword [rbx + 0x1c]
mov dword [rsp + 0x2c], eax
mov r14d, dword [rbx + 0x24]
cmp dword [rbx + 0x18], r15d
jbe 0x37f29b705
mov edi, r15d
lea rax, [r12 + rdi*4]
mov ebp, dword [rax + rsi]
add rbp, r12
mov rcx, rbp
call fcn.37f29a950
cmp eax, dword [rsp + 0xa8]
jne 0x37f29b709
add rdi, rdi
add rdi, r12
movzx eax, word [rdi + r14]
lea rax, [r12 + rax*4]
mov eax, dword [rax + r13]
add rax, r12
mov qword [rsp + 0x38], rax
cmp rax, rbx
jae 0x37f29b6bc
mov rax, qword [rsp + 0x38]
jmp 0x37f29b711
mov esi, dword [rsp + 0x2c]
add rsi, r12
add rbx, rsi
cmp rax, rbx
jae 0x37f29b6b5
mov rcx, rbp
call fcn.37f29db50
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rcx, r12
mov word [rsp + 0x40], ax
inc eax
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x38]
mov word [rsp + 0x42], ax
mov rax, qword [0x37f2a1300]
call qword [rax + 0x272]
test eax, eax
jns 0x37f29b6b5
xor eax, eax
jmp 0x37f29b711
inc r15d
jmp 0x37f29b66d
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x37f29cc90
Capabilities:
Enumerate pe sections

Disassembly:
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
movzx eax, word [r8 + 0x14]
mov r10w, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
xor r8d, r8d
cmp r10w, r8w
je 0x37f29ccd9
mov r9d, dword [rax + 0xc]
cmp r9d, edx
ja 0x37f29ccd0
mov r11d, dword [rax + 8]
add r11d, r9d
cmp r11d, edx
jbe 0x37f29ccd0
mov eax, dword [rax + 0x14]
sub eax, r9d
add eax, edx
add rax, rcx
ret
inc r8d
add rax, 0x28
jmp 0x37f29cca9
xor eax, eax
ret
Function at 0x37f29cda0
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
mov r12, rcx
push rbp
mov rdx, r12
push rdi
push rsi
xor esi, esi
push rbx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov ecx, dword [rcx + rax + 0x88]
call 0x37f29cda0
mov rdx, r12
mov ebx, eax
add rbx, r12
mov ecx, dword [rbx + 0x20]
call 0x37f29cda0
mov ecx, dword [rbx + 0x24]
mov rdx, r12
mov ebp, eax
call 0x37f29cda0
mov r15d, dword [rbx + 0x18]
add rbp, r12
mov edi, eax
add rdi, r12
lea r14, [rsi + rsi]
add r14, rdi
cmp r15, rsi
je 0x37f29a8d1
mov ecx, dword [rbp + rsi*4]
mov rdx, r12
call 0x37f29cda0
mov r13d, eax
add r13, r12
mov rcx, r13
call fcn.37f29a950
cmp eax, 0xa6caa1c5
jne 0x37f29a8bd
mov ecx, dword [rbx + 0x1c]
mov rdx, r12
call 0x37f29cda0
movzx edx, word [r14]
mov eax, eax
add rax, r12
mov ecx, dword [rax + rdx*4]
add rsp, 0x28
mov rdx, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x37f29cda0
mov rcx, r13
inc rsi
call fcn.37f29a950
cmp eax, 0xffe885ef
jne 0x37f29a861
jmp 0x37f29a88e
add rsp, 0x28
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, ecx
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
cmp dword [rdx + 0x14], eax
ja 0x37f29cdec
mov r9w, word [rcx + 6]
xor ecx, ecx
cmp r9w, cx
je 0x37f29cdea
mov r8d, dword [rdx + 0xc]
cmp eax, r8d
jb 0x37f29cde2
mov r10d, dword [rdx + 0x10]
add r10d, r8d
cmp r10d, eax
jbe 0x37f29cde2
mov edx, dword [rdx + 0x14]
sub edx, r8d
add eax, edx
ret
inc ecx
add rdx, 0x28
jmp 0x37f29cdbe
xor eax, eax
ret
Function at 0x37f29ddd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
mov r14, rdx
mov edx, 0x180024b6
push r13
push r12
xor r12d, r12d
push rbp
push rdi
push rsi
push rbx
mov rbx, rcx
sub rsp, 0x178
mov rbp, qword [0x37f2a1300]
lea rdi, [rsp + 0x7c]
mov rcx, qword [rbp + 0x722]
call fcn.37f29b610
mov ecx, 0x3d
mov byte [rsp + 0x6b], 0xbb
mov r8, rax
xor eax, eax
mov word [rsp + 0x69], 0x4900
rep stosd dword [rdi], eax
lea rax, [r8 + 0x12]
mov rcx, rbx
mov qword [rsp + 0x6c], 0
mov qword [rsp + 0x50], rax
movsxd rax, dword [rbx + 0x3c]
mov qword [rsp + 0x74], 0
mov edx, dword [rbx + rax + 0x88]
call fcn.37f29cc90
mov rsi, rax
mov eax, dword [rax + 0x18]
mov edx, dword [rsi + 0x1c]
mov dword [rsp + 0x34], eax
call fcn.37f29cc90
mov edx, dword [rsi + 0x20]
mov qword [rsp + 0x38], rax
call fcn.37f29cc90
mov edx, dword [rsi + 0x24]
mov qword [rsp + 0x40], rax
call fcn.37f29cc90
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
xor edx, edx
mov qword [rsp + 0x48], rax
mov r8d, 0x10000
or rcx, 0xffffffffffffffff
call qword [rbp + 0x102]
test rax, rax
je 0x37f29dfd2
mov dword [rsp + 0x30], 0
mov rbp, rax
lea r15, [rsp + 0x6c]
mov esi, dword [rsp + 0x34]
cmp dword [rsp + 0x30], esi
jae 0x37f29dfd2
cmp r12d, 0x3ff
ja 0x37f29dfd2
mov rax, qword [rsp + 0x40]
mov edi, dword [rsp + 0x30]
mov rcx, rbx
mov edx, dword [rax + rdi*4]
call fcn.37f29cc90
cmp word [rax], 0x775a
mov rsi, rax
jne 0x37f29dfc9
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + rdi*2]
mov rdi, qword [rsp + 0x38]
mov edx, dword [rdi + rax*4]
call fcn.37f29cc90
mov r9d, 3
mov edx, 0x40
lea r8, [0x37f2a116a]
mov rcx, rax
mov r13, rax
call fcn.37f299a50
add rax, 3
mov qword [rsp + 0x58], rax
je 0x37f29dfc9
mov rcx, rsi
mov rdi, r15
call fcn.37f29db50
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, r15
mov word [rsp + 0x6c], 0x744e
mov rsi, r13
call fcn.37f29a950
mov r9d, r12d
mov edx, r12d
inc r12d
shl r9, 4
mov eax, eax
shl edx, 6
mov qword [r14 + r9 + 8], rax
mov rax, qword [rsp + 0x58]
mov r8d, edx
add r8, rbp
sub rax, r13
mov rdi, r8
lea rcx, [rax - 0xd]
lea eax, [rdx + 7]
rep movsb byte [rdi], byte [rsi]
mov cx, word [rsp + 0x69]
mov rdi, qword [rsp + 0x50]
mov word [rbp + rax], cx
mov cl, byte [rsp + 0x6b]
mov byte [rbp + rax + 2], cl
lea eax, [rdx + 0xa]
add edx, 0x12
mov rcx, r15
mov qword [rbp + rax], rdi
mov dword [rbp + rdx], 0xc3e3ff41
xor edx, edx
mov qword [r14 + r9], r8
mov r8d, 0x104
call fcn.37f29b8d0
inc dword [rsp + 0x30]
jmp 0x37f29deb9
add rsp, 0x178
mov eax, r12d
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400031b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000320d
lea rbx, [0x140055080]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400031f4
cmp r10, 2
jb 0x1400031f4
cmp byte [r9], r8b
jne 0x1400031f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400031d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000324f
lea rbx, [0x140055080]
cmp r8b, 0x23
jne 0x140003233
cmp byte [r9], r8b
jne 0x140003233
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003220
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003390
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400033aa
mov qword [r8], 0
lea rdx, [0x140054cf4]
call fcn.140003260
mov rbx, rax
test rax, rax
jne 0x1400033ca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400034a1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400034a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400034a1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400034a1
cmp rdi, 0xffffffffffffffff
je 0x1400034a1
mov rax, qword [0x1400637c0]
test rax, rax
je 0x14000343e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400034a1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000348e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400637c0]
test rax, rax
je 0x140003483
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400034aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000349c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400034ac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret