joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003d78
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
movzx r14d, cx
xor ecx, ecx
call fcn.140003580
mov rsi, rax
test rax, rax
je 0x140003eba
mov eax, 0xfff
cmp r14w, ax
ja 0x140003eba
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x140003eba
movsxd rcx, dword [rsi + 0x3c]
add rcx, rsi
cmp dword [rcx], 0x4550
jne 0x140003eba
movzx edi, word [rcx + 0x14]
movzx eax, word [rcx + 6]
add rdi, 0x18
add rdi, rcx
mov dword [rbp - 0x20], 0xfac48b48
mov dword [rbp - 0x1c], 0x10ec8348
mov dword [rbp - 0x18], 0x106a9c50
lea rcx, [rax + rax*4]
mov dword [rbp - 0x14], 0xcc058d48
lea r12, [rdi + rcx*8]
mov dword [rbp - 0x10], 0x50cccccc
mov dword [rbp - 0xc], 0xb8
mov dword [rbp - 8], 0xcccce900
mov word [rbp - 4], 0xcccc
cmp rdi, r12
je 0x140003eba
mov r8d, 6
lea rdx, [0x140004990]
mov rcx, rdi
call sub.ntoskrnl.exe_strncmp
test eax, eax
jne 0x140003eac
mov ebx, dword [rdi + 0xc]
mov eax, dword [rdi + 8]
add rbx, rsi
lea r15, [rbx - 0x1e]
add r15, rax
jmp 0x140003ea7
mov r8d, 0xf
lea rdx, [rbp - 0x20]
mov rcx, rbx
call sub.ntoskrnl.exe_strncmp
test eax, eax
jne 0x140003ea4
mov al, byte [rbp - 0xd]
cmp byte [rbx + 0x13], al
jne 0x140003ea4
mov al, byte [rbp - 0xc]
cmp byte [rbx + 0x14], al
jne 0x140003ea4
mov al, byte [rbp - 7]
cmp byte [rbx + 0x19], al
jne 0x140003ea4
movzx eax, word [rbx + 0x15]
mov ecx, 0xfff
and ax, cx
cmp ax, r14w
je 0x140003eb5
add rbx, 0x1f
inc rbx
cmp rbx, r15
jb 0x140003e60
add rdi, 0x28
jmp 0x140003e2c
mov rax, rbx
jmp 0x140003ebc
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x140003edc
Capabilities:
Map section object

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
and qword [rbp + 0x67], 0
lea r9, [rbp - 1]
and qword [rbp + 0x77], 0
lea r8, [rbp + 0xf]
and dword [rbp + 0x13], 0
xor eax, eax
and qword [rbp + 0x7f], rax
mov rdi, rdx
and qword [rbp - 9], rax
xorps xmm0, xmm0
and qword [rbp + 0x17], rax
mov edx, 0x80000000
and dword [rbp + 0x2b], 0
mov qword [rbp + 0x1f], rcx
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x28], 0x20
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
movdqu xmmword [rbp + 0x2f], xmm0
mov dword [rbp + 0xf], 0x30
mov dword [rbp + 0x27], 0x240
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
mov ebx, eax
test eax, eax
jns 0x140003f77
lea r8, [0x140004a80]
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x140004039
mov rax, qword [rbp + 0x67]
lea rcx, [rbp + 0x77]
mov qword [rsp + 0x30], rax
mov edx, 4
mov dword [rsp + 0x28], 0x1000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edx
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
mov ebx, eax
test eax, eax
jns 0x140003fba
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r8, [0x140004ab0]
jmp 0x140003f65
mov rcx, qword [rbp + 0x77]
lea rax, [rbp - 9]
mov dword [rsp + 0x48], 2
lea r8, [rbp + 0x7f]
mov dword [rsp + 0x40], 0x100000
xor r9d, r9d
mov dword [rsp + 0x38], 1
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov rcx, qword [rbp + 0x77]
mov ebx, eax
test eax, eax
jns 0x140004022
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r8, [0x140004ae0]
jmp 0x140003f65
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rax, qword [rbp + 0x7f]
mov qword [rdi], rax
mov eax, ebx
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
Function at 0x447c00
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x14a8
call fcn.00477180
sub rsp, rax
movaps xmmword [rsp + 0x1490], xmm15
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm13
movaps xmmword [rsp + 0x1460], xmm12
movaps xmmword [rsp + 0x1450], xmm11
movaps xmmword [rsp + 0x1440], xmm10
movaps xmmword [rsp + 0x1430], xmm9
movdqa xmmword [rsp + 0x1420], xmm8
movaps xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
movdqa xmm9, xmmword [0x0047f5e0]
xor eax, eax
movdqa xmm12, xmmword [0x0047f5f0]
pxor xmm2, xmm2
movdqa xmm4, xmmword [0x0047f610]
movdqa xmm6, xmmword [0x0047f630]
movdqa xmm13, xmmword [0x0047f670]
movdqa xmm14, xmmword [0x0047f680]
movdqa xmm15, xmmword [0x0047f690]
movdqa xmm7, xmmword [0x0047f6a0]
movdqa xmm10, xmmword [0x0047f6b0]
movdqa xmm11, xmmword [0x0047f6c0]
nop dword [rax + rax]
Function at 0x450140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub cl, byte [rdi]
test byte [rsi + rcx*2 + 0x75], dh
jmp 0x125985c
test byte [rsi + 0xf000002], dh
test dword [rax + 2], esi
add byte [rax], al
add byte [rax - 0x3f7bc3fc], cl
mov rax, qword [rcx + 0x10]
mov edx, dword [rcx + 0x3c]
jmp 0x45020a
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 8], 0x5b41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xa], 0x5a41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xc], 0x5941
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 0xe], 0x5841
je 0x4502b4
jne 0x4502b4
jmp 0x1b3eb52
ret
mov qword [rcx + 0x10], rdx
jmp 0x450385
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 6], 0x5c41
jmp 0x45014e
cmp edx, 0x8664
je 0x4502d1
cmp edx, 0x14c
jne 0x45018b
je 0x45026b
jne 0x45026b
jmp 0x458bbe
jne 0x4502c6
add byte [rax], al
add byte [rax], al
jmp 0x450193
jne 0x450342
je 0x108e8d3d
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
mov qword [rcx + 0x10], rdx
je 0x450303
jne 0x450303
jmp 0x4502f4
je 0x450285
jne 0x450285
add byte [rax], al
add byte [rax], al
mov rdx, qword [rcx + 8]
mov byte [rdx + r8], 0x58
mov qword [rcx + 0x10], r9
jmp 0x45018b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x11], 0x5e
mov rdx, qword [rcx + 8]
je 0x45028c
jne 0x45028c
je 0x2554706
mov byte [rax + rdx + 2], 0x5d
pop rbp
je 0x450342
jmp 0x4501e5
mov byte [rax + rdx + 4], 0x5a
mov rdx, qword [rcx + 8]
lea r8, [rax + 6]
je 0x4502c6
jmp 0x4501d7
mov byte [rax + rdx + 3], 0x5b
mov rdx, qword [rcx + 8]
jmp 0x45024b
mov rdx, qword [rcx + 8]
mov byte [rdx + rax], 0x5f
mov rdx, qword [rcx + 8]
mov byte [rax + rdx + 1], 0x5e
mov rdx, qword [rcx + 8]
je 0x45023c
jne 0x45023c
jmp 0x442972
jmp 0x4501b0
jne 0x4502f4
mov byte [r9 + rdx + 0x12], 0x5d
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x13], 0x5b
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x14], 0x5a
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x15], 0x59
jmp 0x4502dd
je 0x8968e00
mov rdx, qword [rcx + 8]
mov byte [r9 + rdx + 0x10], 0x5f
jmp 0x450228
jne 0x450317
jmp 0x5554790
mov byte [rax + rdx + 5], 0x59
lea r9, [rax + 7]
jmp 0x4502e5
mov r8, qword [rcx + 8]
lea rdx, [rax + 1]
jmp 0x450339
lea r8, [r9 + 0x16]
add r9, 0x17
je 0x450212
jne 0x450212
jmp 0x4502b2
jmp 0x4501a0
je 0x450317
jmp 0x4502c3
mov byte [r8 + r9], 0x8b
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
je 0x450383
jne 0x450383
jmp 0x450317
mov qword [rcx + 0x10], rdx
mov byte [r8 + r9], 0xe5
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
lea rdx, [r9 + 1]
jmp 0x45035d
lea rdx, [r9 + 1]
jmp 0x4502f9
mov qword [rcx + 0x10], rdx
je 0x45036d
jne 0x45036d
jmp 0x8968e8e
mov rdx, qword [rcx + 8]
je 0x45025f
jne 0x45025f
je 0x441641
inc dword [rax]
add byte [rax], al
add byte [rdi], cl
test byte [rsi - 2], bh
invalid
je 0x4501e1
jne 0x4501e1
add byte [rax], al
add byte [rax], al
mov byte [r8 + rax], 0x48
mov r8, qword [rcx + 8]
je 0x4501ed
jne 0x4501ed
jmp 0xffffffffc688ae72
jmp 0x45032f
mov byte [r8 + r9], 0x5d
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov word [r8 + r9], 0x5f41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 2], 0x5e41
mov rdx, qword [rcx + 8]
mov word [r9 + rdx + 4], 0x5d41
je 0x4502f4
jmp 0x45028a
invalid
Function at 0x45a860
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
jmp 0x45aab8
mov edi, edx
jmp 0x45ab91
je 0x45aabe
jne 0x45aabe
je 0x539b0218
push rsi
push rdi
push rbp
push rbx
jmp 0x45abba
sub rsp, 0xa8
jmp 0x45a9b8

