joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140062dd0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140062dee
mov dword [rbx], eax
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140066450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r10, qword [r8 + 0x18]
mov rdi, r9
mov rbp, qword [r8 + 0x10]
mov r14, r8
mov r12, rdx
mov r15, rcx
cmp r10, 0x10
jb 0x140066486
mov r9, qword [r8]
jmp 0x140066489
mov r9, r14
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test rbp, rbp
je 0x1400664c4
movabs r8, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor rdx, rax
imul rdx, r8
cmp rcx, rbp
jb 0x1400664b0
mov r8, qword [r15 + 0x30]
mov rax, qword [r15 + 0x18]
and r8, rdx
mov rbx, qword [r15 + 8]
shl r8, 4
mov qword [rsp + 0x50], r8
mov r13, qword [rax + r8]
cmp r13, rbx
je 0x1400664ed
mov rbx, qword [rax + r8 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x58], rsi
cmp rbx, r13
je 0x1400665a8
nop dword [rax + rax]
mov rbx, qword [rbx + 8]
cmp qword [rbx + 0x28], 0x10
jb 0x140066511
mov rdx, qword [rbx + 0x10]
jmp 0x140066515
lea rdx, [rbx + 0x10]
cmp r10, 0x10
jb 0x140066520
mov rcx, qword [r14]
jmp 0x140066523
mov rcx, r14
mov rsi, qword [rbx + 0x20]
cmp rbp, rsi
mov r8, rsi
cmovb r8, rbp
test r8, r8
je 0x14006653f
call fcn.1402e2d90
test eax, eax
jne 0x140066546
cmp rbp, rsi
jb 0x140066546
jbe 0x140066551
cmp rbx, r13
je 0x1400665a3
mov r10, qword [r14 + 0x18]
jmp 0x140066500
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r15 + 0x10]
mov rsi, qword [rdi + 0x30]
test rsi, rsi
je 0x140066583
mov rcx, rsi
call fcn.140065e80
mov rcx, rsi
call fcn.1402dfaa0
lea rcx, [rdi + 0x10]
call fcn.14035c440
mov rcx, rdi
call fcn.1402dfaa0
mov qword [r12], rbx
mov byte [r12 + 8], 0
jmp 0x140066639
mov r8, qword [rsp + 0x50]
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400665dd
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rcx, qword [rax + 8]
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r15 + 0x18]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r15 + 8]
jne 0x1400665fb
mov qword [rdx], rdi
mov rax, qword [r15 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x140066627
cmp rax, rbx
jne 0x140066605
mov qword [rdx], rdi
jmp 0x140066627
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x140066627
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r15
call fcn.140067770
mov qword [r12], rdi
mov byte [r12 + 8], 1
mov rsi, qword [rsp + 0x58]
mov rax, r12
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140069c80
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x44], eax
mov rbx, r8
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov qword [rsp + 0x3c], 0x10325476
call fcn.14006a500
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140069b10
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1402e0100
add rsp, 0xa0
pop rbx
ret

Function at 0x14006b020
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r9
mov r10, rcx
movzx r9d, byte [r8]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov r11, r8
xor r9, rax
mov rsi, rdx
movzx eax, byte [r8 + 1]
mov rbx, qword [r10 + 8]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [r10 + 0x18]
and r8, r9
shl r8, 4
mov rax, qword [rcx + r8]
cmp rbx, rax
je 0x14006b0be
mov rbx, qword [rcx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x14006b0be
mov ecx, dword [r11]
nop word [rax + rax]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x14006b114
cmp rbx, rax
jne 0x14006b0b0
mov rax, qword [rdi]
cmp rbx, rax
je 0x14006b0f3
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rcx, qword [rax + 8]
mov rdx, qword [rbx + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r10 + 0x18]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r10 + 8]
jne 0x14006b176
mov qword [rdx], rdi
mov rax, qword [r10 + 0x18]
mov qword [r8 + rax + 8], rdi
jmp 0x14006b1a2
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x14006b154
lea rdx, [r8 + 8]
or eax, 0xffffffff
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x14006b154
xor ecx, ecx
test rdx, rdx
cmovne rcx, r8
call fcn.1400d4b10
mov rcx, rdi
call fcn.1402dfaa0
mov rax, rsi
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp rax, rbx
jne 0x14006b180
mov qword [rdx], rdi
jmp 0x14006b1a2
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14006b1a2
mov rdx, qword [r10 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r10
call fcn.14006e100
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14006c370
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1404614e0]
test rax, rax
je 0x14006c3fb
cmp rax, 1
je 0x14006c392
mov rax, qword [0x1404614e0]
test rax, rax
je 0x14006c3fb
mov rax, qword [0x1404614e0]
test rax, 0xfffffffffffffffe
jne 0x14006c3eb
lea rcx, [0x1404614e0]
call fcn.140032990
test al, al
je 0x14006c3eb
xor eax, eax
lea rcx, [0x1404614e8]
xor edx, edx
mov qword [0x1404614e8], rax
mov dword [0x1404614f0], eax
call fcn.1400478a0
lea r9, [0x1404614e0]
xor r8d, r8d
lea rdx, [0x1404614e8]
lea rcx, [0x1404614e0]
call fcn.140032970
mov rcx, qword [0x1404614e0]
add rsp, 0x28
jmp fcn.140047b60
xor eax, eax
add rsp, 0x28
ret

