joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001df30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
lea rax, [rsp + 0x130]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.180004880
lea rax, [0x180165cd0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x18001df7f
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [0x180165cd0]
mov rcx, qword [rsp + 0x68]
call fcn.180003ef0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x48], al
movabs rax, 0x47fb9debf49c781f
mov qword [rsp + 0x80], rax
movabs rax, 0x9c729a7e010902e3
mov qword [rsp + 0x88], rax
movabs rax, 0x2ebfbd9884fd0a4b
mov qword [rsp + 0xd0], rax
movabs rax, 0x9c72ff1d6f687690
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x50], al
movdqa xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmm0, xmmword [rsp + 0xe0]
xorps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x100], xmm0
movdqa xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x80], xmm0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.180004880
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x18001e10d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.180003ef0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1f4
xor r9d, r9d
lea r8, [0x1801913c8]
lea rdx, [rsp + 0x110]
lea rcx, [0x1801c8180]
call fcn.1800c2490
lea rcx, [rsp + 0x110]
call fcn.180006280
add rsp, 0x150
pop rdi
ret
Function at 0x180020330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
lea rax, [rsp + 0x130]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.180004880
lea rax, [0x180165cd0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x18002037f
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [0x180165cd0]
mov rcx, qword [rsp + 0x68]
call fcn.180003ef0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x48], al
movabs rax, 0x5accd4dca4987804
mov qword [rsp + 0x80], rax
movabs rax, 0x9c72ff1d0a0b18f1
mov qword [rsp + 0x88], rax
movabs rax, 0x2ebfbd9884fd0a4b
mov qword [rsp + 0xd0], rax
movabs rax, 0x9c72ff1d6f687690
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x50], al
movdqa xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmm0, xmmword [rsp + 0xe0]
xorps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x100], xmm0
movdqa xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x80], xmm0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.180004880
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x18002050d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.180003ef0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1f4
xor r9d, r9d
lea r8, [0x180191100]
lea rdx, [rsp + 0x110]
lea rcx, [0x1801c8180]
call fcn.1800c2490
lea rcx, [rsp + 0x110]
call fcn.180006280
add rsp, 0x150
pop rdi
ret
Function at 0x180058280
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x180169ba0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x18005830e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1800582b2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x180058320
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x180169ba0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x180058424
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x18005841f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1800583f4
cmp qword [rsp + 0x38], 2
jb 0x1800583f4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800583f4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800583f4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x180058367
jmp 0x1800584b6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1800584b6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x18005848c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18005848c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18005848c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x180058424
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x18008ab10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
movss xmm0, dword [rsp + 0x78]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x7c]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x80]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x84]
movss dword [rsp + 0x3c], xmm0
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x18008abeb
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov rdi, rax
lea rsi, [rcx + 0x88]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x40]
comiss xmm0, dword [rsp + 0x30]
jbe 0x18008aba0
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x44]
comiss xmm0, dword [rsp + 0x34]
jbe 0x18008abb9
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x34], xmm0
movss xmm0, dword [rsp + 0x38]
comiss xmm0, dword [rsp + 0x48]
jbe 0x18008abd2
movss xmm0, dword [rsp + 0x48]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rsp + 0x4c]
jbe 0x18008abeb
movss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x30]
comiss xmm0, dword [rsp + 0x38]
jb 0x18008ac06
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x20], xmm0
jmp 0x18008ac12
movss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x20], xmm0
movss xmm0, dword [rsp + 0x20]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x3c]
jb 0x18008ac39
movss xmm0, dword [rsp + 0x34]
movss dword [rsp + 0x24], xmm0
jmp 0x18008ac45
movss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x70]
add rax, 0x58
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.180098530
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
lea rdi, [rax + 0x88]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x70]
call fcn.1800944c0
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1800b36c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
movabs rax, 0xcbf29ce484222325
mov qword [rsp], rax
mov qword [rsp + 8], 0
jmp 0x1800b36f4
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 8], rax
jae 0x1800b373c
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp]
xor rcx, rax
mov rax, rcx
mov qword [rsp], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp]
imul rcx, rax
mov rax, rcx
mov qword [rsp], rax
jmp 0x1800b36e7
mov rax, qword [rsp]
add rsp, 0x18
ret

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

Disassembly:
mov byte [rsp + 0x18], r8b
movss dword [rsp + 0x10], xmm1
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rax, [0x1801c8a38]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xc0]
add rax, 4
mov rdx, rax
lea rcx, [0x1801c8a38]
call fcn.1800b3500
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x1801c8a38]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x28], rax
jne 0x1800b4279
mov dword [rsp + 0x20], 1
jmp 0x1800b4281
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800b430e
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x44], eax
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x48], xmm0
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0xa0]
lea rcx, [0x1801c8a38]
call fcn.1800b3830
lea rax, [0x1801c8a38]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xc0]
add rax, 4
mov rdx, rax
lea rcx, [0x1801c8a38]
call fcn.1800b3500
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0xd0]
test eax, eax
je 0x1800b4378
movss xmm0, dword [0x180166788]
movss dword [rsp + 0x34], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xc8]
call fcn.1800b3750
movss xmm0, dword [rax]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x28]
add rax, 0x1c
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x3c]
movss dword [rax + 4], xmm0
jmp 0x1800b43ab
movss xmm0, dword [rsp + 0xc8]
movss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x28]
add rax, 0x1c
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movss xmm0, dword [rsp + 0x40]
movss dword [rax + 4], xmm0
add rsp, 0xb8
ret
Function at 0x1800b4450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [rsp + 0xf0]
mov r8, rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xc0]
call fcn.1800b2ff0
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.1800b3cd0
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xc0]
call fcn.180006280
lea rax, [0x1801c8a38]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x20]
lea rcx, [0x1801c8a38]
call fcn.1800b3500
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [0x1801c8a38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x30], rax
jne 0x1800b450e
mov dword [rsp + 0x24], 1
jmp 0x1800b4516
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1800b45cb
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
movss xmm0, dword [rsp + 0x28]
movss dword [rsp + 0x3c], xmm0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x90]
lea rcx, [0x1801c8a38]
call fcn.1800b3180
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xb0], rax
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0xb8], al
lea rax, [0x1801c8a38]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x20]
lea rcx, [0x1801c8a38]
call fcn.1800b3500
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x1c
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x88]
movss xmm0, dword [rcx + 4]
movss dword [rax], xmm0
mov rax, qword [rsp + 0xf8]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 4], ecx
mov rcx, qword [rsp + 0x100]
call fcn.180006280
mov rax, qword [rsp + 0xf8]
jmp 0x1800b4628
add rsp, 0xe8
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1800d16b2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1800d1695
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1800d1680
Function at 0x18010f3bc
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 0x18010f3ec
xor eax, eax
jmp 0x18010f4af
mov rbp, rbx
cmp word [rax], si
je 0x18010f411
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18010f3f8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18010f3f4
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.18010d330
movsxd r14, eax
test eax, eax
jne 0x18010f44f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18010f3e5
mov rcx, r14
call fcn.1801076dc
mov rdi, rax
test rax, rax
jne 0x18010f468
xor ecx, ecx
call fcn.1801076a0
jmp 0x18010f444
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.18010d330
test eax, eax
jne 0x18010f499
mov rcx, rdi
call fcn.1801076a0
jmp 0x18010f4a3
xor ecx, ecx
call fcn.1801076a0
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 0x18010f4cc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x18010f553
mov rsi, rbx
cmp word [rax], bp
je 0x18010f512
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18010f4fc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18010f4f8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1801076dc
mov rdi, rax
test rax, rax
je 0x18010f540
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180116ae0
mov rbp, rdi
xor ecx, ecx
call fcn.1801076a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1801121f8
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.1801059e8
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 0x180112299
cmp ebx, dword [rsp + 0x30]
je 0x180112292
test esi, esi
je 0x180112292
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18011226d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18011227a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180112257
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18011227e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18011229b
mov eax, 1
jmp 0x18011229b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180116730
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180116758
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180116758
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180005620
Capabilities:
Create thread
Parse pe header

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x180053010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
cmp edx, 1
jne 0x1800056e3
mov eax, 0x5a4d
mov dword [rsp + 0x30], 0
cmp word [rcx], ax
jne 0x1800056b0
movsxd rax, dword [rcx + 0x3c]
shl rax, 6
cmp dword [rax + rcx], 0x4550
jne 0x1800056b0
movzx ecx, word [rax + rcx + 0x14]
test cx, cx
je 0x1800056b0
lea r8d, [rdx + 0x3f]
mov qword [rsp + 0x58], rbx
mov ebx, ecx
lea r9, [rsp + 0x30]
mov edx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x28], 0
lea r8, [0x180004f90]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800056e3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800418f0
add rsp, 0x40
pop rdi
ret
Function at 0x18000b8b0
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 0x18000b90d
lea rbx, [0x180044900]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18000b8f4
cmp r10, 2
jb 0x18000b8f4
cmp byte [r9], r8b
jne 0x18000b8f4
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 0x18000b8d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000b94f
lea rbx, [0x180044900]
cmp r8b, 0x23
jne 0x18000b933
cmp byte [r9], r8b
jne 0x18000b933
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 0x18000b920
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18000bb30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000bb4a
mov qword [r8], 0
lea rdx, [0x18004ad88]
call fcn.18000b960
mov rbx, rax
test rax, rax
jne 0x18000bb6a
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 0x18000bc55
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000bc55
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18000bc55
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 0x18000bc55
cmp rdi, 0xffffffffffffffff
je 0x18000bc55
mov rax, qword [0x180053c40]
test rax, rax
je 0x18000bbe6
inc dword [rax + 0x3bc]
mov rdx, qword [0x180053c30]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x18000bc55
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 0x18000bc42
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180053c40]
test rax, rax
je 0x18000bc31
dec dword [rax + 0x3bc]
mov rdx, qword [0x180053c30]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x18000bc5e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18000bc50
mov qword [r14], rdi
mov rax, rsi
jmp 0x18000bc60
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