joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013780
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x140052d20]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x14001389a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x1400137da
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140014890
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x1400137ee
mov edx, 8
mov rcx, rbx
call fcn.140014890
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x14001383a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140013810
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140013849
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14004582c]
test rax, rax
movsxd rsi, esi
lea rdi, [0x140052d18]
mov rcx, r15
cmovne rdi, rax
call fcn.1400028d0
mov rbx, rax
test rax, rax
je 0x140013895
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14001b880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x14001bae2
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, pe_nt_image_headers64
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x14004aaf0]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001b94a
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x14001b969
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x14001ba80
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001b9b0
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x14001b9b3
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140016bb0
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.1400194e0
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x14001b9a0
jmp 0x14001ba87
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x14001b900
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x14001f800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001f9b9
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001f896
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001f170
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001e760
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001f887
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140014430
mov dword [rbx + 0x80], 0
jmp 0x14001f9a5
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.14001d640
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400372f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [rcx]
mov ebx, edx
test al, al
je 0x140037328
cmp al, 0x25
jne 0x14003731d
cmp byte [rcx + 1], al
jne 0x140037328
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140037311
cmp byte [rcx], 0x25
jne 0x1400373f9
cmp byte [rcx + 1], 0x25
je 0x1400373f9
xorps xmm3, xmm3
mov r8, rcx
cvtss2sd xmm3, xmm2
mov edx, 0x40
lea rcx, [rsp + 0x30]
movq r9, xmm3
call fcn.1400026f0
cmp byte [rsp + 0x30], 0x20
lea rcx, [rsp + 0x30]
jne 0x14003736d
inc rcx
cmp byte [rcx], 0x20
je 0x140037365
lea eax, [rbx - 4]
cmp eax, 1
jbe 0x1400373e7
movzx edx, byte [rcx]
movzx r8d, dl
cmp dl, 0x2d
jne 0x140037386
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
xorps xmm1, xmm1
cmovne rax, rcx
cmp r8b, 0x2b
lea rcx, [rax + 1]
cmovne rcx, rax
movzx eax, byte [rcx]
cmp al, 0x30
jl 0x1400373d6
movss xmm2, dword [0x14004a3f4]
nop dword [rax]
cmp al, 0x39
ja 0x1400373d6
movsx eax, byte [rcx]
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1400373b0
cmp dl, 0x2d
jne 0x1400373f4
xorps xmm1, xmmword [0x14004aaf0]
movaps xmm0, xmm1
jmp 0x1400373fc
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400373fc
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140042880
add rsp, 0x80
pop rbx
ret

Function at 0x140037420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [rcx]
mov ebx, edx
test al, al
je 0x140037458
cmp al, 0x25
jne 0x14003744d
cmp byte [rcx + 1], al
jne 0x140037458
inc rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x140037441
cmp byte [rcx], 0x25
jne 0x14003751b
cmp byte [rcx + 1], 0x25
je 0x14003751b
mov r8, rcx
movaps xmm3, xmm2
lea rcx, [rsp + 0x30]
movq r9, xmm2
mov edx, 0x40
call fcn.1400026f0
cmp byte [rsp + 0x30], 0x20
lea rcx, [rsp + 0x30]
jne 0x140037499
inc rcx
cmp byte [rcx], 0x20
je 0x140037491
lea eax, [rbx - 4]
cmp eax, 1
jbe 0x14003750d
movzx edx, byte [rcx]
movzx r8d, dl
cmp dl, 0x2d
jne 0x1400374b2
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
xorps xmm1, xmm1
cmovne rax, rcx
cmp r8b, 0x2b
lea rcx, [rax + 1]
cmovne rcx, rax
movzx eax, byte [rcx]
cmp al, 0x30
jl 0x1400374fc
movsd xmm2, qword [0x14004a390]
cmp al, 0x39
ja 0x1400374fc
movsx eax, byte [rcx]
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400374d8
cmp dl, 0x2d
jne 0x140037516
xorps xmm1, xmmword [0x14004aae0]
movaps xmm0, xmm1
jmp 0x14003751e
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14003751e
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140042880
add rsp, 0x80
pop rbx
ret
Function at 0x140039780
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rdi, rdx
xor edx, edx
cmp ecx, 0x7b
ja 0x1400397b4
movsxd rax, ecx
lea rdx, [0x140052210]
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x14004a510]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], 0
test rdx, rdx
jne 0x1400397e3
mov r8d, 0xa
lea rdx, str.Select_Key
jmp 0x1400397fa
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400397f0
lea rcx, [rsp + 0x38]
call fcn.140041440
cmp ebx, 1
jne 0x140039820
mov r8d, 9
lea rdx, str.Press_Key
lea rcx, [rsp + 0x38]
call fcn.140041440
mov dword [rsp + 0x30], 0x42fa0000
mov dword [rsp + 0x34], 0x41c80000
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.1400260d0
test al, al
je 0x140039871
test ebx, ebx
jne 0x140039871
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400398b1
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400398ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400398ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042c94
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140042880
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400398d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
lea rdx, [0x140052d90]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400398f6
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x140052e4c]
lea rdx, [0x140052e30]
mov rcx, qword [0x140052d90]
xor r10d, r10d
mov r9, qword [0x140052d88]
mov r8d, 1
mov qword [rsp + 0x38], rdx
lea rdx, [0x140052df0]
mov dword [0x140052df0], eax
mov eax, dword [0x140052e48]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x140052dfc], r10
mov qword [0x140052e08], 1
mov qword [0x140052e24], r10
mov dword [0x140052e18], 1
mov qword [0x140052e10], r9
mov dword [0x140052e04], r10d
mov dword [0x140052df8], 0x15
mov dword [0x140052df4], eax
mov dword [0x140052e1c], 1
mov dword [0x140052e20], 0x50
mov dword [0x140052e2c], r10d
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x1400399c8
mov rcx, qword [0x140052d90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rdi
call fcn.140005650
mov rdi, qword [0x140052d88]
lea rcx, [0x140052ea0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140039ad0
lea rcx, [0x140052e98]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140039ad0
mov rbx, qword [0x140052d20]
lea rax, str.imgui_impl_win32
mov qword [0x140052e90], rdi
or dword [rbx + 0xc], 6
mov qword [rbx + 0xd8], rax
mov qword [rbx + 0x108], rdi
mov dword [rbx + 0x3c], 9
mov dword [rbx + 0x40], 0x25
mov dword [rbx + 0x44], 0x27
mov dword [rbx + 0x48], 0x26
mov dword [rbx + 0x4c], 0x28
mov dword [rbx + 0x50], 0x21
mov dword [rbx + 0x54], 0x22
mov dword [rbx + 0x58], 0x24
mov dword [rbx + 0x5c], 0x23
mov dword [rbx + 0x60], 0x2d
mov dword [rbx + 0x64], 0x2e
mov dword [rbx + 0x68], 8
mov dword [rbx + 0x6c], 0x20
mov dword [rbx + 0x70], 0xd
mov dword [rbx + 0x74], 0x1b
mov dword [rbx + 0x78], 0x41
mov dword [rbx + 0x7c], 0x43
mov dword [rbx + 0x80], 0x56
mov dword [rbx + 0x84], 0x58
mov dword [rbx + 0x88], 0x59
mov dword [rbx + 0x8c], 0x5a
jmp 0x140039ad7
mov rbx, qword [0x140052d20]
cmp byte [0x1400520c0], 0
mov rax, qword [0x140052e30]
mov rdi, qword [rsp + 0x40]
je 0x140039af3
mov byte [0x1400520c0], 0
lea rcx, str.imgui_impl_dx9
mov qword [0x140052e80], rax
mov qword [rbx + 0xe0], rcx
call fcn.14001c6f0
mov rcx, qword [rbx + 0xa0]
call fcn.140020490
movss xmm2, dword [0x14004a410]
mov rcx, qword [rbx + 0xa0]
call fcn.140020a70
mov qword [rbx + 0xb0], rax
mov rcx, qword [0x140052d90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x48
ret
Function at 0x140039b50
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm1, xmm1
mov rbx, rcx
cvtss2sd xmm1, xmm2
lea rcx, [rsp + 0x38]
mov rdi, rdx
call fcn.140037f60
cmp qword [rsp + 0x50], 0xf
lea rax, str.C:FortniteCFG
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x38]
cmova r8, qword [rsp + 0x38]
lea r9, [rsp + 0x58]
mov rdx, rdi
mov dword [rsp + 0x20], 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140039bf9
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039bf4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140039bf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042c94
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvttsd2si eax, xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140042880
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400435b0
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400139a0
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]
nop
add rsp, 0x28
ret

Function at 0x1400112da
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
jmp 0x140012330
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400230f4]
call fcn.1400113f7
nop
mov eax, dword [0x14001d200]
mov r9d, 0x40
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14001239e
lea rdx, str.Memory_allocation_failed
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov eax, 0xffffffff
jmp 0x1400123e2
mov eax, dword [0x14001d200]
mov r8d, eax
lea rdx, section..data
mov rcx, qword [rbp + 8]
call fcn.140011208
nop
lea rdx, str.Executing_shellcode...
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
call qword [rbp + 8]
nop
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014cf0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014d10
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014d23
xor al, al
jmp 0x140014d91
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 0x140014d4d
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014d61
xor al, al
jmp 0x140014d91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014d73
xor al, al
jmp 0x140014d91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014d8f
xor al, al
jmp 0x140014d91
mov al, 1
add rsp, 0x38
ret
Function at 0x140012a40
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001141f
movzx eax, al
test eax, eax
jne 0x140012a60
mov ecx, 7
call fcn.14001138e
nop
mov byte [rsp + 0x20], 0
call fcn.1400113a2
mov byte [rsp + 0x21], al
cmp dword [0x14001dae8], 1
jne 0x140012a84
mov ecx, 7
call fcn.14001138e
nop
jmp 0x140012adc
cmp dword [0x14001dae8], 0
jne 0x140012ad7
mov dword [0x14001dae8], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111ef
test eax, eax
je 0x140012ab8
mov eax, 0xff
jmp 0x140012be1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011398
mov dword [0x14001dae8], 2
jmp 0x140012adc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001137a
call fcn.14001130c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012b39
mov rcx, qword [rsp + 0x30]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012b39
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.14001133e
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140012b6d
mov rcx, qword [rsp + 0x38]
call fcn.14001119f
movzx eax, al
test eax, eax
je 0x140012b6d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113d9
nop
call fcn.140012c90
mov dword [rsp + 0x28], eax
call fcn.1400112e4
movzx eax, al
test eax, eax
jne 0x140012b8c
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140012b9b
call fcn.1400113e3
nop
xor edx, edx
mov cl, 1
call fcn.14001118b
mov eax, dword [rsp + 0x28]
jmp 0x140012be1
add rsp, 0x68
ret
Function at 0x14000265c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13e0
call fcn.140077190
sub rsp, rax
mov rax, qword [0x14009a040]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rsp + 0x20], 1
mov edi, 0x1e
mov edx, edi
call fcn.140003444
and qword [rbx + 0x10], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
or dword [rsp + 0x13c4], 0xffffffff
mov dword [rsp + 0x44], eax
lea edx, [rdi - 0x1d]
mov r8d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x44], ecx
inc rdx
cmp rdx, r8
jb 0x1400026e2
mov dword [rsp + 0x40], r8d
and qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0x3d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140003bb0
lea r9, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
mov r9b, byte [rax + r9]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140002755
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000274a
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000275d
mov rcx, rbx
call fcn.140003540
sub rdi, 1
jne 0x140002711
mov rax, rbx
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140075300
mov rbx, qword [rsp + 0x13f8]
add rsp, 0x13e0
pop rdi
ret