Function at 0x140073750
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
lea rax, [rsp + 0x60]
mov edx, ecx
mov qword [rsp + 0x20], rax
xor ebx, ebx
xor ecx, ecx
xor r9d, r9d
mov word [rsp + 0x60], bx
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x1400737a7
xor al, al
jmp 0x140073803
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
cmp word [rsp + 0x60], bx
je 0x1400737cd
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400737c1
mov rbx, rax
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400262d0
mov rdx, rax
mov rcx, rdi
call fcn.140026430
lea rcx, [rsp + 0x40]
call fcn.140026350
mov al, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1402e0100
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140073830
Capabilities:
Get common file path

Disassembly:
mov rdx, rcx
mov ecx, 5
jmp fcn.140073750

Function at 0x140073a10
Capabilities:
Get common file path

Disassembly:
mov rdx, rcx
mov ecx, 0xd
jmp fcn.140073750

Function at 0x140073a20
Capabilities:
Get common file path

Disassembly:
mov rdx, rcx
mov ecx, 0x27
jmp fcn.140073750

Function at 0x140073a30
Capabilities:
Get common file path

Disassembly:
mov rdx, rcx
mov ecx, 0xe
jmp fcn.140073750
Function at 0x140076670
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, rdx
xor r8d, r8d
xor edx, edx
mov rsi, rcx
call fcn.140030890
mov ecx, 0xffffffff
cmp rax, rcx
jne 0x1400766a3
xor al, al
jmp 0x140076754
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x30]
xorps xmm0, xmm0
mov edi, 0x400
mov edx, edi
movdqu xmmword [rsp + 0x30], xmm0
call fcn.140012380
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov rbx, qword [rsp + 0x30]
mov r8, rbx
sub r8, rcx
add r8, rdi
call fcn.1402e2e70
lea rbp, [rbx + 0x400]
sub ebp, ebx
jmp 0x14007671e
test edi, edi
je 0x140076767
and dword [rsp + 0x80], 0
lea r9, [rsp + 0x80]
and qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140076733
cmp dword [rsp + 0x80], edi
jne 0x140076733
mov r8d, ebp
mov rdx, rbx
mov rcx, rsi
call fcn.1400307d0
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400766e8
xor dil, dil
test rbx, rbx
je 0x140076751
mov rdx, qword [rsp + 0x40]
mov r8d, 1
sub rdx, rbx
mov rcx, rbx
call fcn.14000d830
mov al, dil
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x140076736

Function at 0x140076f10
Capabilities:
Create process memory minidump

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xd8
mov rax, qword [0x14045d5f0]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rbx, qword [rbp + 0x6f]
mov r14d, edx
mov rdi, qword [rbp + 0x77]
xor edx, edx
mov r13, qword [rbp + 0x7f]
mov r15, r8
mov rsi, rcx
mov qword [rsp + 0x40], r9
lea rcx, [rbp - 0x45]
lea r8d, [rdx + 0x30]
call fcn.1402e2e70
movups xmm0, xmmword [rbx]
lea rax, [rbp - 0x49]
mov r12d, 1
movups xmm1, xmmword [rdi]
mov qword [rbp - 0x71], rax
mov rcx, r13
lea rax, [rbp - 0x79]
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x4c], rax
movdqu xmmword [rbp - 0x35], xmm0
mov dword [rbp - 0x79], 0x43500001
movdqu xmmword [rbp - 0x45], xmm1
mov dword [rbp - 0x75], 0x34
mov dword [rsp + 0x48], r12d
call fcn.140031c30
mov rcx, rsi
mov rdi, rax
call fcn.14002f190
mov rcx, rsi
mov ebx, eax
call fcn.14002f120
and qword [rsp + 0x30], 0
mov rcx, rax
lea rax, [rsp + 0x48]
mov r9d, r14d
mov qword [rsp + 0x28], rax
mov r8, rdi
mov edx, ebx
mov qword [rsp + 0x20], r15
call sub.dbghelp.dll_MiniDumpWriteDump
test eax, eax
je 0x140077051
xorps xmm0, xmm0
lea rcx, [rbp - 0x69]
xorps xmm1, xmm1
mov rdx, r13
movdqu xmmword [rbp - 0x69], xmm0
movdqu xmmword [rbp - 0x59], xmm1
call fcn.140076d80
test al, al
je 0x140077016
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x69]
call fcn.140076770
test al, al
jne 0x140077019
xor r12b, r12b
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14007704e
mov rdx, qword [rbp - 0x51]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rdx, rcx
imul rdx
sar rdx, 1
mov r8, rdx
shr r8, 0x3f
add rdx, r8
mov r8d, 0xc
call fcn.14000d830
mov al, r12b
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1402e0100
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140077470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov rsi, rdx
mov rbx, rcx
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
mov rax, qword [rcx]
mov edx, dword [rdx + 0x88]
call qword [rax + 8]
xor ebp, ebp
mov rdi, rax
test rax, rax
jne 0x1400774af
xor eax, eax
jmp 0x1400774e3
lea r8, [rsp + 0x30]
mov word [rsp + 0x30], bp
mov rdx, rsi
mov rcx, rbx
call fcn.140077640
test al, al
je 0x1400774ab
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rdi + 0x1c]
call qword [rax + 8]
mov ecx, dword [rdi + 0x10]
movzx edx, word [rsp + 0x30]
sub rdx, rcx
lea rax, [rax + rdx*4]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov rsi, rdx
mov rdi, rcx
test r8, r8
je 0x140077751
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov rax, qword [rdi]
mov edx, dword [rcx + 0x88]
mov rcx, rdi
call qword [rax + 8]
mov r13, rax
test rax, rax
je 0x140077751
cmp rsi, 0xffff
ja 0x1400776a6
mov word [r15], si
jmp 0x14007774d
mov rax, qword [rdi]
mov rcx, rdi
mov edx, dword [r13 + 0x20]
call qword [rax + 8]
mov ecx, dword [r13 + 0x18]
mov r12, rax
mov rbx, rax
lea rbp, [rax + rcx*4]
cmp rax, rbp
je 0x140077751
mov rcx, rbp
sub rcx, rbx
sar rcx, 2
test rcx, rcx
jns 0x1400776dc
inc rcx
mov rax, qword [rdi]
sar rcx, 1
lea r14, [rbx + rcx*4]
mov rcx, rdi
mov edx, dword [r14]
call qword [rax + 8]
mov cl, byte [rsi]
mov rdx, rsi
jmp 0x140077702
cmp cl, byte [rax]
jne 0x140077706
inc rdx
inc rax
mov cl, byte [rdx]
test cl, cl
jne 0x1400776f6
movzx eax, byte [rax]
movzx ecx, byte [rdx]
sub ecx, eax
je 0x140077724
test ecx, ecx
jle 0x14007771a
lea rbx, [r14 + 4]
jmp 0x14007771d
mov rbp, r14
cmp rbx, rbp
jne 0x1400776ca
jmp 0x140077727
mov rbx, r14
test ecx, ecx
jne 0x140077751
mov r8, qword [rdi]
mov rcx, rdi
mov edx, dword [r13 + 0x24]
call qword [r8 + 8]
sub rbx, r12
sar rbx, 2
movzx ecx, word [rax + rbx*2]
add cx, word [r13 + 0x10]
mov word [r15], cx
mov al, 1
jmp 0x140077753
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400777b0
Capabilities:
Parse pe header

Disassembly:
mov rdx, qword [rcx + 8]
mov eax, 0x5a4d
cmp word [rdx], ax
je 0x1400777c1
xor al, al
ret
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400777be
mov ecx, 0xf0
cmp word [rax + 0x14], cx
jne 0x1400777be
mov ecx, 0x20b
cmp word [rax + 0x18], cx
sete al
ret
Function at 0x1400929a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push r13
push r15
sub rsp, 0x50
mov r15, qword [rcx]
mov r10d, edx
mov rbx, rcx
test r15, r15
je 0x140092b83
movsxd rax, dword [rcx + 0x20]
xor r13d, r13d
lea rcx, [0x1403be610]
movzx r9d, byte [rax + rcx]
movsxd rax, dword [rbx + 0x18]
imul r9, rax
movsxd rax, r9d
cmp rax, r9
cmovne rax, r13
cmp qword [rbx + 8], rax
jb 0x140092b83
mov eax, dword [rbx + 0x18]
test eax, eax
jle 0x140092b83
mov ecx, dword [rbx + 0x1c]
test ecx, ecx
jle 0x140092b83
mov edx, dword [rbx + 0x28]
mov r11d, dword [rbx + 0x2c]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r11d
lea r9d, [rax + rdx]
mov dword [rsp + 0x40], r9d
lea eax, [rcx + r11]
mov dword [rsp + 0x44], eax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x20], xmm0
test r10d, r10d
jle 0x140092b83
test r8d, r8d
jle 0x140092b83
cmp edx, r9d
jge 0x140092b83
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
shr rax, 0x20
shr rcx, 0x20
cmp eax, ecx
jge 0x140092b83
cmp edx, r10d
jge 0x140092b83
test r9d, r9d
jle 0x140092b83
cmp eax, r8d
jge 0x140092b83
test ecx, ecx
jle 0x140092b83
mov qword [rsp + 0x70], rbp
test edx, edx
mov ebp, dword [rsp + 0x24]
mov qword [rsp + 0x78], rsi
mov esi, dword [rsp + 0x2c]
mov qword [rsp + 0x80], rdi
mov edi, dword [rsp + 0x28]
mov qword [rsp + 0x88], r14
mov r14d, dword [rsp + 0x20]
cmovs r14d, r13d
test ebp, ebp
cmovs ebp, r13d
cmp edi, r10d
cmovg edi, r10d
cmp esi, r8d
jle 0x140092aca
mov esi, r8d
movsxd rax, dword [rbx + 0x20]
lea rcx, [0x1403be610]
test edx, edx
cmovg edx, r13d
test r11d, r11d
movzx eax, byte [rax + rcx]
cmovg r11d, r13d
imul eax, edx
sub esi, ebp
sub edi, r14d
cdqe
sub r15, rax
movsxd rax, r11d
imul rax, qword [rbx + 8]
sub r15, rax
mov qword [rbx], r15
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140092b14
mov eax, 1
lock xadd dword [rdx + 8], eax
mov eax, dword [rbx + 0x20]
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x34], eax
mov qword [rbx + 0x10], rdx
test rcx, rcx
je 0x140092b42
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140092b42
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x34]
mov dword [rbx + 0x24], eax
mov al, 1
mov dword [rbx + 0x18], edi
mov rdi, qword [rsp + 0x80]
mov dword [rbx + 0x1c], esi
mov rsi, qword [rsp + 0x78]
mov dword [rbx + 0x28], r14d
mov r14, qword [rsp + 0x88]
mov dword [rbx + 0x2c], ebp
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop r15
pop r13
pop rbx
ret
xor al, al
add rsp, 0x50
pop r15
pop r13
pop rbx
ret
Function at 0x1400b7840
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1402f2140
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b7868
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b785b
cmp qword [rsp + 0x50], 0
jl 0x1400b785b
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor edx, edx
mov qword [rsp + 0x40], rdi
mov rcx, rbx
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
je 0x1400b78e0
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x1400b78e0
mov rax, qword [rsp + 0x50]
mov qword [rsi], rax
jmp 0x1400b78e2
xor edi, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.1402f21c0
test eax, eax
jns 0x1400b791a
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, rbx
mov ecx, eax
add rsp, 0x20
pop rbx
jmp 0x1400b7840

Function at 0x1400b7900
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
mov rsi, rdx
call fcn.1402f2140
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b7868
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b785b
cmp qword [rsp + 0x50], 0
jl 0x1400b785b
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor edx, edx
mov qword [rsp + 0x40], rdi
mov rcx, rbx
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
je 0x1400b78e0
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
je 0x1400b78e0
mov rax, qword [rsp + 0x50]
mov qword [rsi], rax
jmp 0x1400b78e2
xor edi, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
mov rax, rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.1402f21c0
test eax, eax
jns 0x1400b791a
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, rbx
mov ecx, eax
add rsp, 0x20
pop rbx
jmp 0x1400b7840
Function at 0x1400b7940
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rsi, r9
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1402f21c0
mov ecx, eax
call fcn.1402f2140
mov rcx, rax
cmp rbx, 0xffffffffffffffff
jne 0x1400b797a
or rax, rbx
jmp 0x1400b79e1
xor eax, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov edx, 0xffffffff
mov qword [rsp + 0x48], rax
mov eax, edi
mov dword [rsp + 0x40], esi
shr rsi, 0x20
cmp rax, rdi
mov dword [rsp + 0x44], esi
lea rax, [rsp + 0x30]
cmovne rdi, rdx
mov qword [rsp + 0x20], rax
mov r8d, edi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400b79d3
mov eax, dword [rsp + 0x60]
jmp 0x1400b79e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x26
neg eax
sbb rax, rax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400f2da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
push rsi
push r15
sub rsp, 0x60
cmp dword [rcx + 0x50], 0
movzx ebp, r8b
mov rsi, rcx
jle 0x1400f2f77
mov qword [rax + 0x10], rbx
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r14
test dl, dl
je 0x1400f2ec5
movss xmm0, dword [rcx + 4]
lea rdx, [rcx + 0x24]
movss xmm1, dword [rcx]
lea r9, [rcx + 0x3c]
mov byte [rax - 0x38], bpl
lea r8, [rcx + 0x2c]
movzx eax, byte [rcx + 0x54]
mov byte [rsp + 0x38], al
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x28], xmm1
mov qword [rsp + 0x20], rdx
lea rdx, [rcx + 0x68]
add rcx, 0x78
call qword [rsi + 0x60]
lea rcx, [rsi + 0x78]
call fcn.1400c7cf0
cmp byte [rsi + 0x55], 0
je 0x1400f2e87
mov rbx, qword [rsi + 0x68]
cmp byte [rbx + 0x60], 0
je 0x1400f2e3e
mov r8d, dword [rbx + 0x2c]
lea rcx, [rbx + 4]
mov rdx, qword [rbx + 0x18]
call fcn.140095f80
mov byte [rbx + 0x61], al
mov byte [rbx + 0x60], 0
mov rdi, qword [rsi + 0x78]
cmp byte [rdi + 0x60], 0
je 0x1400f2e60
mov r8d, dword [rdi + 0x2c]
lea rcx, [rdi + 4]
mov rdx, qword [rdi + 0x18]
call fcn.140095f80
mov byte [rdi + 0x61], al
mov byte [rdi + 0x60], 0
lea rdx, [rbx + 4]
lea rcx, [rdi + 4]
call fcn.14009c170
test al, al
jne 0x1400f2f65
lea rdx, [rsi + 0x78]
lea rcx, [rsi + 0x68]
call fcn.1400ca790
jmp 0x1400f2f65
lea rdx, [rsp + 0x80]
lea rcx, [rsi + 0x68]
call fcn.1400c9000
movss xmm2, dword [rsp + 0x84]
lea rcx, [rsi + 0x78]
movss xmm1, dword [rsp + 0x80]
call fcn.1400c9dd0
lea rdx, [rsi + 0x68]
lea rcx, [rsi + 0x78]
call fcn.1400ca3a0
jmp 0x1400f2f5c
lea rdi, [rcx + 0x68]
mov rcx, rdi
lea rdx, [rsp + 0x80]
call fcn.1400c9000
xor r14d, r14d
lea r8, [rsi + 0x1c]
test bpl, bpl
lea rdx, [rsi + 0x3c]
mov rax, rdi
lea r9, [rsp + 0x80]
cmove rax, r14
lea rcx, [rsi + 0x78]
mov qword [rsp + 0x20], rax
call qword [rsi + 0x58]
mov rdx, rdi
lea rcx, [rsi + 0x78]
call fcn.1400ca3a0
movss xmm0, dword [rsi + 0x14]
lea r9, [rsi + 0x44]
xorps xmm0, xmmword [0x1403bc8f0]
lea rdx, [rsi + 0x34]
cmp byte [rsi + 0x54], r14b
lea r8, [rsp + 0x98]
movss dword [rsp + 0x98], xmm0
lea rcx, [rsi + 0x78]
movss xmm0, dword [rsi + 0x18]
cmove rdi, r14
xorps xmm0, xmmword [0x1403bc8f0]
movss dword [rsp + 0x9c], xmm0
mov qword [rsp + 0x20], rdi
call qword [rsi + 0x58]
lea rcx, [rsi + 0x78]
call fcn.1400c7cf0
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x50]
lea rcx, [rsi + 0x68]
call fcn.1400ca510
lea rcx, [rsi + 0x78]
mov dword [rsi + 0x50], 0xffffffff
call fcn.1400c8760
mov dword [rsi + 0x4c], eax
add rsp, 0x60
pop r15
pop rsi
pop rbp
ret