joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003ab50
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x40]
mov edx, 0x38
cmp eax, edx
mov r8d, 0x40
mov rbx, rcx
cmovb r8d, edx
mov byte [rax + rcx], 0x80
lea rcx, [rax + 1]
cmp rcx, r8
jae 0x18003ab87
sub r8, rcx
xor edx, edx
add rcx, rbx
call fcn.18010d6a0
cmp dword [rbx + 0x40], 0x38
jb 0x18003aba9
mov rcx, rbx
call fcn.18003a920
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbx], xmm2
movups xmmword [rbx + 0x10], xmm2
movups xmmword [rbx + 0x20], xmm2
mov qword [rbx + 0x30], rax
mov edx, dword [rbx + 0x40]
mov rcx, rbx
shl edx, 3
add rdx, qword [rbx + 0x48]
mov rax, rdx
mov qword [rbx + 0x48], rdx
shr rax, 8
mov byte [rbx + 0x3e], al
mov rax, rdx
shr rax, 0x10
mov byte [rbx + 0x3d], al
mov rax, rdx
shr rax, 0x18
mov byte [rbx + 0x3c], al
mov rax, rdx
shr rax, 0x20
mov byte [rbx + 0x3b], al
mov rax, rdx
shr rax, 0x28
mov byte [rbx + 0x3a], al
mov rax, rdx
mov byte [rbx + 0x3f], dl
shr rax, 0x30
shr rdx, 0x38
mov byte [rbx + 0x39], al
mov byte [rbx + 0x38], dl
add rsp, 0x20
pop rbx
jmp fcn.18003a920

Function at 0x180049b70
Capabilities:
Hash data using murmur3

Disassembly:
and r8d, 0xf
mov r9, rdx
cmp r8, 4
jb 0x180049b0e
mov r10d, r8d
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r8, rax
nop dword [rax + rax]
mov eax, dword [r9]
add r9, 4
imul edx, eax, 0x3d4d51c3
sub ecx, edx
rol ecx, 0x11
imul ecx, ecx, 0x27d4eb2f
sub r10, 1
jne 0x180049af0
test r8, r8
je 0x180049b3f
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
imul edx, eax, 0x165667b1
add ecx, edx
rol ecx, 0xb
imul ecx, ecx, 0x9e3779b1
sub r8, 1
jne 0x180049b20
mov eax, ecx
shr eax, 0xf
xor eax, ecx
imul ecx, eax, 0x85ebca77
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
sub rsp, 0x28
mov r11, rdx
mov rdx, rcx
cmp r11, 0x10
jb 0x180049c27
mov qword [rsp + 0x20], rbx
mov eax, 0x61c88679
lea rbx, [rcx - 0xf]
mov r8d, 0x24234452
add rbx, r11
mov r9d, 0x85ebcaa1
mov r10d, 0x2a
nop word [rax + rax]
imul ecx, dword [rdx], 0x7a143589
sub r8d, ecx
imul ecx, dword [rdx + 4], 0x7a143589
rol r8d, 0xd
imul r8d, r8d, 0x9e3779b1
sub r9d, ecx
imul ecx, dword [rdx + 8], 0x7a143589
rol r9d, 0xd
imul r9d, r9d, 0x9e3779b1
sub r10d, ecx
imul ecx, dword [rdx + 0xc], 0x7a143589
rol r10d, 0xd
add rdx, 0x10
imul r10d, r10d, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp rdx, rbx
jb 0x180049bb0
mov rbx, qword [rsp + 0x20]
rol eax, 0x12
rol r10d, 0xc
add eax, r10d
rol r9d, 7
add eax, r9d
rol r8d, 1
add eax, r8d
jmp 0x180049c2c
mov eax, 0x165667db
mov r8, r11
lea ecx, [rax + r11]
and r8d, 0xf
add rsp, 0x28
jmp 0x180049ad0
Function at 0x180049d40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rdx, rcx
cmp rbx, 0x20
jb 0x180049e86
mov qword [rsp + 0x30], rsi
lea r11, [rcx - 0x1f]
mov qword [rsp + 0x38], rdi
add r11, rbx
movabs rdi, 0xc2b2ae3d27d4eb4f
xor r9d, r9d
mov r8, rdi
movabs rcx, 0x60ea27eeadc0b5d6
movabs rsi, 0x9e3779b185ebca87
movabs r10, 0x61c8864e7a143579
nop word [rax + rax]
mov rax, qword [rdx]
imul rax, rdi
add rcx, rax
mov rax, qword [rdx + 8]
imul rax, rdi
rol rcx, 0x1f
add r8, rax
mov rax, qword [rdx + 0x10]
imul rax, rdi
imul rcx, rsi
add r9, rax
rol r8, 0x1f
mov rax, qword [rdx + 0x18]
add rdx, 0x20
imul rax, rdi
imul r8, rsi
add r10, rax
rol r9, 0x1f
rol r10, 0x1f
imul r10, rsi
imul r9, rsi
cmp rdx, r11
jb 0x180049da0
mov r11, r10
mov rax, r9
rol r11, 0x12
rol rax, 0xc
add r11, rax
mov rax, r8
rol rax, 7
add r11, rax
mov rax, rcx
imul rcx, rdi
imul r8, rdi
imul r9, rdi
imul r10, rdi
mov rdi, qword [rsp + 0x38]
rol rax, 1
add r11, rax
rol rcx, 0x1f
movabs rax, 0x7a1435883d4d519d
rol r8, 0x1f
imul rcx, rsi
imul r8, rsi
xor r11, rcx
rol r9, 0x1f
imul r11, rsi
imul r9, rsi
sub r11, rax
rol r10, 0x1f
xor r11, r8
imul r11, rsi
imul r10, rsi
sub r11, rax
xor r11, r9
imul r11, rsi
sub r11, rax
xor r11, r10
imul r11, rsi
mov rsi, qword [rsp + 0x30]
sub r11, rax
jmp 0x180049e90
movabs r11, 0x27d4eb2f165667c5
lea rcx, [r11 + rbx]
mov r9d, 1
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.180049c40
Function at 0x18004a080
Capabilities:
Encode data using xor

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 rbx, qword [rcx]
mov rdi, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rbx, 0x20
jb 0x18004a16b
mov r8, qword [rcx + 8]
mov r10, qword [rcx + 0x20]
mov rdx, r8
mov r9, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov rax, r9
rol rax, 0xc
mov r11, rcx
rol r11, 7
add r11, rax
rol r8, 1
mov rax, r10
rol rax, 0x12
add r11, rax
movabs rax, 0x85ebca77c2b2ae63
add r11, r8
imul rdx, rbp
imul rcx, rbp
imul r9, rbp
imul r10, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r11, rdx
rol r9, 0x1f
imul r11, rsi
imul rcx, rsi
imul r9, rsi
sub r11, r15
rol r10, 0x1f
xor r11, rcx
imul r11, rsi
imul r10, rsi
sub r11, r15
xor r11, r9
imul r11, rsi
sub r11, r15
xor r11, r10
imul r11, rsi
add rax, r11
add rax, rbx
jmp 0x18004a173
lea rax, [rbx + r14]
add rax, qword [rcx + 0x18]
and ebx, 0x1f
lea r8, [rdi + 0x28]
cmp rbx, 8
jb 0x18004a1b7
mov edx, ebx
shr rdx, 3
imul rcx, rdx, 0xfffffffffffffff8
add rbx, rcx
nop dword [rax]
mov rcx, qword [r8]
add r8, 8
imul rcx, rbp
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
sub rdx, 1
jne 0x18004a190
movabs r9, 0x165667b19e3779f9
cmp rbx, 4
jb 0x18004a1e4
mov edx, dword [r8]
add r8, 4
imul rdx, rsi
xor rax, rdx
rol rax, 0x17
imul rax, rbp
add rax, r9
sub rbx, 4
test rbx, rbx
je 0x18004a20d
nop dword [rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
sub rbx, 1
jne 0x18004a1f0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r9
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret
Function at 0x1800c0100
Capabilities:
Hash data using fnv

Disassembly:
push rbx
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x1800c01b2
mov r10d, dword [rdx]
mov r11d, dword [rbx + 0x18]
mov edx, r10d
mov r8d, r10d
shr edx, 0x18
mov ecx, r10d
shr r8d, 0x10
shr ecx, 8
cmp r10d, r11d
je 0x1800c01b2
mov r9, qword [rbx + 8]
mov rbx, qword [rbx]
dec r9
movzx ecx, cl
mov qword [rsp + 0x10], rdi
movabs rdi, 0xcbf29ce484222325
movzx eax, r10b
xor rax, rdi
movabs rdi, 0x100000001b3
imul rax, rdi
xor rax, rcx
movzx ecx, r8b
imul rax, rdi
xor rax, rcx
mov ecx, edx
imul rax, rdi
xor rax, rcx
imul rax, rdi
mov rdi, qword [rsp + 0x10]
and rax, r9
xor ecx, ecx
nop dword [rax]
mov edx, dword [rbx + rax*8]
lea r8, [rbx + rax*8]
cmp edx, r10d
je 0x1800c01b6
cmp edx, r11d
je 0x1800c01b2
inc rax
add rax, rcx
inc rcx
and rax, r9
cmp rcx, r9
jbe 0x1800c0190
xor eax, eax
pop rbx
ret
mov rax, r8
pop rbx
ret

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r13, rdx
mov rdi, rcx
je 0x1800c04f7
mov r12d, dword [rdx + 0x80]
lea rax, [rcx + 0x18]
mov ecx, dword [rax + 0x80]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x60], ecx
cmp r12d, ecx
jne 0x1800c044f
lea r8, [r12*4]
mov rdx, rax
mov rcx, r13
call fcn.18010cf00
test eax, eax
je 0x1800c04f7
mov r15, qword [rdi + 8]
xor ebp, ebp
dec r15
mov eax, 0x811c9dc5
mov ecx, ebp
test r12, r12
je 0x1800c0483
nop dword [rax]
nop dword [rax + rax]
xor eax, dword [r13 + rcx*4]
inc rcx
imul eax, eax, 0x1000193
cmp rcx, r12
jb 0x1800c0470
mov ebx, eax
mov rax, qword [rdi]
and rbx, r15
mov qword [rsp + 0x78], rax
imul rsi, rbx, 0x88
add rsi, rax
mov r14d, dword [rsi + 0x80]
mov edi, r14d
shl rdi, 2
cmp r14d, r12d
jne 0x1800c04bf
mov r8, rdi
mov rdx, r13
mov rcx, rsi
call fcn.18010cf00
test eax, eax
je 0x1800c04f2
cmp r14d, dword [rsp + 0x60]
jne 0x1800c04da
mov rdx, qword [rsp + 0x70]
mov r8, rdi
mov rcx, rsi
call fcn.18010cf00
test eax, eax
je 0x1800c04f7
inc rbx
add rbx, rbp
inc rbp
and rbx, r15
cmp rbp, r15
ja 0x1800c04f7
mov rax, qword [rsp + 0x78]
jmp 0x1800c0490
mov rax, rsi
jmp 0x1800c04f9
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800c06c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov r9, qword [rcx]
mov r8, rax
test rax, rax
je 0x1800c06ec
nop
movzx edx, byte [r9 + r8 - 1]
mov ecx, eax
shl ecx, 5
add edx, ecx
mov ecx, eax
shr ecx, 2
add edx, ecx
xor eax, edx
sub r8, 1
jne 0x1800c06d0
ret
Function at 0x1800c06f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, qword [rcx + 8]
mov rsi, rcx
movzx eax, byte [rdx]
mov r11, rdx
movabs rdx, 0x100000001b3
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
dec r10
mov rbx, qword [rsi]
movzx ecx, byte [r11 + 2]
movzx r8d, byte [r11 + 1]
mov edi, dword [rsi + 0x18]
imul rax, rdx
xor rax, r8
imul rax, rdx
xor rax, rcx
movzx ecx, byte [r11 + 3]
imul rax, rdx
xor rax, rcx
imul rax, rdx
and rax, r10
xor ecx, ecx
nop dword [rax]
mov edx, dword [rbx + rax*8]
lea r8, [rbx + rax*8]
mov r9d, dword [r11]
cmp edx, edi
je 0x1800c0796
cmp edx, r9d
je 0x1800c079d
inc rax
add rax, rcx
inc rcx
and rax, r10
cmp rcx, r10
jbe 0x1800c0760
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [r8], r9d
inc qword [rsi + 0x10]
mov rbx, qword [rsp + 8]
mov rax, r8
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, qword [rcx + 8]
xor ebp, ebp
mov r13d, dword [rdx + 0x80]
dec r12
mov r14, rdx
mov eax, 0x811c9dc5
mov r8d, ebp
test r13, r13
je 0x1800c09e2
nop dword [rax]
xor eax, dword [rdx + r8*4]
inc r8
imul eax, eax, 0x1000193
cmp r8, r13
jb 0x1800c09d0
mov edi, eax
mov rax, qword [rcx]
and rdi, r12
add rcx, 0x18
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rcx
nop dword [rax + rax]
imul rbx, rdi, 0x88
add rbx, rax
mov r15d, dword [rbx + 0x80]
mov esi, r15d
shl rsi, 2
cmp r15d, dword [rcx + 0x80]
jne 0x1800c0a33
mov rdx, rcx
mov r8, rsi
mov rcx, rbx
call fcn.18010cf00
test eax, eax
je 0x1800c0a67
cmp r15d, r13d
jne 0x1800c0a4a
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.18010cf00
test eax, eax
je 0x1800c0ac3
inc rdi
add rdi, rbp
inc rbp
and rdi, r12
cmp rbp, r12
ja 0x1800c0ac8
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
jmp 0x1800c0a00
movups xmm0, xmmword [r14]
mov rax, qword [rsp + 0x60]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [r14 + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [r14 + 0x50]
movups xmmword [rbx + 0x50], xmm1
movups xmm0, xmmword [r14 + 0x60]
movups xmmword [rbx + 0x60], xmm0
movups xmm1, xmmword [r14 + 0x70]
movups xmmword [rbx + 0x70], xmm1
mov ecx, dword [r14 + 0x80]
mov dword [rbx + 0x80], ecx
inc qword [rax + 0x10]
mov rax, rbx
jmp 0x1800c0aca
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800c0d70
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x58], rbx
mov rbx, rcx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x40], rsi
mov rsi, qword [rcx + 8]
mov qword [rsp + 0x38], rdi
mov edi, dword [rcx + 0x18]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
lea r15, [rcx + 0x18]
mov r14, r15
test rsi, rsi
jne 0x1800c0dbe
mov esi, 0x10
lea ecx, [rsi + 0x70]
call fcn.1800ce404
mov r11, rax
xor ecx, ecx
mov ebp, esi
jmp 0x1800c0df0
xor r11d, r11d
xor ebp, ebp
add rsi, rsi
je 0x1800c0e07
lea rcx, [rsi*8]
call fcn.1800ce404
xor ecx, ecx
mov r11, rax
mov rbp, rsi
test rsi, rsi
je 0x1800c0e07
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r14]
mov dword [r11 + rcx*8], eax
xor eax, eax
mov word [r11 + rcx*8 + 4], ax
inc rcx
cmp rcx, rsi
jb 0x1800c0df0
xor esi, esi
cmp qword [rbx + 8], rsi
jbe 0x1800c0ed1
mov qword [rsp + 0x30], r12
movabs r14, 0x100000001b3
movabs r12, 0xcbf29ce484222325
nop dword [rax]
mov rax, qword [rbx]
mov r9d, dword [rax + rsi*8]
mov edx, r9d
mov r8d, r9d
mov ecx, r9d
shr edx, 0x18
shr r8d, 0x10
shr ecx, 8
cmp r9d, dword [r15]
je 0x1800c0ebf
movzx ecx, cl
lea r10, [rbp - 1]
movzx eax, r9b
xor rax, r12
imul rax, r14
xor rax, rcx
movzx ecx, r8b
imul rax, r14
xor rax, rcx
mov ecx, edx
imul rax, r14
xor rax, rcx
imul rax, r14
and rax, r10
xor ecx, ecx
mov r8d, dword [r11 + rax*8]
lea rdx, [r11 + rax*8]
cmp r8d, edi
je 0x1800c0ea8
cmp r8d, r9d
je 0x1800c0eab
inc rax
add rax, rcx
inc rcx
and rax, r10
cmp rcx, r10
jbe 0x1800c0e81
xor edx, edx
jmp 0x1800c0eab
mov dword [rdx], r9d
mov rax, qword [rbx]
lea rcx, [rax + rsi*8]
mov eax, dword [rax + rsi*8]
mov dword [rdx], eax
movzx eax, word [rcx + 4]
mov word [rdx + 4], ax
inc rsi
cmp rsi, qword [rbx + 8]
jb 0x1800c0e30
mov r12, qword [rsp + 0x30]
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 8], rbp
mov rbp, qword [rsp + 0x60]
mov qword [rbx], r11
mov rbx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800c0f07
add rsp, 0x48
jmp fcn.1800ce7b8
add rsp, 0x48
ret
Function at 0x1800dbd78
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 0x1800dbc2b
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1800dbc2b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800dbc2b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800dbc2b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800dbc2b
cmp dword [rcx + 0x84], 0xe
jbe 0x1800dbc2b
cmp dword [rcx + 0xf8], 0
je 0x1800dbc2b
mov ecx, ebx
call fcn.1800dbcdc
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.1800dbab8
nop
cmp dword [rbp + 0x20], 0
je 0x1800dbc79
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800dbc84
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800dbbbc

