joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140076ad0
Capabilities:
Write file on windows

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x20
mov rsi, qword [0x1402d5b40]
xor r15d, r15d
mov r14, rcx
mov dword [rsi + 0x36fc], r15d
test rcx, rcx
je 0x140076beb
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
lea rdi, [rsi + 0x3700]
mov dword [rsi + 0x36fc], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x140076b34
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.140077fc0
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x140076b4a
mov edx, 8
mov rcx, rdi
call fcn.140077fc0
movsxd rcx, dword [rdi]
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
mov rbx, qword [rsi + 0x3718]
movsxd rax, dword [rsi + 0x3710]
lea rcx, [rax + rax*8]
lea rbp, [rbx + rcx*8]
cmp rbx, rbp
je 0x140076b87
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call qword [rbx + gethostname]
add rbx, 0x48
cmp rbx, rbp
jne 0x140076b72
mov eax, dword [rdi]
lea rdx, [0x14029cac8]
test eax, eax
lea rdi, [0x1402d5b50]
lea ecx, [rax - 1]
mov rax, qword [rsi + 0x3708]
cmove ecx, r15d
test rax, rax
movsxd rbp, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.140060ac0
mov rbx, rax
test rax, rax
je 0x140076bdc
mov r9, rax
mov r8, rbp
mov edx, 1
mov rcx, rdi
call fcn.1401d68d4
mov rcx, rbx
call fcn.1401d1c80
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x140097270
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x1400972f7
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400972d0
lea r10, [0x14029ce40]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400972b3
cmp byte [r8], r9b
jne 0x1400972b3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x1400972a0
mov rcx, qword [0x1402d5b40]
not eax
cmp dword [rcx + 0x1240], eax
jne 0x1400972e7
mov dword [rcx + 0x1244], eax
cmp dword [rcx + 0x1270], eax
jne 0x140097322
mov byte [rcx + 0x1274], 1
ret
mov rax, qword [0x1402d5b40]
xor edx, edx
mov rax, qword [rax + 0x11e0]
movsxd rcx, dword [rax + 0xf0]
mov rax, qword [rax + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
jmp fcn.140060a10
ret
Function at 0x1400a3bc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0x50
mov rbp, r8
mov r15, rdx
mov r14, rcx
cmp rdx, r8
je 0x1400a3d9b
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r10
jb 0x1400a3c22
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x1400a3c54
nop dword [rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x1400a3c40
mov r12, qword [r14 + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140008940
mov edx, 0x30
mov rcx, rdi
call fcn.1401c94e0
dec qword [r14 + 0x10]
cmp rdi, qword [rsp + 0x30]
je 0x1400a3cb1
cmp rbx, rbp
jne 0x1400a3c70
cmp r13, r15
jne 0x1400a3d70
mov qword [r12], rbx
jmp 0x1400a3d70
cmp r13, r15
mov r13, qword [rsp + 0x28]
jne 0x1400a3cc4
mov qword [r12], r13
mov rax, r13
jmp 0x1400a3cc9
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x1400a3d70
nop word [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x1400a3cf2
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x1400a3d29
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x1400a3d10
mov r13, qword [rsp + 0x28]
mov r15, qword [r14 + 0x30]
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x38]
mov r12, qword [r15 + 8]
nop dword [rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140008940
mov edx, 0x30
mov rcx, rdi
call fcn.1401c94e0
dec qword [r14 + 0x10]
cmp rdi, r12
je 0x1400a3da8
cmp rbx, rbp
jne 0x1400a3d40
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
cmp rbx, rbp
jne 0x1400a3ce0
jmp 0x1400a3d70
Function at 0x1400a4eb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13c0
call fcn.1401ca2d0
sub rsp, rax
mov rax, qword [0x1402cf868]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov edi, edx
mov ebx, ecx
call fcn.1401a800c
mov dword [rsp + 0x24], eax
mov r9d, 1
mov r10d, 0x270
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, r10
jb 0x1400a4f03
lea eax, [rbx - 0x80000000]
mov dword [rsp + 0x20], r10d
mov ebp, 0x80000000
cmp ebx, ebp
lea esi, [rbx + rbp]
cmovae esi, eax
lea ebx, [rdi + rbp]
cmp edi, ebp
lea eax, [rdi - 0x80000000]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400a4fd2
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400a4f60
mov r10d, dword [rsp + 0x20]
mov ecx, dword [rsp + r10*4 + 0x24]
mov eax, ecx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov edx, ecx
shr edx, 0x12
xor edx, ecx
jmp 0x1400a5018
lea edi, [rbx + 1]
xor r9d, r9d
xor r8d, r8d
test ebx, ebx
je 0x1400a4ff2
lea rcx, [rsp + 0x20]
call fcn.1400a8540
mov r9d, eax
mov r8d, 0xffffffff
xor edx, edx
mov eax, r8d
div edi
xor edx, edx
mov ecx, eax
mov eax, r9d
div edi
cmp eax, ecx
jb 0x1400a5011
xor edx, edx
mov eax, r8d
div edi
cmp edx, ebx
jne 0x1400a4fd5
xor edx, edx
mov eax, r9d
div edi
add edx, esi
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1401c94c0
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a5980
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400a5a55
cmp qword [rbx + 0x18], 0x10
mov r8, rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
jb 0x1400a59b0
mov r8, qword [rbx]
xor eax, eax
xor edx, edx
mov dword [rsp + 0x28], eax
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
lea r9d, [rax - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
mov ecx, 2
mov rdx, rsi
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400a5a45
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
cmp qword [rbx + 0x18], 0x10
jb 0x1400a59fb
mov rbx, qword [rbx]
mov dword [rsp + 0x28], esi
mov r9d, 0xffffffff
mov r8, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x1400a5a45
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x1400a8540
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400a85a1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400a8560
mov ecx, dword [r10]
jmp 0x1400a868a
cmp ecx, 0x4e0
jb 0x1400a868a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400a85c0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400a8610
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400ab680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1402cf868]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov rcx, qword [0x1402d3590]
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400ab6c8
nop dword [rax]
cmp dword [rax + 0x20], 4
jge 0x1400ab6bc
mov rax, qword [rax + 0x10]
jmp 0x1400ab6c2
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400ab6b0
cmp byte [rcx + 0x19], 0
jne 0x1400ab7a4
cmp dword [rcx + 0x20], 4
jg 0x1400ab7a4
lea r8, [rcx + 0x28]
mov r10, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400ab6f1
mov rdx, qword [r8]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1400ab723
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r11
inc rcx
cmp rcx, r10
jb 0x1400ab710
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400ab0e0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400ab75e
cmp rcx, qword [rbx + 8]
je 0x1400ab75e
cmp qword [rbx + 0x10], 1
jne 0x1400ab762
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401c94c0
add rsp, 0x80
pop rbx
ret
xor al, al
jmp 0x1400ab748
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400ab7d0
nop
mov r8, rax
lea rdx, str.AcceptEncoding_does_not_accept_any_other_values_if_disabled_is_present._You_set_the_following_encodings:
lea rcx, [rsp + 0x58]
call fcn.14004d620
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400ab620
lea rdx, [0x1402cc660]
lea rcx, [rsp + 0x20]
call fcn.1401cb97c
nop
lea rcx, str.invalid_map_K__T__key
call fcn.1401a5ae8
int3
Function at 0x1400c0e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1400afad0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400c0e76
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400c0ecd
mov ebp, 0x4b0000
jmp 0x1400c0edb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1400b2060
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1400c0ef1
mov eax, r12d
jmp 0x1400c0efa
mov edx, edi
mov ecx, ebp
call fcn.1400b2060
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1400c0f16
shl esi, 0x10
mov ecx, esi
jmp 0x1400c1005
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400c0f74
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1400afad0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400c0f64
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1400b1f30
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1400afad0
add ebx, eax
jmp 0x1400c100e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400c0f81
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400c0fc0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1400afad0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1400c0fc5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1400b1f30
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1400afad0
add ebx, eax
jmp 0x1400c100e
cmp eax, r12d
jge 0x1400c0ffe
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1400afad0
sub ebp, eax
sub r15d, esi
je 0x1400c0ffe
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1400b1f30
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1400afad0
add ebx, eax
jmp 0x1400c100e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1400afad0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.1400afad0
Function at 0x140110cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1402cf868]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x140110e8c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x140110e8c
cmp r10d, r14d
jne 0x140110d90
sub rbx, 0x10
jmp 0x140110ed4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x140110e02
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x140110dc4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x140110dcc
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x140110deb
movzx edx, r11b
mov rcx, rsi
call fcn.140111db0
test al, al
jne 0x140110ee5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1401124d0
test al, al
jne 0x140110ee5
mov edx, dword [rsi + 0x64]
lea r9, [0x140112830]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x140110e2e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140110b70
jmp 0x140110e82
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.140110b70
test dil, dil
je 0x140110e7a
cmp byte [rsi + 0x6a], 0
jne 0x140110e7a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x140110ee5
sub rbx, 0x10
jmp 0x140110ed4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x140110ee9
mov ebp, dword [rbx]
jmp 0x140110d50
mov al, 1
jmp 0x140110ef2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401c94c0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x140110f20
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 r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
lea ebp, [r15 - 1]
mov dword [rcx + 0x3c], r15d
mov edi, r15d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x14011105b
mov esi, r15d
mov rax, qword [rbx + 0xd0]
lea edx, [rbp + 1]
mov dword [rbx + 0x88], r15d
mov r9d, r14d
mov qword [rbx + 0x80], r15
mov rcx, rbx
movsx ebp, word [rsi + rax]
mov r8d, ebp
call fcn.1401113f0
test al, al
jne 0x1401110f6
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
lea eax, [r8 - 1]
test edx, eax
jne 0x140110fef
cmp edx, dword [rbx + 0x60]
jl 0x140110fef
cmp edx, dword [rbx + 0x64]
jg 0x140110fef
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x140110fef
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x140110fef
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x140111012
test byte [r9 + 0x18], 8
je 0x140111012
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x140111023
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.140111db0
test al, al
jne 0x1401110f6
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x140111046
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc edi
add rsi, 2
cmp edi, eax
jl 0x140110f83
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1401110fa
test rdx, rdx
je 0x1401110fa
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x140111098
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x14011109b
mov r10, r15
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1401110b6
dec r11d
add r11d, eax
jmp 0x1401110cd
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1401120c0
test al, al
jne 0x1401110f6
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1401120c0
test al, al
jne 0x1401110f6
mov rdx, qword [rsi]
add di, bp
jne 0x140111080
jmp 0x1401110fe
mov al, 1
jmp 0x140111109
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1401171e0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1401171fc
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140117250
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140117375
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x140117375
test rax, rax
je 0x140117375
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x140117375
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1401172ea
lea rax, [0x1401173d0]
jmp 0x140117343
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x140117375
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140117363
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x140117310
lea rax, [0x1401173a0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x14011738a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret