joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003cbb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047f1c], eax
jle 0x14003cdd4
lea rcx, [0x140047f1c]
call fcn.140040288
cmp dword [0x140047f1c], 0xffffffff
jne 0x14003cdd4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140047e49], xmm0
movups xmmword [0x140047e59], xmm0
movups xmmword [0x140047e69], xmm0
movups xmmword [0x140047e79], xmm0
mov dword [0x140047e89], eax
mov word [0x140047e8d], ax
mov byte [0x140047e8f], al
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x14003cc70
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x14003cca0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r8d, [rcx + rdx]
cmp ecx, edx
cmovae r8d, eax
mov dword [0x140047e40], r8d
mov ecx, 5
mov dword [0x140047e44], ecx
movzx eax, byte [0x140047e48]
test al, al
jne 0x14003cd52
add r8d, ecx
mov dword [0x140047e40], r8d
mov al, 1
mov byte [0x140047e48], al
xor r9d, r9d
mov r10d, r9d
lea r11, [0x140000000]
nop
test al, al
je 0x14003cd75
sub r8d, ecx
mov dword [0x140047e40], r8d
mov byte [0x140047e48], 0
lea ecx, [r8 + 1]
mov eax, r9d
cdq
idiv ecx
add dl, r8b
xor dl, byte [r10 + r11 + 0x42850]
mov byte [r10 + r11 + 0x47e49], dl
mov ecx, dword [0x140047e44]
movzx eax, byte [0x140047e48]
mov r8d, dword [0x140047e40]
test al, al
jne 0x14003cdbc
add r8d, ecx
mov dword [0x140047e40], r8d
mov al, 1
mov byte [0x140047e48], al
inc r9d
inc r10
cmp r9d, 0x47
jl 0x14003cd60
lea rcx, [0x140047f1c]
call fcn.14004021c
movaps xmm0, xmmword [0x140047e40]
movaps xmmword [rbx], xmm0
movaps xmm1, xmmword [0x140047e50]
movaps xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x140047e60]
movaps xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x140047e70]
movaps xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x140047e80]
movaps xmmword [rbx + 0x40], xmm0
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret
Function at 0x14003ce30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047ebc], eax
jle 0x14003cfea
lea rcx, [0x140047ebc]
call fcn.140040288
cmp dword [0x140047ebc], 0xffffffff
jne 0x14003cfea
xor eax, eax
mov word [0x140047cb9], ax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x14003cec0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x14003cef0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r10d, [rcx + rdx]
cmp ecx, edx
cmovae r10d, eax
mov dword [0x140047cb4], 5
movzx ecx, byte [0x140047cb8]
test cl, cl
jne 0x14003cf92
add r10d, 5
mov cl, 1
test cl, cl
je 0x14003cf98
sub r10d, 5
xor cl, cl
movzx eax, r10b
xor al, 0x22
mov byte [0x140047cb9], al
test cl, cl
jne 0x14003cfac
add r10d, 5
mov r9d, r10d
sub r10d, 5
mov byte [0x140047cb8], 0
lea r8d, [r9 - 4]
mov eax, 1
cdq
idiv r8d
add dl, r10b
mov byte [0x140047cba], dl
mov dword [0x140047cb0], r9d
mov byte [0x140047cb8], 1
lea rcx, [0x140047ebc]
call fcn.14004021c
movsd xmm0, qword [0x140047cb0]
movsd qword [rbx], xmm0
mov ecx, dword [0x140047cb8]
mov dword [rbx + 8], ecx
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret
Function at 0x14003d330
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047c48], eax
jle 0x14003d4ea
lea rcx, [0x140047c48]
call fcn.140040288
cmp dword [0x140047c48], 0xffffffff
jne 0x14003d4ea
xor eax, eax
mov word [0x140047e29], ax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x14003d3c0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x14003d3f0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r10d, [rcx + rdx]
cmp ecx, edx
cmovae r10d, eax
mov dword [0x140047e24], 5
movzx ecx, byte [0x140047e28]
test cl, cl
jne 0x14003d492
add r10d, 5
mov cl, 1
test cl, cl
je 0x14003d498
sub r10d, 5
xor cl, cl
movzx eax, r10b
xor al, 0x22
mov byte [0x140047e29], al
test cl, cl
jne 0x14003d4ac
add r10d, 5
mov r9d, r10d
sub r10d, 5
mov byte [0x140047e28], 0
lea r8d, [r9 - 4]
mov eax, 1
cdq
idiv r8d
add dl, r10b
mov byte [0x140047e2a], dl
mov dword [0x140047e20], r9d
mov byte [0x140047e28], 1
lea rcx, [0x140047c48]
call fcn.14004021c
movsd xmm0, qword [0x140047e20]
movsd qword [rbx], xmm0
mov ecx, dword [0x140047e28]
mov dword [rbx + 8], ecx
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret
Function at 0x14003d520
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.140041130
sub rsp, rax
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rbx, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140047d80], eax
jle 0x14003d729
lea rcx, [0x140047d80]
call fcn.140040288
cmp dword [0x140047d80], 0xffffffff
jne 0x14003d729
xor eax, eax
mov dword [0x140047ca9], eax
mov byte [0x140047cad], al
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov ecx, 1
mov r9d, 0x270
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, r9
jb 0x14003d5b0
mov dword [rsp + 0x20], r9d
lea rax, [rsp + 0x28]
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
xor edx, dword [rax + 0x630]
shr r8d, 1
xor edx, r8d
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x14003d5e0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
lea eax, [rcx - 0x80000000]
mov edx, 0x80000000
lea r8d, [rcx + rdx]
cmp ecx, edx
cmovae r8d, eax
mov dword [0x140047ca4], 5
movzx ecx, byte [0x140047ca8]
test cl, cl
jne 0x14003d685
add r8d, 5
mov cl, 1
test cl, cl
je 0x14003d68b
sub r8d, 5
xor cl, cl
movzx eax, r8b
xor al, 0x2e
mov byte [0x140047ca9], al
test cl, cl
jne 0x14003d69f
add r8d, 5
add r8d, 0xfffffffb
lea ecx, [r8 + 1]
mov eax, 1
cdq
idiv ecx
add dl, r8b
xor dl, 0x73
mov byte [0x140047caa], dl
lea ecx, [r8 + 1]
mov eax, 2
cdq
idiv ecx
add dl, r8b
xor dl, 0x79
mov byte [0x140047cab], dl
mov r9d, r8d
lea ecx, [r8 + 1]
mov eax, 3
cdq
idiv ecx
add dl, r8b
xor dl, 0x73
mov byte [0x140047cac], dl
lea r10d, [r9 + 5]
mov byte [0x140047ca8], 0
lea r8d, [r10 - 4]
mov eax, 4
cdq
idiv r8d
add dl, r9b
mov byte [0x140047cad], dl
mov dword [0x140047ca0], r10d
mov byte [0x140047ca8], 1
lea rcx, [0x140047d80]
call fcn.14004021c
movups xmm0, xmmword [0x140047ca0]
movups xmmword [rbx], xmm0
mov rax, rbx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x13c0
pop rbx
ret
Function at 0x14003dae0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14003db08
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14003db2e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003db30
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14003db89
test ecx, ecx
jle 0x14003db69
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14003db89
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14003db89
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14003dbb0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14003dbd2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14003dbe8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14003dc04
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003dc06
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003dc42
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14003dcde
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14003dc7d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14003dcbe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14003dcde
cmp rbx, rax
ja 0x14003dc90
test rbx, rbx
je 0x14003dcde
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14003e140
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003e16d
xor eax, eax
jmp 0x14003e2d9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003e1a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14003e1a7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14003e2d9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003e2cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003e1ea
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14003e215
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14003e2d1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003e284
sub eax, 1
je 0x14003e284
cmp eax, 2
jne 0x14003e2cc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14003e2d1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14003e2b2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14003e2cc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14003e2d1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400401c0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14003e7a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14003e873
cmp byte [rcx + 0x71], 0
je 0x14003e873
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14003e86f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003e834
sub eax, 1
je 0x14003e838
cmp eax, 2
jne 0x14003e86f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14003e866
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14003e86f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14003e81c
xor al, al
jmp 0x14003e81c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400401c0
add rsp, 0x60
pop rbx
ret
Function at 0x14003fc50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14003fcb1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14003fc70
mov ecx, dword [r9]
jmp 0x14003fd98
cmp ecx, 0x4e0
jb 0x14003fd98
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14003fcd0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14003fd20
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x14003ff30
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 0x14003ff6a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003ff6f
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 0x14003ffb8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140042500]
cmp byte [rcx + rax], 0
je 0x14003ffb8
dec r8
sub rdx, 1
jne 0x14003ff9e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140040d84
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140040dce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140040dce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140040dce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140040dce
cmp dword [rcx + 0x84], 0xe
jbe 0x140040dce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140040dd0
xor al, al
add rsp, 0x28
ret
Function at 0x180050fe7
Capabilities:
Execute anti-debugging instructions

Disassembly:
movabs rbp, 0x395b0
jmp 0x180051059
pushfq
jmp 0x1800502dd
lea rsp, [rsp + 4]
mov qword [rsp + 0x50], r15
lea rsp, [rsp + 0x50]
jmp 0x180050fd1
mov r12d, dword [rsp + 0x90]
mov r9, 0xffffffffe39f6f78
jmp 0x180051039
mov rsi, qword [rsp]
rol r14b, 3
je 0x180051017
jne 0x180051017
mov r15, 0x3b672576
and r11b, 0x13
jo 0x180051079
mov r13, rdx
jmp 0x18005107c
push rbp
setne bl
mov di, r10w
jmp 0x18005102d
lea r9, [rsp]
mov rax, r15
mov r8b, bl
inc ecx
jmp 0x180051f4e
mov r13, rdx
jmp 0x180051063
mov rdi, qword [rsp]
ja 0x18005107e
mov rdi, qword [rsp]

Function at 0x180051a7f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov r14w, r15w
neg rdx
jmp 0x180051b8e
jp 0x180051ab2
pop word [rsp + 2]
lea rsp, [rsp + 6]
jmp 0x180051af7

Function at 0x180051bec
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov r14, r11
call 0x180051bd6
xchg qword [rsp + 8], rdx
inc bl
call fcn.180051c39
and dword [rsi + reloc.KERNEL32.dll_VirtualQuery], edi
adc dword [rbx + reloc.KERNEL32.dll_VirtualQuery], edx
xchg esi, eax
bt r10d, esp
lea rsp, [rsp + 1]
jmp 0x180051cbc

Function at 0x18007d3ce
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov r11, qword [rsp + 2]
add rsp, 0
jb 0x18007d3ee
mov byte [rsp + 6], cl
jmp 0x18007d439
mov byte [rsp + 6], cl
jmp 0x18007d3f8
mov word [rsp + 2], r9w
dec r14d
rdtsc
jmp 0x18007d423
ror dil, 0
mov ax, word [rsp]
mov r12, 0xffffffffabc81cf6
jmp 0x18007d446
mov word [rsp + 2], r9w
dec r14d
rdtsc
jmp 0x18007d423
mov ebp, dword [rsp]
mov edx, dword [rsp]
rol r10b, cl
jmp 0x18007d491
ror r14w, cl
call fcn.18007d4e3
loope 0x18007d4c6
hlt
lea rsp, [rsp + 0x18]
not dil
push r15w
jbe 0x18007d99c
ja 0x18007d8a3
call 0x14278769e
jo 0x18007d455
ror r14w, cl
jmp 0x18007d476
lea rdx, [rdx + riz + 0x18]
neg al
mov r10, r12
sub rsp, 0x13
call fcn.18007d4cb
mov cl, 0xb0
mov bl, 0xaa
invalid
xchg r12, rbp
jmp 0x18007d49d
mov r9, rsi
jmp 0x18007d5e4
sub r8b, dil
xchg bp, r9w
bsr esi, eax
jp 0x18007d5a3
mov r9, rsi
neg di
jmp 0x18007d5e7
neg di
inc rcx
mov rax, r15
mov r10, qword [rsp]
call fcn.18007d5cd
mov dword [rdx], ebx
mov bh, ch
sbb ch, byte [rbp - 0x75108017]
jns 0x18007d646
ror byte [rbp - 0x24], cl
invalid
js 0x18007d67c
mov dx, r11w
lea r9, [rbx + rbx]
sub rsp, 0xf
jmp 0x18007d6ca
lea r9, [rbx + rbx]
sub rsp, 0xf
bswap r12
rdtsc
mov dx, sp
jmp 0x18007d6b4
mov dx, r11w
jmp 0x18007d666
lea rsp, [rsp + 7]
jmp 0x18007d6d1
bswap r12
rdtsc
jmp 0x18007d673
lea rsp, [rsp + 8]
inc bl
mov rdi, qword [rsp]
mov r14b, dl
xchg r10b, bpl
call fcn.18007d81d
invalid
mov r9d, 0x45fe0993
mov r14b, 0xe9
lea rsi, [rdi*8]
call fcn.18007d607
bswap edi
mov r9, qword [rsp]
call fcn.18007d94c
invalid
mov r9d, 0x45fe0993
mov r14b, 0xe9
lea rsi, [rdi*8]
xchg byte [rsp], r10b
mov esi, 0x40cd9c57
lea rsp, [rsp + 2]
jmp 0x18007d5b9