Function at 0x1800ddca8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1800ddcdf
call fcn.1800d7c4c
mov dword [rax], 0x16
call fcn.1800d7ae0
xor eax, eax
jmp 0x1800ddd6d
mov rdx, r9
mov rcx, r8
call fcn.1800ddc44
mov rbx, rax
test rax, rax
je 0x1800ddd6a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1800ddb70]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1800ddd57
call qword [sym.imp.kernel32.dll_GetLastError]
mov ecx, eax
call fcn.1800d7bc0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800ddd3e
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800ddd4d
call qword [sym.imp.kernel32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1800e73b4
jmp 0x1800ddd6a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1800ddd67
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800ec530
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800ec546
mov al, 1
jmp 0x1800ec5a6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800ec557
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800ec5a4
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800f3728
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800ec5a4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
je 0x1800ec5a4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x1800ec5a4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800ec5a6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800ee514
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.1800cf070
sub rsp, rax
mov rax, qword [0x18014a1c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800e93fc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800ee563
mov rax, rbp
jmp 0x1800ee66b
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 + 0x14e1b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800ee150
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x14e1b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800ee667
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 0x1800ee667
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800ee150
test rax, rax
js 0x1800ee667
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800ee667
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800ee659
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800ee659
cmp byte [rcx], 0xd
jne 0x1800ee63f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800ee64e
cmp byte [rcx + 1], 0xa
jne 0x1800ee64e
inc rcx
jmp 0x1800ee64e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x14a600]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800ee621
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800ee66b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800ce3b0
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 0x1800ee794
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, [0x18014e1b0]
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 0x1800ee7eb
cmp word [rdx], r13w
jne 0x1800ee7eb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800ee7f0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800ee915
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800ee936
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800ee829
mov rdx, r9
mov word [rbx], cx
jmp 0x1800ee850
cmp r9, r8
jae 0x1800ee860
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 0x1800ee80a
jmp 0x1800ee915
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 0x1800ee90a
cmp dword [rsp + 0x80], esi
je 0x1800ee90a
lea r8, [0x18014e1b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800ee8e2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800ee8b2
mov word [rbx], r13w
jmp 0x1800ee912
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 0x1800ee8bf
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800ee912
cmp word [rsp + 0x70], r13w
jne 0x1800ee8ef
cmp rbx, r14
je 0x1800ee8ac
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800ee158
cmp word [rsp + 0x70], r13w
je 0x1800ee915
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, [0x18014e1b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800ee90f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800ee915
Function at 0x1800f2dd8
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 0x1800f2e08
xor eax, eax
jmp 0x1800f2ecb
mov rbp, rbx
cmp word [rax], si
je 0x1800f2e2d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800f2e14
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800f2e10
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.1800f1524
movsxd r14, eax
test eax, eax
jne 0x1800f2e6b
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x1800f2e01
mov rcx, r14
call fcn.1800e81a0
mov rdi, rax
test rax, rax
jne 0x1800f2e84
xor ecx, ecx
call fcn.1800e73b4
jmp 0x1800f2e60
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.1800f1524
test eax, eax
jne 0x1800f2eb5
mov rcx, rdi
call fcn.1800e73b4
jmp 0x1800f2ebf
xor ecx, ecx
call fcn.1800e73b4
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 0x1800f7348
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.1800e994c
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 0x1800f73e9
cmp ebx, dword [rsp + 0x30]
je 0x1800f73e2
test esi, esi
je 0x1800f73e2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800f73bd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800f73ca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800f73a7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800f73ce
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800f73eb
mov eax, 1
jmp 0x1800f73eb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret