joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001128f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x140013330
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140020008]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x1400250a6]
call fcn.1400113a7
mov dword [rbp + 4], 0
mov byte [rbp + 0x28], 0x20
mov byte [rbp + 0x29], 0x20
mov byte [rbp + 0x2a], 0x20
mov byte [rbp + 0x2b], 0x20
mov byte [rbp + 0x2c], 0x20
mov byte [rbp + 0x2d], 0x20
mov byte [rbp + 0x2e], 0x20
mov byte [rbp + 0x2f], 0x20
mov byte [rbp + 0x30], 0x20
mov dword [rbp + 0x58], 0
mov dword [rbp + 0x5c], 0
mov dword [rbp + 0x60], 0
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x68], 0
mov dword [rbp + 0x6c], 0
mov dword [rbp + 0x70], 0
mov dword [rbp + 0x74], 0
mov dword [rbp + 0x78], 0
xor ecx, ecx
call fcn.1400138a0
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
lea rcx, [rbp + 0x28]
call fcn.140011113
xor eax, eax
cmp eax, 1
je 0x140013457
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x28]
call fcn.140011384
lea rcx, [rbp + 0x28]
call fcn.140011113
lea rcx, [rbp + 0x28]
call fcn.140011361
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140013420
jmp 0x140013457
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x28]
call fcn.14001112c
lea rcx, [rbp + 0x28]
call fcn.140011113
lea rcx, [rbp + 0x28]
call fcn.140011361
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140013455
jmp 0x140013457
jmp 0x1400133ef
mov eax, dword [rbp + 4]
mov dword [rbp + 0x144], eax
cmp dword [rbp + 0x144], 1
je 0x14001348b
cmp dword [rbp + 0x144], 2
je 0x140013499
cmp dword [rbp + 0x144], 3
je 0x14001347d
jmp 0x1400134a5
lea rcx, [0x14001d008]
call fcn.1400111a9
jmp 0x1400134a5
lea rcx, [0x14001d018]
call fcn.1400111a9
jmp 0x1400134a5
lea rcx, [0x14001d030]
call fcn.1400111a9
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001cee0]
call fcn.140011334
mov eax, edi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400165a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400165c0
xor al, al
jmp 0x140016641
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400165d3
xor al, al
jmp 0x140016641
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400165fd
xor al, al
jmp 0x140016641
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016611
xor al, al
jmp 0x140016641
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016623
xor al, al
jmp 0x140016641
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001663f
xor al, al
jmp 0x140016641
mov al, 1
add rsp, 0x38
ret
Function at 0x14002971c
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.14001cd14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001cd14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002986c
cmp rax, 0xffffffffffffffff
je 0x14002986c
xor edi, edi
test rbp, rbp
jle 0x140029817
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f628
mov rbx, rax
test rax, rax
jne 0x1400297a4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002980d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a648
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.14001d9f0
cmp eax, 0xffffffff
je 0x1400297ed
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400297b4
mov edx, r15d
mov ecx, r14d
call fcn.14001a648
jmp 0x14002980d
cmp byte [rsi + 0x38], dil
je 0x140029804
cmp dword [rsi + 0x34], 5
jne 0x140029804
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002980d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b3dc
jmp 0x140029880
jns 0x140029880
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001cd14
cmp rax, 0xffffffffffffffff
jne 0x140029838
cmp byte [rsi + 0x30], dil
je 0x140029880
mov edi, dword [rsi + 0x2c]
jmp 0x140029880
mov ecx, r14d
call fcn.140018b00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029880
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 0x140029880
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029879
mov eax, dword [rsi + 0x2c]
jmp 0x14002987e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001cd14
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 0x14002a970
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x38
call fcn.1400042e0
xor edx, edx
mov dword [rsp + 0x20], 0xfce3ebe5
mov dword [rsp + 0x24], 0xfbe4b2fe
mov dword [rsp + 0x28], 0xb8f3fae7
mov word [rsp + 0x2c], 0x93
mov byte [rsp + 0x2e], 1
nop
lea eax, [rdx - 0x73]
xor byte [rsp + rdx + 0x20], al
inc rdx
cmp rdx, 0xd
jb 0x140001160
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x2e], 0
call fcn.140001210
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor eax, eax
add rsp, 0x38
ret
Function at 0x140004ae0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rdx, [rsp + 0x30]
call fcn.140004f00
test al, al
je 0x140004c93
mov dword [rsp + 0x20], 0xecf6e6bf
mov word [rsp + 0x24], 0xe1
mov byte [rsp + 0x26], 1
xor ecx, ecx
lea eax, [rcx - 0x6f]
xor byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x140004b40
mov byte [rsp + 0x26], 0
mov rbx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
cmp rbx, rdi
je 0x140004b86
mov rsi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140004b88
add rbx, 8
cmp rbx, rdi
jne 0x140004b62
xor esi, esi
mov dword [rsp + 0x28], 0xf5f7e0bf
mov dword [rsp + 0x2c], 0x100f7e1
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x6f]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 6
jb 0x140004ba0
mov byte [rsp + 0x2f], 0
mov rbx, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
cmp rbx, r14
je 0x140004be6
mov rdi, qword [rbx]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140004be8
add rbx, 8
cmp rbx, r14
jne 0x140004bc2
xor edi, edi
test rsi, rsi
je 0x140004c93
cmp rsi, rdi
jae 0x140004c93
mov dword [rbp - 0x10], 1
mov dword [rbp - 0xc], 2
mov dword [rbp - 8], 4
mov dword [rbp - 4], 8
mov dword [rbp], 0x10
mov dword [rbp + 4], 0x20
mov dword [rbp + 8], 0x40
mov dword [rbp + 0xc], 0x80
mov dword [rbp + 0x10], 0x100
mov dword [rbp + 0x14], 0x200
mov dword [rbp + 0x18], 0x400
mov dword [rbp + 0x1c], 0x80000000
lea r14, [rbp - 0x10]
mov r8d, dword [rsi + 8]
add r8d, 0x1000
mov r9d, dword [r14]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 0x18]
call fcn.140004d00
mov r8d, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
mov rax, qword [rsp + 0x48]
add rdx, qword [rax + 0x18]
mov r9d, dword [r14]
call fcn.140004d00
add r14, 4
lea rax, [rbp + 0x20]
cmp r14, rax
jne 0x140004c52
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140004cd4
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ccf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ccf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005964
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140005900
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140004d00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x50], ebx
mov edi, r9d
mov qword [rsp + 0x58], r8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword gs:[0x58]
mov rsi, rax
mov eax, 4
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x1400187c8], ecx
jle 0x140004dca
lea rcx, [0x1400187c8]
call fcn.140005a04
cmp dword [0x1400187c8], 0xffffffff
jne 0x140004dca
movdqa xmm0, xmmword [0x140015730]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xcbcec7ec
mov dword [rsp + 0x44], 0x100dfd7
nop dword [rax]
nop word [rax + rax]
lea eax, [rbx - 0x6f]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 0x16
jb 0x140004d90
mov rcx, qword [0x1400187a8]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1400187c8]
mov qword [0x1400187b8], rax
call fcn.140005998
mov rax, qword [0x1400187b8]
test rax, rax
je 0x140004df4
lea rcx, [rsp + 0x50]
mov r9d, edi
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x58]
mov rcx, rsi
lea rdx, [rsp + 0x48]
call rax
jmp 0x140004dff
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140005900
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004f00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x1400050a3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400050a3
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400050a3
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x1400050a3
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rcx
xor edi, edi
mov qword [rsp + 0x48], r14
lea rax, [rcx + 4]
mov qword [rbx + 0x10], rax
lea r14, [rcx + 0x18]
lea rax, [rcx + 0x18]
mov qword [rbx + 0x18], rax
lea rax, [rcx + 0x88]
mov qword [rbx + 0x20], rax
lea rax, [rcx + 0x90]
mov qword [rbx + 0x28], rax
lea rax, [rcx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0xa0]
mov qword [rbx + 0x38], rax
lea rax, [rcx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rcx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rcx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rcx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rcx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rcx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rcx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rcx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rcx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rcx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rcx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rcx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rcx + 0x14]
add r14, rax
cmp di, word [rcx + 6]
jae 0x140005091
mov qword [rsp + 0x38], rsi
nop dword [rax]
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x14000506d
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x14000507e
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.1400050b0
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x140005040
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140006360
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140012d50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400140a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400140c0
xor al, al
jmp 0x140014141
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400140d3
xor al, al
jmp 0x140014141
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400140fd
xor al, al
jmp 0x140014141
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014111
xor al, al
jmp 0x140014141
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014123
xor al, al
jmp 0x140014141
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001413f
xor al, al
jmp 0x140014141
mov al, 1
add rsp, 0x38
ret
Function at 0x1400110b9
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140011e50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140025104]
call fcn.1400113e3
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x140011e8c
mov rcx, qword [rbp + 0x100]
call fcn.1400110d2
jmp 0x140011ea7
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x140011ea7
mov rcx, qword [rbp + 0x100]
call fcn.1400111ef
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400111ef
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140012250
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x140025104]
call fcn.1400113e3
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140012294
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x140012325
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1400122ea
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400122f4
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140012289
mov qword [rbp + 0x88], 0xe3
jmp 0x140012343
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x1400123ec
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x1400123a8
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400123b2
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140012332
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14001244c
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140012456
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x140011230
Capabilities:
Terminate process

Disassembly:
jmp 0x140014030
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112c6
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015380
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400153a0
xor al, al
jmp 0x140015421
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400153b3
xor al, al
jmp 0x140015421
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400153dd
xor al, al
jmp 0x140015421
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400153f1
xor al, al
jmp 0x140015421
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015403
xor al, al
jmp 0x140015421
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001541f
xor al, al
jmp 0x140015421
mov al, 1
add rsp, 0x38
ret
Function at 0x180045480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x18038aab8]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0x5f
mov byte [rsp + 1], 0x39
mov byte [rsp + 2], 0x30
mov byte [rsp + 3], 0x29
mov byte [rsp + 4], 0x6d
mov byte [rsp + 5], WSAStartup
mov byte [rsp + 6], 0x3d
mov byte [rsp + 7], 0x36
mov byte [rsp + 8], 0x31
mov byte [rsp + 9], 0x3b
mov byte [rsp + 0xa], recv
mov byte [rsp + 0xb], 0x28
mov byte [rsp + 0xc], 0x36
mov byte [rsp + 0xd], 0x2b
mov byte [rsp + 0xe], 0x3c
mov byte [rsp + 0xf], 0x37
mov byte [rsp + 0x10], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, select
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1801d3210
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x180045520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x18038aab8]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov byte [rsp], reloc.WS2_32.dll_inet_addr
mov byte [rsp + 1], 0x58
mov byte [rsp + 2], 0x60
mov byte [rsp + 3], 0x6e
mov byte [rsp + 4], 0x67
mov byte [rsp + 5], 0x6e
mov byte [rsp + 6], 0x7f
mov byte [rsp + 7], 0x64
mov byte [rsp + 8], 0x65
mov byte [rsp + 9], 0x78
mov byte [rsp + 0xa], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_inet_addr
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1801d3210
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x180045660
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x18038aab8]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov byte [rsp], 6
mov byte [rsp + 1], 0x60
mov byte [rsp + 2], 0x69
mov byte [rsp + 3], WSAStartup
mov byte [rsp + 4], 0x28
mov byte [rsp + 5], 0x64
mov byte [rsp + 6], 0x43
mov byte [rsp + 7], 0x68
mov byte [rsp + 8], 0x67
mov byte [rsp + 9], 0x64
mov byte [rsp + 0xa], 0x6a
mov byte [rsp + 0xb], 0x63
mov byte [rsp + 0xc], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1801d3210
add rsp, 0x28
pop rdi
pop rsi
ret