Function at 0x468c50
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x0047fbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret

Function at 0x468d90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov qword [rsp + 0x50], rcx
mov eax, dword [rdx]
mov dword [rsp + 0xc], eax
mov eax, dword [rdx + 4]
mov dword [rsp + 0x10], eax
mov eax, dword [rdx + 8]
mov dword [rsp + 0x14], eax
mov r12d, dword [rdx + 0xc]
mov r13d, dword [rdx + 0x10]
mov r14d, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x18]
mov r10d, dword [rdx + 0x1c]
mov edi, dword [rdx + 0x20]
mov r11d, dword [rdx + 0x24]
mov ebx, dword [rdx + 0x28]
mov ebp, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x30]
mov eax, dword [rdx + 0x34]
mov r9d, dword [rdx + 0x38]
mov r8d, dword [rdx + 0x3c]
mov dword [rsp + 0x4c], 0xfffffff8
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], r9d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], ecx
mov edx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 8], ebp
mov dword [rsp + 0x34], ebx
mov dword [rsp], ebx
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x2c], edi
mov ebp, edi
mov dword [rsp + 0x28], r10d
mov edi, r10d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x20], r14d
mov ebx, r14d
mov dword [rsp + 0x1c], r13d
mov dword [rsp + 0x18], r12d
mov r14d, r12d
mov r12d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov ecx, dword [rsp + 0xc]
nop

Function at 0x46ed00
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x46ed8b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x40], rax
xor eax, eax
ret
mov eax, 1
ret
Function at 0x46f7b0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.0046f520
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.0046c170
mov rcx, rdi
mov rdx, rbx
call fcn.0046c0f0
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x46f810
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x46f830
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.00469570
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00469200
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.00469220
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0046b4a0
mov rcx, rbx
mov rdx, rbx
call fcn.00469800
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.00469fa0
lea rcx, [rsp + 0x80]
call fcn.00469200
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.004691e0
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.00469550
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00469200
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.004693b0
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.004693b0
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.0046b4a0
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.0046b4a0
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00469220
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.00469220
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.00469fa0
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.00469fa0
mov rcx, rbp
mov rdx, rbx
call fcn.00469a90
mov rcx, rbx
mov rdx, rsi
call fcn.00469a90
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.00469220
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.0046b4a0
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.00469fa0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0046b4a0
mov rcx, rdi
mov rdx, rdi
call fcn.00469a90
mov rcx, r14
mov rdx, rbx
call fcn.0046aae0
mov rcx, r12
mov rdx, r12
call fcn.00469a90
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.00469220
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.00469fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.00469fa0
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x46f900
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.004693b0
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.004693b0
mov rcx, rdi
mov rdx, rdi
call fcn.00469800
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.00469fa0
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.0046a810
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000c0d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000c148
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000c148
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000c135
nop
cmp rbx, rcx
jae 0x14000c148
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000c120
cmp rbx, rcx
jae 0x14000c148
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x14000c14a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d5f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, ecx
mov r14, r8
xor ecx, ecx
mov qword [r8], 0
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000d701
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14000d701
mov edx, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, ebp
mov rdx, rdi
mov rcx, rax
call fcn.140069c50
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rbp, qword [rsp + 0x58]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x14000d6db
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rbp
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], eax
jmp 0x14000d6dd
xor ebx, ebx
mov rcx, rsi
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
jmp 0x14000d703
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d720
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov r15, r8
mov rsi, rdx
mov ebp, ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
movzx edx, bp
mov r8, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14000d84b
mov edx, ebp
lea rcx, [rsp + 0x50]
call fcn.140005fe0
nop
mov r8, rax
lea rdx, [0x14007cef8]
lea rcx, [rsp + 0x48]
call fcn.140005970
nop
lea r8, [0x14007cee8]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400010b0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.1400010b0
xor r9d, r9d
lea r8, [0x14007cedc]
mov rdx, qword [rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d7ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d809
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d828
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000d844
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x14000d925
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r14d, eax
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d8b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
sete al
jmp 0x14000d925
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdi, rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.140069c50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000d960
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call fcn.140001e40
mov rcx, rax
test rax, rax
je 0x14000da3c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rax, [rsp + 0x40]
cmp rax, 0x10000
lea rax, [rsp + 0x40]
jae 0x14000d9e4
movzx edx, ax
mov rcx, rbx
call fcn.140005c20
jmp 0x14000da09
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000d9f0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000bc00
nop
mov dword [rsp + 0x30], 1
lea rdx, str.FLiNGTrainer
mov rcx, rbx
call fcn.14000e220
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400432d0
add rsp, 0x260
pop rbx
ret
mov ecx, 0x80004005
call fcn.140001bd0
int3
Function at 0x14001af70
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x38]
call qword [0x14008dda8]
mov rbx, rax
test rax, rax
jne 0x14001b036
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140005fe0
nop
mov r8, rax
lea rdx, [0x14008dff0]
lea rcx, [rsp + 0x50]
call fcn.140015a50
xor r9d, r9d
mov r8, qword [0x14008df70]
mov rdx, qword [rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b012
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001b02e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x40
pop rbx
ret