joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4603e0
Capabilities:
Reference http user-agent string

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rcx, qword [r14 + 0x30]
inc dword [rcx + 0xd8]
lea rcx, [rsp + 0x40]
nop dword [rax]
cmp qword [r14 + 0x70], rcx
jb 0x46064c
mov qword [rsp + 0x10], r14
mov qword [r14 + 0xa8], 0
mov rcx, qword [r14 + 0x30]
mov rax, qword [rcx + 0xb0]
mov qword [rsp + 0x18], rax
mov qword [rcx + 0xb0], 0
call fcn.00441460
test al, al
jne 0x460465
mov rcx, qword [rsp + 0x10]
mov qword [rcx + 0xd0], 0
cmp byte [0x0099f230], 0
je 0x46058f
mov rax, qword [rsp + 0x18]
jmp 0x460609
cmp byte [0x00990584], 0
je 0x4604aa
movups xmmword [rsp + 0x20], xmm15
lea rax, [0x00441420]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00463760
xorps xmm15, xmm15
mov r14, qword [0x009ed298]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp byte [0x0099f230], 0
je 0x460502
mov rax, qword [rsp + 0x10]
mov rdx, qword [rax + 0x30]
mov rsi, qword [rdx + 0xa0]
mov rdi, qword [rsp + 0x18]
cmp rsi, rdi
jne 0x4604d8
mov edx, dword [rdx + 0x26c]
cmp dword [rsi + 0x14], edx
je 0x460507
lea rax, fcn.00456900
mov qword [rsp], rax
call fcn.00463760
xorps xmm15, xmm15
mov r14, qword [0x009ed298]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x10]
nop
jmp 0x460507
mov rax, qword [rsp + 0x10]
mov rdx, qword [rax + 0x30]
mov rdx, qword [rdx + 0xa0]
inc dword [rdx + 0x14]
mov ebx, 3
mov ecx, 2
nop
call fcn.0043b180
mov rax, qword [rsp + 0x10]
mov qword [rax + 0x70], 0
mov rdx, qword [rax + 0x30]
dec dword [rdx + 0xd8]
cmp byte [rax + 0xb1], 0
je 0x46054f
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x46055d
mov rcx, qword [rax]
add rcx, 0x13a0
mov qword [rax + 0x10], rcx
mov byte [rax + 0xb7], 0
cmp byte [0x00999b20], 0
je 0x460585
mov ebx, 1
call fcn.0045aae0
test al, al
jne 0x460585
nop dword [rax + rax]
call fcn.00439740
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rdx, qword [rcx + 0x30]
dec dword [rdx + 0xd8]
lea rax, [0x00781948]
call fcn.004636e0
mov rcx, qword [rsp + 0x10]
mov qword [rcx + 0x70], 0
mov rdx, qword [rcx + 0x30]
mov rdx, qword [rdx + 0xa0]
inc dword [rdx + 0x14]
mov byte [rcx + 0xb7], 0
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x00781bc8]
mov qword [rsp], rax
nop dword [rax]
call fcn.00463760
xorps xmm15, xmm15
mov r14, qword [0x009ed298]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rax, rcx
mov rcx, qword [rsp + 0x10]
test rax, rax
je 0x46061d
mov rdx, qword [rcx + 0x30]
mov ebx, dword [rax + 0x14]
cmp dword [rdx + 0x26c], ebx
je 0x4605d1
nop dword [rax]
call fcn.004658e0
xorps xmm15, xmm15
mov r14, qword [0x009ed298]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x10]
mov qword [rcx + 0xd0], rax
jmp 0x46058f
lea rax, [0x0075a3b0]
mov ebx, 0x2d
call fcn.00436cc0
nop
int3
Function at 0x4659a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x009ed600]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x009ed061], 0
je 0x4659d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x009ed980]
aesenc xmm0, xmmword [0x009ed990]
aesenc xmm0, xmmword [0x009ed9a0]
movq rax, xmm0
ret
jmp 0x40a100

Function at 0x467ee0
Capabilities:
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x432334
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
cmp dword [0x009ed520], 0
nop
jne 0x4321f2
lea rdx, [0x00467380]
mov qword [0x00996480], rdx
jmp 0x432205
lea rdi, [0x00996480]
lea rdx, [0x00467380]
call fcn.00465b80
xor eax, eax
jmp 0x432220
lea r8, [0x009ed900]
mov byte [r8 + rax], sil
inc dword [0x009ed084]
mov rax, rdi
nop dword [rax]
cmp rax, 0x36
jge 0x432270
lea rdx, [0x0075ccc6]
movzx esi, byte [rdx + rax]
cmp esi, 0x80
jge 0x43223f
lea rdi, [rax + 1]
jmp 0x432265
mov qword [rsp + 0x20], rax
mov ebx, 0x36
mov rcx, rax
mov rax, rdx
call fcn.0045d0e0
lea rdx, [0x0075ccc6]
mov esi, eax
mov rdi, rbx
mov rax, qword [rsp + 0x20]
cmp rax, 0x64
jb 0x432209
jmp 0x432329
call fcn.004313e0
call fcn.00449c40
call fcn.00449ce0
nop
call fcn.00431e60
xor eax, eax
call fcn.00431da0
mov dword [0x009ed0d0], eax
call fcn.00431f20
call fcn.00431c80
mov dword [0x009ed0b0], eax
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
mov rax, qword [0x00958370]
lea rcx, [rsp + 0x28]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
call fcn.00433d20
xorps xmm15, xmm15
mov r14, qword [0x009ed298]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp + 0x2c]
mov qword [0x009ed220], rax
mov rax, qword [0x00958320]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], 1
call fcn.00433da0
xorps xmm15, xmm15
mov r14, qword [0x009ed298]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov ecx, 0x64
call fcn.00465f00
nop
call fcn.004638a0
jmp 0x4321c0
xorps xmm15, xmm15
mov r14, qword [0x009ed298]
mov r14, qword gs:[r14]
mov r14, qword [r14]
jmp 0x4321c0
Function at 0x468320
Capabilities:
Reference http user-agent string

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
lea rax, [0x0075bd07]
mov ebx, 0x32
call fcn.00436cc0
nop
xorps xmm15, xmm15
mov r14, qword [0x009ed298]
mov r14, qword gs:[r14]
mov r14, qword [r14]
jmp 0x4616e0
Function at 0x140001000
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
call fcn.14000eeb0
mov rcx, qword [rax]
mov qword [0x14003a078], rcx
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000f0a4
test rax, rax
je 0x14000106c
lea rcx, str.Windows_original_main_args:_n
call fcn.14000115c
xor ebx, ebx
call fcn.14000e8fc
cmp dword [rax], ebx
jle 0x14000106c
xor edi, edi
call fcn.14000e904
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.14000115c
inc ebx
lea rdi, [rdi + 8]
call fcn.14000e8fc
cmp ebx, dword [rax]
jl 0x140001043
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.140001304
call fcn.1400013a8
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.1400011b8
mov rbx, rax
call fcn.1400013b0
xor r9d, r9d
test edi, edi
jle 0x1400010b8
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a5
mov rdx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010cf
mov rdx, qword [rbx]
mov rcx, qword [section..data]
test rcx, rcx
jne 0x1400010de
mov rcx, qword [rbx]
mov r9, qword [0x140038b50]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 1
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
lea rax, [0x14002847c]
mov qword [rsp + 0x48], rdx
mov rdx, rbx
mov qword [rsp + 0x40], rcx
mov ecx, edi
mov qword [rsp + 0x38], rax
lea rax, [0x140028480]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140038b58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140001da8
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400047d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x140038068]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov rbx, rdx
mov edi, ecx
call fcn.140004a8c
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140004a64
movzx ecx, byte [rbx + 0xf]
shl rcx, 8
cmp byte [0x140038c10], 0
je 0x140004a05
movzx eax, byte [rbx + 0xa]
movzx edx, byte [rbx + 0xb]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 9]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 8]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0xe]
or rcx, rax
movzx eax, byte [rbx + 0xd]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 0xc]
shl rcx, 8
or rcx, rax
shl rcx, 0x20
or rdx, rcx
jl 0x140004a64
xor r8d, r8d
mov ecx, edi
call fcn.14001610c
test rax, rax
js 0x140004a64
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.140019858
test eax, eax
js 0x140004a64
movzx eax, byte [rsp + 0x22]
movzx ecx, byte [rsp + 0x23]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x20]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6064b50
jne 0x140004a64
movzx eax, byte [rsp + 0x56]
movzx edx, byte [rsp + 0x57]
movzx r8d, byte [rsp + 0x53]
shl edx, 8
or edx, eax
shl r8d, 8
movzx eax, byte [rsp + 0x55]
shl edx, 8
or edx, eax
movzx eax, byte [rsp + 0x54]
shl edx, 8
or rdx, rax
movzx eax, byte [rsp + 0x52]
or r8d, eax
shl rdx, 0x20
movzx eax, byte [rsp + 0x51]
shl r8d, 8
or r8d, eax
movzx eax, byte [rsp + 0x50]
shl r8d, 8
or r8, rax
or rdx, r8
jl 0x140004a64
xor r8d, r8d
mov ecx, edi
call fcn.14001610c
test rax, rax
js 0x140004a64
movzx eax, byte [rsp + 0x4e]
mov r8, 0xffffffffffffffc8
movzx edx, byte [rsp + 0x4f]
movzx ecx, byte [rsp + 0x4b]
shl rdx, 8
or rdx, rax
shl rcx, 8
movzx eax, byte [rsp + 0x4d]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x4c]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x4a]
or rcx, rax
shl rdx, 0x20
movzx eax, byte [rsp + 0x49]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x48]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x56]
or rdx, rcx
movzx ecx, byte [rsp + 0x53]
sub r8, rdx
shl rcx, 8
movzx edx, byte [rsp + 0x57]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x55]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x54]
shl rdx, 8
or rdx, rax
movzx eax, byte [rsp + 0x52]
or rcx, rax
shl rdx, 0x20
movzx eax, byte [rsp + 0x51]
shl rcx, 8
or rcx, rax
movzx eax, byte [rsp + 0x50]
shl rcx, 8
or rcx, rax
or rdx, rcx
sub r8, rdx
add rsi, r8
jmp 0x140004a5f
movzx eax, byte [rbx + 0x12]
xor r8d, r8d
movzx edx, byte [rbx + 0x13]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0x11]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0x10]
shl rdx, 8
or rdx, rax
movzx eax, byte [rbx + 0xe]
or rcx, rax
movzx eax, byte [rbx + 0xd]
shl rcx, 8
or rcx, rax
movzx eax, byte [rbx + 0xc]
shl rcx, 8
or rcx, rax
add rcx, rdx
sub rsi, rcx
mov ecx, edi
add rdx, rsi
call fcn.14001610c
test rax, rax
js 0x140004a64
mov rax, rsi
jmp 0x140004a68
or rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14000ac30
mov rbx, qword [rsp + 0x460]
add rsp, 0x430
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004a8c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
mov edi, 2
mov r8d, edi
mov rdx, 0xffffffffffffffea
mov ebp, ecx
call fcn.14001610c
mov rbx, rax
test rax, rax
js 0x140004c1c
lea r8d, [rdi + 0x14]
mov rdx, rsi
mov ecx, ebp
call fcn.140019858
test eax, eax
js 0x140004c1c
movzx eax, byte [rsi + 2]
movzx ecx, byte [rsi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x140004b29
mov rcx, rsi
call fcn.140004ffc
test eax, eax
je 0x140004b21
mov r8, rbx
mov rdx, rsi
mov ecx, ebp
call fcn.140004c3c
mov rbx, rax
mov rax, rbx
jmp 0x140004c20
mov r8d, edi
xor edx, edx
mov ecx, ebp
call fcn.14001610c
mov r15, rax
test rax, rax
js 0x140004c1c
mov r14d, 0x10015
mov r8d, edi
cmp rax, r14
mov ebx, r14d
mov ecx, ebp
cmovl rbx, rax
mov rdx, rbx
neg rdx
call fcn.14001610c
test rax, rax
js 0x140004c1c
mov ecx, r14d
call fcn.14000f2e4
mov rdi, rax
test rax, rax
je 0x140004c1c
mov r8d, ebx
mov rdx, rax
mov ecx, ebp
call fcn.140019858
test eax, eax
js 0x140004c14
movsxd r14, eax
add eax, 0xffffffea
movsxd rbx, eax
add r14, rdi
add rbx, rdi
cmp rbx, rdi
jb 0x140004c14
cmp byte [rbx], 0x50
jne 0x140004beb
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x140004beb
movzx eax, byte [rbx + 0x14]
movzx ecx, byte [rbx + 0x15]
shl rcx, 8
or rcx, rax
lea rax, [rbx + 0x16]
add rax, rcx
cmp rax, r14
je 0x140004bf0
dec rbx
jmp 0x140004ba2
mov r8d, 0x16
mov rdx, rbx
mov rcx, rsi
call fcn.14000b490
mov rcx, rdi
call fcn.14000f2d0
sub rbx, r14
add rbx, r15
jmp 0x140004b05
mov rcx, rdi
call fcn.14000f2d0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140004c3c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov esi, ecx
lea rdx, [r8 - 0x14]
xor r8d, r8d
call fcn.14001610c
mov rdi, rax
test rax, rax
js 0x140004ca3
mov r8d, 0x14
mov rdx, rbx
mov ecx, esi
call fcn.140019858
test eax, eax
js 0x140004ca3
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbx]
shl ecx, 8
or ecx, eax
cmp ecx, 0x7064b50
jne 0x140004ca3
mov rax, rdi
jmp 0x140004ca7
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005078
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x80
cmp qword [rdx + 8], 0xffffffffffffffff
mov r14, r8
mov rbx, rdx
mov esi, ecx
je 0x1400051c8
cmp qword [rdx], 0xffffffffffffffff
je 0x1400051c8
mov rdx, qword [rdx + 0x10]
xor r8d, r8d
call fcn.14001610c
test rax, rax
js 0x1400051c8
mov rcx, qword [rbx + 8]
inc rcx
call fcn.14000f2e4
mov rdi, rax
test rax, rax
je 0x1400051c8
mov r8d, dword [rbx + 8]
mov rdx, rax
mov ecx, esi
call fcn.140019858
movsxd rcx, eax
mov rax, qword [rbx + 8]
cmp rcx, rax
jne 0x1400051c0
cmp dword [rbx + 0x18], 0
jne 0x140005115
mov byte [rax + rdi], 0
test r14, r14
je 0x14000510d
mov eax, dword [rbx + 8]
mov dword [r14], eax
mov rax, rdi
jmp 0x1400051ca
cmp dword [rbx + 0x18], 8
jne 0x1400051c0
and qword [rsp + 0x50], 0
lea r8, str.1.2.11
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x20]
and qword [rsp + 0x60], 0
mov r9d, 0x58
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], eax
lea edx, [r9 - 0x67]
call fcn.140009454
test eax, eax
js 0x1400051c0
mov rcx, qword [rbx]
inc rcx
call fcn.14000f2e4
mov rsi, rax
test rax, rax
je 0x1400051c0
mov ecx, dword [rbx]
mov edx, 1
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
call fcn.140007d74
mov rcx, rdi
test eax, eax
jns 0x140005197
call fcn.14000f2d0
mov rcx, rsi
jmp 0x1400051c3
mov rax, qword [rbx]
mov byte [rsi + rax], 0
call fcn.14000f2d0
lea rcx, [rsp + 0x20]
call fcn.14000940c
test eax, eax
js 0x140005192
test r14, r14
je 0x1400051bb
mov eax, dword [rbx]
mov dword [r14], eax
mov rax, rsi
jmp 0x1400051ca
mov rcx, rdi
call fcn.14000f2d0
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140005468
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax + 0x20], 0
lea rax, [rax - 0x18]
mov rsi, r8
mov qword [rsp + 0x28], rax
mov r9, r8
mov dword [rsp + 0x20], 0x10000
mov rbp, rcx
mov r8, rcx
xor ecx, ecx
mov rdi, rdx
call fcn.140016640
mov rbx, rax
test rax, rax
jne 0x1400054cf
lea rax, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov r8, rbp
and dword [rsp + 0x20], ebx
mov edx, edi
xor ecx, ecx
call fcn.140016640
mov rbx, rax
cmp dword [0x140038040], 0
je 0x140005586
lea rcx, str.J2D_D3D
call fcn.14000f0a4
test rax, rax
je 0x140005506
lea rdx, str.false
mov rcx, rax
call fcn.140018380
neg eax
sbb ecx, ecx
and dword [0x140038040], ecx
lea rcx, str.J2D_D3D_PRELOAD
call fcn.14000f0a4
mov rdi, rax
test rax, rax
je 0x14000553b
lea rdx, str.false
mov rcx, rax
call fcn.140018380
neg eax
sbb ecx, ecx
and ecx, dword [0x140038040]
mov dword [0x140038040], ecx
jmp 0x140005541
mov ecx, dword [0x140038040]
test ecx, ecx
jns 0x140005578
and dword [0x140038040], 0
test rdi, rdi
je 0x140005586
lea rdx, str.true
mov rcx, rdi
call fcn.140018380
mov ecx, dword [0x140038040]
test eax, eax
mov edx, 1
cmove ecx, edx
mov dword [0x140038040], ecx
test ecx, ecx
je 0x140005586
lea rcx, str.preloadD3D
call fcn.1400052f0
test rbx, rbx
je 0x1400055b0
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400055b9
mov rcx, rsi
call rbp
mov dword [rsp + 0x68], eax
cmp dword [0x140038c18], 0
je 0x1400055d0
mov rax, qword [0x140038c40]
test rax, rax
je 0x1400055d0
call rax
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140007a08
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.1400011b8
lea ecx, [rbx + 0x70]
mov rsi, rax
mov dword [rax + 0xc], ebx
call fcn.1400011b8
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.1400011b8
lea rdx, [0x140038c50]
mov rcx, r12
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140007a7f
mov rcx, r14
call fcn.1400011e4
mov rcx, rsi
call fcn.140007740
xor eax, eax
jmp 0x140007bbd
lea r13, [0x140038c7c]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov rbp, qword [r14 + 8]
test rbp, rbp
je 0x140007a9d
and qword [r14 + 8], 0
jmp 0x140007ab5
mov rcx, qword [r14]
lea rdx, [0x140038c50]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r13
test rbp, rbp
je 0x140007ba0
mov rcx, rbp
call fcn.14000f190
cmp eax, 4
jl 0x140007a8d
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x140007a8d
lea rbx, [rcx + rbp]
lea rcx, [rbx - 3]
lea rdx, [0x140029e60]
call fcn.140015190
test eax, eax
je 0x140007b01
lea rdx, [0x140029e64]
lea rcx, [rbx - 3]
call fcn.140015190
test eax, eax
jne 0x140007a8d
mov edx, 0x3b
mov rcx, rbp
call fcn.14000bb58
test rax, rax
jne 0x140007a8d
mov rcx, r12
call fcn.14000f190
mov rcx, rbp
mov rdi, rax
call fcn.14000f190
mov rbx, rax
lea ecx, [rax + rdi]
movsxd rcx, ecx
call fcn.1400011b8
lea ecx, [rdi - 1]
mov rdx, r12
movsxd r8, ecx
mov r15, rax
mov rcx, rax
call fcn.14000b490
lea ecx, [rbx + 1]
mov rdx, rbp
movsxd r8, ecx
movsxd rcx, edi
dec rcx
add rcx, r15
call fcn.14000b490
mov edx, dword [rsi + 8]
mov ecx, dword [rsi + 0xc]
lea eax, [rdx + 1]
cmp ecx, eax
jge 0x140007b8e
add ecx, ecx
cmp ecx, eax
jl 0x140007b70
movsxd rdx, ecx
mov dword [rsi + 0xc], ecx
mov rcx, qword [rsi]
shl rdx, 3
call fcn.1400011ec
mov edx, dword [rsi + 8]
mov qword [rsi], rax
mov rax, qword [rsi]
movsxd rcx, edx
mov qword [rax + rcx*8], r15
inc dword [rsi + 8]
jmp 0x140007a8d
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r14 + 8]
call fcn.1400011e4
mov rcx, r14
call fcn.1400011e4
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000f5d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000f463
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f463
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f463
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f463
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f463
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f463
cmp dword [rcx + 0xf8], 0
je 0x14000f463
mov ecx, ebx
call fcn.14000f504
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000f2f4
cmp dword [rbp + 0x20], 0
je 0x14000f4b0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f4b8
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f3fc
Function at 0x14001ff40
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14001ff1d
call fcn.1400161d4
mov dword [rax], 0x16
call fcn.14001a8e4
or eax, 0xffffffff
jmp 0x14001ff3a
sub dword [rcx + 0x10], 1
jns 0x14001ff2c
add rsp, 0x28
jmp 0x140024d3c
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14001fefc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x140024d6e
call fcn.1400161d4
mov dword [rax], 0x16
call fcn.14001a8e4
jmp 0x140024e8b
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140024e8b
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140024e8b
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140024d9d
lock or dword [rcx + 0x14], 0x10
jmp 0x140024e8b
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140024db1
call fcn.140024eb0
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.14001d070
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.140019858
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140024e79
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x140024e44
mov rcx, rdi
call fcn.14001d070
cmp eax, esi
je 0x140024e2f
mov rcx, rdi
call fcn.14001d070
cmp eax, 0xfffffffe
je 0x140024e2f
mov rcx, rdi
call fcn.14001d070
movsxd rbx, eax
lea r14, [0x1400398b0]
mov rcx, rdi
sar rbx, 6
call fcn.14001d070
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140024e36
lea rdx, [0x1400382d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140024e44
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x140024e68
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x140024e68
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x140024e68
mov dword [rdi + 0x20], 0x1000
add dword [rdi + 0x10], esi
mov rax, qword [rdi]
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x140024e8e
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret