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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, 0x5a4d
mov rbp, rdx
mov r8, rcx
cmp word [rcx], ax
jne 0x180047e50
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x180047e50
mov esi, dword [rax + rcx + 0x8c]
test rsi, rsi
je 0x180047e50
mov ebx, dword [rax + rcx + 0x88]
test rbx, rbx
je 0x180047e50
mov edi, dword [rbx + rcx + 0x20]
xor r10d, r10d
mov r14d, dword [rbx + rcx + 0x24]
add rdi, rcx
mov r15d, dword [rbx + rcx + 0x1c]
add r14, rcx
mov r9d, dword [rbx + rcx + 0x18]
add r15, rcx
test r9, r9
je 0x180047e50
nop dword [rax]
mov r11, r9
mov rax, rbp
sub r11, r10
shr r11, 1
add r11, r10
mov edx, dword [rdi + r11*4]
add rdx, r8
sub rdx, rbp
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + rdx]
jne 0x180047e33
inc rax
test cl, cl
jne 0x180047e20
xor ecx, ecx
jmp 0x180047e38
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x180047e6b
lea rax, [r11 + 1]
cmovle r9, r11
cmovle rax, r10
mov r10, rax
cmp r9, rax
jne 0x180047e00
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
movzx eax, word [r14 + r11*2]
mov ecx, dword [r15 + rax*4]
cmp rcx, rbx
jb 0x180047e83
mov eax, ecx
sub rax, rbx
cmp rax, rsi
jb 0x180047e50
lea rax, [rcx + r8]
jmp 0x180047e52
Function at 0x180050cd4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800685e0
sub rsp, rax
mov rax, qword [0x18008e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18005d07c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180050d23
mov rax, rbp
jmp 0x180050e2b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xdd2c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18005d30c
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xdd2c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180050e27
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180050e27
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18005d30c
test rax, rax
js 0x180050e27
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180050e27
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180050e19
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180050e19
cmp byte [rcx], 0xd
jne 0x180050dff
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180050e0e
cmp byte [rcx + 1], 0xa
jne 0x180050e0e
inc rcx
jmp 0x180050e0e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x8e3a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180050de1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180050e2b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800497a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x18005a6bc
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18005a72b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18005a72b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18005a72b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18005a72b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18005a72b
cmp dword [rcx + 0x84], 0xe
jbe 0x18005a72b
cmp dword [rcx + 0xf8], 0
je 0x18005a72b
mov ecx, ebx
call fcn.18005a7dc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18005a5b8
nop
cmp dword [rbp + 0x20], 0
je 0x18005a779
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18005a784
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18005a6bc
Function at 0x18005d3b8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800dd2c0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18005d40f
cmp word [rdx], r13w
jne 0x18005d40f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18005d414
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18005d539
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18005d55a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18005d44d
mov rdx, r9
mov word [rbx], cx
jmp 0x18005d474
cmp r9, r8
jae 0x18005d484
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18005d42e
jmp 0x18005d539
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18005d52e
cmp dword [rsp + 0x80], esi
je 0x18005d52e
lea r8, [0x1800dd2c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18005d506
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18005d4d6
mov word [rbx], r13w
jmp 0x18005d536
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18005d4e3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18005d536
cmp word [rsp + 0x70], r13w
jne 0x18005d513
cmp rbx, r14
je 0x18005d4d0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18005d314
cmp word [rsp + 0x70], r13w
je 0x18005d539
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800dd2c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18005d533
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18005d539
Function at 0x18005f518
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18005f52e
mov al, 1
jmp 0x18005f58e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18005f53f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18005f58c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800641a8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005f58c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18005f58c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18005f58c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18005f58e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180062980
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800629b0
xor eax, eax
jmp 0x180062a73
mov rbp, rbx
cmp word [rax], si
je 0x1800629d5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800629bc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800629b8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800628a0
movsxd r14, eax
test eax, eax
jne 0x180062a13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800629a9
mov rcx, r14
call fcn.18005f7b4
mov rdi, rax
test rax, rax
jne 0x180062a2c
xor ecx, ecx
call fcn.18005c498
jmp 0x180062a08
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800628a0
test eax, eax
jne 0x180062a5d
mov rcx, rdi
call fcn.18005c498
jmp 0x180062a67
xor ecx, ecx
call fcn.18005c498
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180067328
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.18005d314
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18005d314
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180067478
cmp rax, 0xffffffffffffffff
je 0x180067478
xor edi, edi
test rbp, rbp
jle 0x180067423
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18005c420
mov rbx, rax
test rax, rax
jne 0x1800673b0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180067419
mov edx, 0x8000
mov ecx, r14d
call fcn.1800671ac
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18005ed14
cmp eax, 0xffffffff
je 0x1800673f9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800673c0
mov edx, r15d
mov ecx, r14d
call fcn.1800671ac
jmp 0x180067419
cmp byte [rsi + 0x38], dil
je 0x180067410
cmp dword [rsi + 0x34], 5
jne 0x180067410
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180067419
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18005c498
jmp 0x18006748c
jns 0x18006748c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18005d314
cmp rax, 0xffffffffffffffff
jne 0x180067444
cmp byte [rsi + 0x30], dil
je 0x18006748c
mov edi, dword [rsi + 0x2c]
jmp 0x18006748c
mov ecx, r14d
call fcn.1800641a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18006748c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18006748c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180067485
mov eax, dword [rsi + 0x2c]
jmp 0x18006748a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18005d314
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180068510
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180068538
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180068538
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140647058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406471df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140647089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14064706f
add dl, dl
jne 0x140647096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406470f6
xor eax, eax
add dl, dl
jne 0x1406470a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406471ad
add dl, dl
jne 0x1406470b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406470c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406470d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406470dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406470ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14064707e
mov eax, 1
add dl, dl
jne 0x140647106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140647113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406470fb
sub eax, ebx
mov ebx, 1
jne 0x14064714c
mov ecx, 1
add dl, dl
jne 0x14064712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14064713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140647123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140647168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140647175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14064715d
cmp eax, 0x7d00
jae 0x14064719b
cmp eax, 0x500
jb 0x140647196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064707e
cmp eax, 0x7f
ja 0x14064719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14064707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406471d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14064707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180004eed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x148
lea rax, reloc.WS2_32.dll_htonl
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x28]
call fcn.180005689
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
mov eax, eax
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 0xc]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0x5c]
call fcn.18000556d
mov qword [rsp + 0xd8], rax
mov r8d, 0x104
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [rsp + 0xd8]
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x14]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x48]
movzx ecx, cx
cmp eax, ecx
je 0x180004fd5
mov eax, dword [rsp + 0x50]
xor ecx, ecx
mov rdx, qword [rsp + 0x70]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
jmp 0x180004f9a
mov dword [rsp + 0x60], 0

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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*8 + 0x88]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
and al, 0x28

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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax*8 + 0x88]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
and al, 0x28
Function at 0x180005689
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
je 0x180005716
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x60]
call fcn.180004e49
cmp dword [rsp + 0x60], eax
jne 0x180005707
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
jmp 0x180005718
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
jmp 0x1800056d2
xor eax, eax
add rsp, 0x58
ret

