joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003e680
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18003e6ba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18003e6bf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18003e708
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180063270]
cmp byte [rcx + rax], 0
je 0x18003e708
dec r8
sub rdx, 1
jne 0x18003e6ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x180041844
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180041844
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 0x1800418b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800418b3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800418b3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800418b3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800418b3
cmp dword [rcx + 0x84], 0xe
jbe 0x1800418b3
cmp dword [rcx + 0xf8], 0
je 0x1800418b3
mov ecx, ebx
call fcn.18004177c
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.1800419d8
nop
cmp dword [rbp + 0x20], 0
je 0x180041901
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180041810
int3

Function at 0x180047910
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180047938
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180047938
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180050b20
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.18003d390
sub rsp, rax
mov rax, qword [0x1800771c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18004fb80
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180050b6f
mov rax, rbp
jmp 0x180050c77
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 + 0x3398f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180050850
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x3398f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180050c73
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 0x180050c73
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180050850
test rax, rax
js 0x180050c73
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180050c73
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180050c65
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180050c65
cmp byte [rcx], 0xd
jne 0x180050c4b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180050c5a
cmp byte [rcx + 1], 0xa
jne 0x180050c5a
inc rcx
jmp 0x180050c5a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x77ca0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180050c2d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180050c77
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18003efd0
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 0x1800515c0
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 0x1800515f0
xor eax, eax
jmp 0x1800516b3
mov rbp, rbx
cmp word [rax], si
je 0x180051615
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800515fc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800515f8
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.18004afc4
movsxd r14, eax
test eax, eax
jne 0x180051653
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800515e9
mov rcx, r14
call fcn.18004aed4
mov rdi, rax
test rax, rax
jne 0x18005166c
xor ecx, ecx
call fcn.18004ae98
jmp 0x180051648
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.18004afc4
test eax, eax
jne 0x18005169d
mov rcx, rdi
call fcn.18004ae98
jmp 0x1800516a7
xor ecx, ecx
call fcn.18004ae98
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 0x180053440
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180053456
mov al, 1
jmp 0x1800534b6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180053467
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800534b4
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800591c4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800534b4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800534b4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800534b4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800534b6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180053dec
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, [0x1803398f0]
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 0x180053e43
cmp word [rdx], r13w
jne 0x180053e43
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180053e48
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180053f6d
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180053f8e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180053e81
mov rdx, r9
mov word [rbx], cx
jmp 0x180053ea8
cmp r9, r8
jae 0x180053eb8
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 0x180053e62
jmp 0x180053f6d
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 0x180053f62
cmp dword [rsp + 0x80], esi
je 0x180053f62
lea r8, [0x1803398f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180053f3a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180053f0a
mov word [rbx], r13w
jmp 0x180053f6a
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 0x180053f17
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180053f6a
cmp word [rsp + 0x70], r13w
jne 0x180053f47
cmp rbx, r14
je 0x180053f04
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800507ac
cmp word [rsp + 0x70], r13w
je 0x180053f6d
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, [0x1803398f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180053f67
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180053f6d
Function at 0x180058d50
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18004b104
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180058df1
cmp ebx, dword [rsp + 0x30]
je 0x180058dea
test esi, esi
je 0x180058dea
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180058dc5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180058dd2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180058daf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180058dd6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180058df3
mov eax, 1
jmp 0x180058df3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18005c230
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.1800507ac
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800507ac
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18005c380
cmp rax, 0xffffffffffffffff
je 0x18005c380
xor edi, edi
test rbp, rbp
jle 0x18005c32b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18004dd4c
mov rbx, rax
test rax, rax
jne 0x18005c2b8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18005c321
mov edx, 0x8000
mov ecx, r14d
call fcn.18005c0b4
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.180052220
cmp eax, 0xffffffff
je 0x18005c301
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18005c2c8
mov edx, r15d
mov ecx, r14d
call fcn.18005c0b4
jmp 0x18005c321
cmp byte [rsi + 0x38], dil
je 0x18005c318
cmp dword [rsi + 0x34], 5
jne 0x18005c318
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18005c321
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18004ae98
jmp 0x18005c394
jns 0x18005c394
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800507ac
cmp rax, 0xffffffffffffffff
jne 0x18005c34c
cmp byte [rsi + 0x30], dil
je 0x18005c394
mov edi, dword [rsi + 0x2c]
jmp 0x18005c394
mov ecx, r14d
call fcn.1800591c4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18005c394
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 0x18005c394
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18005c38d
mov eax, dword [rsi + 0x2c]
jmp 0x18005c392
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800507ac
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 0x14000edd0
Capabilities:
Get common file path

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
mov eax, 0x1020
call fcn.140025870
sub rsp, rax
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], r14w
je 0x14000ef7f
call fcn.14000efa8
mov rcx, rbx
call fcn.14002a818
mov rcx, rbx
mov rbp, rax
call fcn.14000efd8
test al, al
je 0x14000eeb4
mov rcx, rbx
call fcn.14000efa8
test al, al
je 0x14000ee68
lea rax, [rbp + 4]
cmp rdi, rax
jbe 0x14000ef7f
mov r8, rdi
lea rdx, [0x14003bd48]
mov rcx, rsi
call fcn.14001427c
mov rdx, rbx
mov r8, rdi
mov rcx, rsi
call fcn.140014238
mov al, 1
jmp 0x14000ef81
cmp word [rbx], 0x5c
jne 0x14000ef7f
cmp word [rbx + 2], 0x5c
jne 0x14000ef7f
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x14000ef7f
mov r8, rdi
lea rdx, [0x14003bd48]
mov rcx, rsi
call fcn.14001427c
mov r8, rdi
lea rdx, [0x14003bd58]
mov rcx, rsi
call fcn.140014238
lea rdx, [rbx + 2]
jmp 0x14000ee56
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x14000ef7f
cmp word [rbx], 0x5c
je 0x14000ef49
cmp word [rbx], 0x2f
je 0x14000ef49
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.14000e828
lea rcx, [rsp + 0x20]
call fcn.14002a818
lea rcx, [rax + 4]
add rcx, rbp
cmp rdi, rcx
jbe 0x14000ef7f
mov r8, rdi
lea rdx, [0x14003bd48]
mov rcx, rsi
call fcn.14001427c
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014238
cmp word [rbx], 0x2e
jne 0x14000ee53
cmp word [rbx + 2], 0x5c
je 0x14000ef40
cmp word [rbx + 2], 0x2f
jne 0x14000ee53
add rbx, 4
jmp 0x14000ee53
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x14000ef7f
mov r8, rdi
lea rdx, [0x14003bd48]
mov rcx, rsi
call fcn.14001427c
mov r8, rdi
mov word [rsp + 0x24], r14w
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014238
jmp 0x14000ee53
xor al, al
lea r11, [rsp + 0x1020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14000fee8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, r8d
mov rsi, r9
mov r10b, bl
cmp r8d, 1
jbe 0x14000ff1c
lea rcx, [rdx + 1]
lea r8d, [rdi - 1]
xor r10b, byte [rcx]
inc rcx
sub r8, 1
jne 0x14000ff10
cmp r10b, byte [rdx]
jne 0x14000ff58
mov r8, rdi
or ecx, 0xffffffff
call fcn.140007200
lea rdx, [0x14004c060]
not eax
mov rcx, rdx
cmp dword [rcx + 4], eax
jne 0x14000ff41
cmp dword [rcx], edi
je 0x14000ff4e
inc ebx
add rcx, 0xc
cmp ebx, 6
jae 0x14000ff58
jmp 0x14000ff38
lea rcx, [rbx + rbx*2]
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002508c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140025104
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140025104
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140025104
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400250f8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140025116
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400250e6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140025106

Function at 0x1400261b8
Capabilities:
Parse pe header

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

Function at 0x14002f1d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002ef3c

Function at 0x1400010f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x100], rax
xor eax, eax
lea r8, [0x140001030]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, 0xc8
nop
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x140001130
mov r9d, dword [0x140005670]
lea rdx, str.Timeout_failed:__d__Timeout_reached:__d
mov r8d, dword [0x14000566c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
xor r9d, r9d
lea r8, str.Result
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400011b0
add rsp, 0x110
pop rbx
ret

Function at 0x140001a78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ac2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ac2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ac2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ac2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ac2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac4
xor al, al
add rsp, 0x28
ret
Function at 0x1400050d0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140005105
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140004260
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140005244
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400051bd
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140005233
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400051fa
mov r10, qword [rdx]
cmp r10, rax
je 0x1400051f4
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140005233
cmp r9, rdx
je 0x14000520f
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140005255
cmp r9, rdx
jne 0x140005200
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140005170
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140005233
Function at 0x140007020
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 0x14000707d
lea rbx, [0x140061bf0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140007064
cmp r10, 2
jb 0x140007064
cmp byte [r9], r8b
jne 0x140007064
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 0x140007040
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400070bf
lea rbx, [0x140061bf0]
cmp r8b, 0x23
jne 0x1400070a3
cmp byte [r9], r8b
jne 0x1400070a3
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 0x140007090
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140007200
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000721a
mov qword [r8], 0
lea rdx, [0x140061740]
call fcn.1400070d0
mov rbx, rax
test rax, rax
jne 0x14000723a
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 0x140007313
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140007313
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140007313
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 0x140007313
cmp rdi, 0xffffffffffffffff
je 0x140007313
mov rax, qword [0x140098dd0]
test rax, rax
je 0x1400072b0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140007313
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 0x140007300
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140098dd0]
test rax, rax
je 0x1400072f5
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000731c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000730e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000731e
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