Function at 0x18000d480
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [rcx + 0x50]
call sym.VBoxRT.dll_RTTlsGet
mov rbx, rax
test rax, rax
jne 0x18000d5b6
call sym.VBoxRT.dll_RTThreadIsSelfAlive
test al, al
jne 0x18000d4be
lea rax, [rsi + 0x78]
jmp 0x18000d5bd
mov rcx, qword [rsi + 0x50]
lea rbx, [rsi + 0x78]
mov rdx, rbx
call sym.VBoxRT.dll_RTTlsSet
test eax, eax
js 0x18000d5b6
lea rdx, str.D:_tinderboxwin_4.2_srcVBoxRuntimecommon_allocmemtracker.cpp
mov ecx, 0x100
call sym.VBoxRT.dll_RTMemAllocZTag
mov rdi, rax
test rax, rax
je 0x18000d5b6
mov r9d, 1
lea rcx, [rax + 0x18]
xor r8d, r8d
lea edx, [r9 + 6]
mov qword [rsp + 0x20], 0
call sym.VBoxRT.dll_RTCritSectInitEx
test eax, eax
js 0x18000d5ae
mov qword [rdi], rdi
mov qword [rdi + 8], rdi
lea rax, [rdi + 0x48]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rdi + 0x10], rsi
mov dword [rdi + 0x58], 1
call sym.VBoxRT.dll_RTThreadSelfName
test rax, rax
je 0x18000d555
lea rcx, [rdi + 0xe0]
mov r8, rax
mov edx, 0x20
call sym.VBoxRT.dll_RTStrCopy
mov rcx, qword [rsi + 0x50]
mov rdx, rdi
call sym.VBoxRT.dll_RTTlsSet
test eax, eax
js 0x18000d5a5
lea rcx, [rsi + 8]
call sym.VBoxRT.dll_RTCritSectEnter
mov eax, dword [rsi + 0x48]
lea rdx, [rsi + 0x38]
mov dword [rdi + 0x5c], eax
inc dword [rsi + 0x48]
mov rax, qword [rdx + 8]
mov qword [rax], rdi
mov rax, qword [rdx + 8]
mov qword [rdi], rdx
mov qword [rdi + 8], rax
mov qword [rdx + 8], rdi
inc dword [rsi + 0x20c]
lea rcx, [rsi + 8]
call sym.VBoxRT.dll_RTCritSectLeave
mov rax, rdi
jmp 0x18000d5bd
lea rcx, [rdi + 0x18]
call sym.VBoxRT.dll_RTCritSectDelete
mov rcx, rdi
call sym.VBoxRT.dll_RTMemFree
lock inc dword [rbx + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18000f1e0
Capabilities:
Compute adler32 checksum

Disassembly:
sub rsp, 8
mov r10d, ecx
mov r11, rdx
movzx r9d, cx
shr r10d, 0x10
cmp r8, 0x40
jae 0x18000f24a
test r8, r8
je 0x18000f4c7
movzx eax, byte [r11]
inc r11
add r9d, eax
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
add r10d, r9d
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
dec r8
jne 0x18000f201
shl r10d, 0x10
or r10d, r9d
mov eax, r10d
add rsp, 8
ret
mov rax, rdx
and eax, 3
dec rax
je 0x18000f264
dec rax
je 0x18000f29b
dec rax
je 0x18000f2d3
jmp 0x18000f30b
movzx eax, byte [rdx]
add r9d, eax
mov eax, 0x80078071
inc r11
mul r9d
shr edx, 0xf
mov eax, 0x80078071
imul edx, edx, 0xffff000f
add r9d, edx
add r10d, r9d
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
dec r8
movzx eax, byte [r11]
inc r11
add r9d, eax
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
add r10d, r9d
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
dec r8
movzx eax, byte [r11]
inc r11
add r9d, eax
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
add r10d, r9d
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
dec r8
cmp r8, 4
jb 0x18000f418
mov qword [rsp], rbx
mov rbx, r8
shr rbx, 2
mov rax, rbx
imul rax, rax, 0xfffffffffffffffc
add r8, rax
nop word [rax + rax]
mov ecx, dword [r11]
add r11, 4
movzx eax, cl
add r9d, eax
mov eax, 0x80078071
mul r9d
mov eax, ecx
shr eax, 8
shr edx, 0xf
movzx eax, al
imul edx, edx, 0xffff000f
add r9d, edx
add r10d, r9d
add r9d, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
mov eax, 0x80078071
imul edx, edx, 0xffff000f
add r9d, edx
mul r10d
mov eax, r9d
shr edx, 0xf
imul edx, edx, 0xfff1
sub eax, edx
add r10d, eax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
add r9d, eax
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
mul r10d
mov eax, r9d
add r9d, ecx
shr edx, 0xf
imul edx, edx, 0xfff1
sub eax, edx
add r10d, eax
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
mul r10d
mov eax, r9d
shr edx, 0xf
imul edx, edx, 0xfff1
sub eax, edx
add r10d, eax
mov eax, 0x80078071
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
dec rbx
jne 0x18000f330
mov rbx, qword [rsp]
dec r8
je 0x18000f495
dec r8
je 0x18000f460
dec r8
jne 0x18000f4c7
movzx eax, byte [r11]
inc r11
add r9d, eax
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
add r10d, r9d
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
movzx eax, byte [r11]
inc r11
add r9d, eax
mov eax, 0x80078071
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
add r10d, r9d
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
movzx ecx, byte [r11]
mov eax, 0x80078071
add r9d, ecx
mul r9d
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
add r10d, r9d
mul r10d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r10d, edx
shl r10d, 0x10
or r10d, r9d
mov eax, r10d
add rsp, 8
ret
Function at 0x18000f4f0
Capabilities:
Compute adler32 checksum

Disassembly:
mov r8, rdx
mov rdx, rcx
mov ecx, 1
jmp sym.VBoxRT.dll_RTCrcAdler32Process

Function at 0x18000f500
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r9, rdx
mov r10, rcx
test rdx, rdx
je 0x18000f540
lea r11, [0x180237070]
nop word [rax + rax]
movzx eax, byte [r10]
mov rcx, r8
inc r10
xor rax, r8
shr rcx, 8
movzx edx, al
mov r8, qword [r11 + rdx*8]
xor r8, rcx
dec r9
jne 0x18000f520
mov rax, r8
ret

Function at 0x18000f560
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
test r8, r8
je 0x18000f590
lea r10, [0x180237070]
nop
movzx eax, byte [rdx]
inc rdx
xor rax, rcx
movzx r8d, al
mov rax, rcx
mov rcx, qword [r10 + r8*8]
shr rax, 8
xor rcx, rax
dec r9
jne 0x18000f570
mov rax, rcx
ret

Function at 0x18000ff50
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
xor eax, eax
mov rbx, rdx
mov rsi, rcx
mov dword [rsp + 0x74], eax
mov eax, 0x200000
mov rbp, r8
cmp rdx, rax
mov dword [rsp + 0x60], 0x67452301
mov dword [rsp + 0x64], 0xefcdab89
cmovbe eax, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, eax
mov dword [rsp + 0x68], 0x98badcfe
mov qword [rsp + 0x6c], 0x10325476
mov edi, eax
call sym.VBoxRT.dll_RTMd5Update
cmp rdi, rbx
je 0x18000ffe8
nop dword [rax]
sub rbx, rdi
mov eax, 0x200000
add rsi, rdi
cmp rbx, rax
lea rcx, [rsp + 0x20]
mov rdx, rsi
cmovbe eax, ebx
mov r8d, eax
mov edi, eax
call sym.VBoxRT.dll_RTMd5Update
cmp rdi, rbx
jne 0x18000ffc0
lea rdx, [rsp + 0x20]
mov rcx, rbp
call sym.VBoxRT.dll_RTMd5Final
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret