joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002620
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002638
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002640
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002650
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000269d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002694
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000269f
add rax, 0x28
cmp rax, r9
jne 0x140002680
xor eax, eax
ret

Function at 0x1400026a0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002730
mov rdx, qword [0x1400043b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000271e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000271e
cmp word [rax + 0x18], 0x20b
jne 0x14000271e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002730
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002709
add rbx, 0x28
cmp rbx, rdi
je 0x140002730
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002700
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002740
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002760
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002768
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002760
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400027bd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400027b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002760
add rax, 0x28
cmp rax, r9
jne 0x1400027a0
xor eax, eax
ret

Function at 0x1400027c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400027df
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400027e8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400027df
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002800
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002820
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002828
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002820
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002870
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002867
test rcx, rcx
je 0x140002820
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002858
xor eax, eax
ret

Function at 0x140002880
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000289f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400028a8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400028c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400028e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400028e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400028e0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400028e0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002934
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002940
add rdx, 0x28
cmp r9, rdx
jne 0x140002920
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002950
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002972
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002980
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002972
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002972
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002972
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400029d5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400029e8
add rdx, 0x28
cmp rdx, r10
jne 0x1400029c0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400029f7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002a07
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400029de
test ecx, ecx
jg 0x1400029f0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140003e4c
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
mov al, byte [rcx]
mov r9d, 0x6e98
xor al, 0x98
mov byte [r8], al
inc r8
movzx eax, word [rcx]
lea rcx, [rcx + 2]
cmp r9w, ax
jne 0x140003e4f
mov rax, rdx
ret

Function at 0x140006be0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
xor edi, edi
mov r14, r8
mov ebp, edx
mov r15, rcx
test edx, edx
je 0x140006ce0
xor r9d, r9d
lea esi, [rbx + 3]
xor r12d, r12d
lea r13, [0x14004b77e]
mov al, byte [r15]
dec ebp
mov byte [rsp + r9 + 0x68], al
inc r15
inc r9
inc ebx
cmp r9, rsi
jne 0x140006c65
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.14000700c
xor edx, edx
add edi, 4
movzx eax, byte [rsp + rdx + 0x70]
inc rdx
mov cl, byte [r13 + rax*2]
xor cl, 0x98
mov byte [r14 + r12], cl
inc r12
cmp rdx, 4
jl 0x140006c43
xor ebx, ebx
xor r9d, r9d
test ebp, ebp
jne 0x140006c18
test ebx, ebx
je 0x140006ce0
cmp ebx, esi
jge 0x140006c8a
mov eax, esi
lea rcx, [rsp + 0x68]
sub eax, ebx
xor edx, edx
movsxd r8, eax
movsxd rax, ebx
add rcx, rax
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.14000700c
lea ecx, [rbx + 1]
movsxd r9, ecx
test ecx, ecx
jle 0x140006cc8
movsxd r8, edi
xor edx, edx
add r8, r14
add edi, ecx
movzx eax, byte [rsp + rdx + 0x70]
inc rdx
mov cl, byte [r13 + rax*2]
xor cl, 0x98
mov byte [r8], cl
inc r8
cmp rdx, r9
jl 0x140006cad
cmp ebx, esi
jge 0x140006ce0
movsxd rcx, edi
sub esi, ebx
add rcx, r14
movsxd r8, esi
mov dl, 0x3d
call sub.ntdll.dll_memset
add edi, esi
mov rbx, qword [rsp + 0x60]
mov eax, edi
movsxd rcx, edi
mov byte [rcx + r14], 0
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400071ac
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
mov r9d, 0x6e98
sub r8, rcx
mov eax, r9d
xor ax, word [rcx]
mov word [r8 + rcx], ax
movzx eax, word [rcx]
lea rcx, [rcx + 2]
cmp r9w, ax
jne 0x1400071b8
mov rax, rdx
ret

Function at 0x1400071d4
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
movsx eax, byte [rcx]
mov r9d, 0x6e98
xor ax, r9w
mov word [r8], ax
lea r8, [r8 + 2]
mov al, byte [rcx]
inc rcx
test al, al
jne 0x1400071d7
mov rax, rdx
ret

Function at 0x1400073d0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rcx
test edx, edx
je 0x140007406
mov r9, rcx
mov rax, r9
lea rcx, [0x14004a5f0]
sub rax, r10
and eax, 0xf
mov cl, byte [rax + rcx]
xor cl, byte [r9]
xor cl, r8b
inc r8d
not cl
mov byte [r9], cl
inc r9
cmp r8d, edx
jb 0x1400073dd
ret
Function at 0x1400083f0
Capabilities:
Encode data using xor

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 rdi, rcx
lea rdx, [0x14004ab0a]
mov rcx, qword [rcx]
xor r15d, r15d
mov bpl, r15b
call fcn.1400039f4
lea r13d, [r15 + 1]
mov rcx, rax
test rax, rax
jne 0x140008445
mov rcx, qword [rdi]
lea rdx, [0x14004ab1a]
call fcn.1400039f4
mov rcx, rax
mov bpl, r13b
test rcx, rcx
jne 0x14000844f
mov rsi, qword [rdi]
jmp 0x14000845b
movzx esi, bpl
add rsi, 7
lea rsi, [rcx + rsi*2]
lea rdx, [0x14004ab2c]
mov rcx, rsi
call fcn.1400039f4
mov rbx, rax
mov r12d, 0x6e98
test rax, rax
jne 0x1400084a4
lea rdx, [0x14004ab30]
mov rcx, rsi
call fcn.1400039f4
mov rbx, rax
test rax, rax
jne 0x1400084a4
mov rcx, qword [rdi]
call fcn.140003944
mov rbx, rax
mov word [rdi + 0x88], r12w
jmp 0x1400084c7
mov rcx, rbx
call fcn.1400039dc
cmp rax, 0x80
ja 0x14000862f
lea rdx, [rdi + 0x88]
mov rcx, rbx
call fcn.140003890
sub rbx, rsi
sar rbx, 1
lea rax, [rbx + 1]
cmp rax, 0x40
ja 0x14000862f
lea r14, [rdi + 8]
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.140008360
lea rdx, [0x14004ab34]
mov rcx, rsi
call fcn.1400039f4
mov bx, 0x30
test rax, rax
jne 0x140008540
lea rax, [0x14004ab40]
test bpl, bpl
lea rcx, [0x14004ab38]
cmove rcx, rax
lea rdx, [rdi + 0x188]
call fcn.140003890
neg bpl
sbb ax, ax
and ax, 0x16b
add ax, 0x50
mov word [rdi + 0x198], ax
jmp 0x1400085fb
lea r8, [rax + 2]
mov dl, r15b
mov eax, r12d
xor ax, word [r8]
cmp ax, bx
jb 0x14000862f
cmp ax, 0x39
ja 0x14000858f
movzx eax, word [r8]
movzx ecx, dl
add dl, r13b
mov word [rdi + rcx*2 + 0x188], ax
movzx eax, dl
add rax, r13
cmp rax, 8
ja 0x14000862f
add r8, 2
mov eax, r12d
xor ax, word [r8]
cmp ax, bx
jae 0x140008557
test dl, dl
je 0x14000862f
movzx r8d, dl
lea r10, [rdi + 0x186]
movzx r9d, r13w
movzx r11d, r15w
mov word [rdi + r8*2 + 0x188], r12w
lea r10, [r10 + r8*2]
mov word [rdi + 0x198], r15w
movzx eax, r9w
mov ecx, r12d
xor cx, word [r10]
lea r10, [r10 - 2]
sub cx, bx
movzx edx, cx
imul edx, eax
movzx eax, r9w
shl ax, 2
add r9w, ax
add r9w, r9w
add dx, r11w
mov word [rdi + 0x198], dx
movzx r11d, dx
sub r8, r13
jne 0x1400085bf
mov dl, r13b
jmp 0x140008616
movzx eax, cx
sub ax, bx
cmp ax, 9
jbe 0x140008612
cmp cx, 0x2e
jne 0x140008621
add r14, 2
mov ecx, r12d
xor cx, word [r14]
jne 0x140008600
jmp 0x140008624
mov dl, r15b
mov byte [rdi + 0x19a], dl
mov al, r13b
jmp 0x140008631
xor al, al
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 0x14000e724
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rsi, rcx
lea rdx, [rsp + 0x30]
xor ebx, ebx
lea rcx, [0x14006103e]
mov dword [rsp + 0x20], ebx
call fcn.140003890
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000385c
lea rdx, [rsp + 0x30]
lea rcx, [0x140061042]
call fcn.14000385c
mov rcx, qword [0x14008e930]
lea rdx, [rsp + 0x30]
call fcn.1400039f4
mov rdi, rax
test rax, rax
je 0x14000e85c
lea rcx, [rsp + 0x30]
call fcn.1400039dc
lea rdi, [rdi + rax*2]
mov eax, 0x6ec3
cmp word [rdi], ax
jne 0x14000e85c
lea rdx, [0x140061046]
mov rcx, rdi
call fcn.1400039f4
mov r8, rax
test rax, rax
je 0x14000e85c
sub rax, rdi
sar rax, 1
dec rax
cmp rax, 8
ja 0x14000e85c
xor r11d, r11d
lea r9, [rsp + 0x20]
sub r8, 2
cmp r8, rdi
je 0x14000e85c
xor r10d, r10d
lea ebp, [rbx + 0x30]
mov edx, 0x6e98
mov ecx, ebp
xor dx, word [r8]
mov ebx, 0x37
movzx eax, dx
sub ax, bp
cmp ax, 9
cmova ecx, ebx
sub dl, cl
movzx edx, dl
mov al, dl
shl al, 4
test r10d, r10d
movzx ecx, al
lea rax, [r9 + 1]
cmove ecx, edx
inc r11d
or byte [r9], cl
sub r8, 2
mov r10d, r11d
and r10d, 1
cmovne rax, r9
mov r9, rax
cmp r8, rdi
jne 0x14000e7f1
mov ebx, dword [rsp + 0x20]
test ebx, ebx
je 0x14000e85c
mov r8d, ebx
lea rcx, [0x14006104a]
mov rdx, rsi
call fcn.14003e9d0
lea r11, [rsp + 0xb0]
not ebx
mov rbp, qword [r11 + 0x18]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400298f8
Capabilities:
Encode data using xor

Disassembly:
mov r8, rdx
sub r8, rcx
mov eax, 0x6e98
xor ax, word [rcx]
mov word [r8 + rcx], ax
movzx eax, word [rcx]
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400298fe
mov rax, rdx
ret
Function at 0x14003d048
Capabilities:
Parse pe header

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
xor r15d, r15d
mov r12d, 1
cmp qword [0x14008f348], r15
jne 0x14003d1a9
xor ecx, ecx
call fcn.140043038
mov rcx, rax
mov rdi, rax
call fcn.14003da90
test al, al
jne 0x14003d099
mov eax, r12d
jmp 0x14003d212
mov eax, 0x5a4d
cmp word [rdi], ax
je 0x14003d0ad
mov eax, 2
jmp 0x14003d212
cmp dword [rdi + 0x3c], 0x400
jl 0x14003d0c0
mov eax, 3
jmp 0x14003d212
movsxd rbx, dword [rdi + 0x3c]
add rbx, rdi
cmp dword [rbx], 0x4550
je 0x14003d0d9
mov eax, 4
jmp 0x14003d212
mov qword [0x14008f348], r15
movzx r14d, r15w
movzx esi, word [rbx + 0x14]
add rsi, rbx
cmp r15w, word [rbx + 6]
jae 0x14003d1c7
movsx rax, r14w
lea rbp, [rax + rax*4]
mov eax, dword [rsi + rbp*8 + 0x3c]
test eax, 0x22000020
jne 0x14003d131
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x14003d131
cmp dword [rsi + rbp*8 + 0x20], 0x10
jb 0x14003d131
mov eax, dword [rsi + rbp*8 + 0x24]
test eax, eax
je 0x14003d131
lea rcx, [rdi + rax]
call fcn.14003da90
test al, al
jne 0x14003d160
movzx ecx, word [rbx + 6]
add r14w, r12w
movsx eax, r14w
cmp eax, ecx
jl 0x14003d0f6
mov rcx, qword [0x14008f348]
test rcx, rcx
je 0x14003d1c7
call fcn.14003da90
test al, al
jne 0x14003d17b
mov eax, 6
jmp 0x14003d212
mov eax, dword [rsi + rbp*8 + 0x24]
mov ecx, dword [rsi + rbp*8 + 0x20]
add rax, rdi
add rcx, 0xfffffffffffffff0
add rcx, rax
mov qword [0x14008f348], rcx
jmp 0x14003d148
mov rdx, qword [0x14008f348]
lea rcx, [0x14008f338]
mov r8d, 0x10
call sub.ntdll.dll_memcpy
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [0x14008f350], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x4000
call fcn.14003d274
test eax, eax
jne 0x14003d1ce
mov eax, 7
jmp 0x14003d212
mov eax, 5
jmp 0x14003d212
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, r12d
call fcn.14003d2c4
test eax, eax
jne 0x14003d1ea
mov eax, 8
jmp 0x14003d212
mov rax, qword [0x14008f348]
movabs rcx, 0xebb3d7f5abce9b9d
mov qword [rax], rcx
lea rcx, [0x14008f300]
mov rax, qword [0x14008f348]
mov qword [rax + 8], rcx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14003eb5c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
lea rdx, [rsp + 0x40]
mov rbx, rcx
call fcn.1400071ac
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call fcn.140028dbc
mov rdx, rax
lea rdi, [rsp + 0x40]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
cmp rdx, 0xffffffffffffffff
jne 0x14003ebde
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14003ebda
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x14003ebda
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x14003ebf9
xor al, al
jmp 0x14003ebe8
mov rcx, rdx
call fcn.1400047c4
mov al, 1
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, [0x14007641c]
mov r8d, eax
call fcn.14003ff40
call fcn.1400441ec
int3

Function at 0x140040a24
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x50]
xor r9d, r9d
mov r8d, 0x2000
mov qword [rsp + 0x20], rax
mov rbx, rdx
xor edi, edi
call fcn.140040aa8
test al, al
je 0x140040a95
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x140040a95
test cl, 1
jne 0x140040a95
mov eax, ecx
mov edx, 0x6e98
shr rax, 1
movzx r9d, word [rbx + rax*2 - 2]
cmp r9w, dx
je 0x140040a90
shr ecx, 1
je 0x140040a90
mov r8d, ecx
movzx eax, r9w
xor ax, word [rbx]
xor ax, dx
mov word [rbx], ax
lea rbx, [rbx + 2]
sub r8, 1
jne 0x140040a79
mov dil, 1
jmp 0x140040a9a
mov word [rbx], 0x6e98
mov rbx, qword [rsp + 0x40]
mov al, dil
add rsp, 0x30
pop rdi
ret
Function at 0x140043230
Capabilities:
Resolve function by parsing pe exports

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
movsxd rax, dword [rcx + 0x3c]
mov rbx, rdx
mov rdi, rcx
mov edx, dword [rax + rcx + 0x88]
test edx, edx
je 0x140043334
cmp dword [rax + rcx + 0x8c], 0
je 0x140043334
call fcn.140044aa8
mov esi, eax
mov rcx, rdi
add rsi, rdi
mov edx, dword [rsi + 0x20]
call fcn.140044aa8
mov edx, dword [rsi + 0x24]
mov rcx, rdi
mov r13d, eax
add r13, rdi
call fcn.140044aa8
mov edx, dword [rsi + 0x1c]
mov rcx, rdi
mov r12d, eax
add r12, rdi
call fcn.140044aa8
mov r14d, eax
add r14, rdi
cmp rbx, 0x10000
jae 0x1400432f3
mov edx, dword [rsi + 0x10]
cmp rbx, rdx
jb 0x140043346
mov ecx, dword [rsi + 0x14]
add ecx, edx
cmp rbx, rcx
jae 0x140043346
sub rbx, rdx
mov eax, dword [r14 + rbx*4]
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
xor ebp, ebp
cmp dword [rsi + 0x18], ebp
jbe 0x140043346
mov edx, dword [r13 + rbp*4]
mov rcx, rdi
call fcn.140044aa8
mov edx, eax
mov rcx, rbx
add rdx, rdi
call fcn.140006d00
test al, al
jne 0x140043321
inc ebp
cmp ebp, dword [rsi + 0x18]
jae 0x140043346
jmp 0x1400432fa
movzx edx, word [r12 + rbp*2]
mov rcx, rdi
mov edx, dword [r14 + rdx*4]
call fcn.140044aa8
jmp 0x1400432d6
lea rcx, [0x14007673c]
call fcn.14003ff40
call fcn.1400441ec
int3
mov rdx, rbx
lea rcx, [0x1400767b2]
call fcn.14003ff40
call fcn.1400441ec
int3

Function at 0x14004335c
Capabilities:
Resolve function by parsing pe exports

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, 0xf0
mov rdi, rdx
lea rdx, [rsp + 0x20]
call fcn.1400071d4
lea rcx, [rsp + 0x20]
call fcn.1400430c8
mov rsi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rsi + 0x88]
test ecx, ecx
je 0x140043440
cmp dword [rax + rsi + 0x8c], 0
je 0x140043440
lea rbx, [rsi + rcx]
mov r15d, dword [rbx + 0x24]
mov r14d, dword [rbx + 0x1c]
add r15, rsi
add r14, rsi
cmp rdi, 0x10000
jae 0x14004340b
mov edx, dword [rbx + 0x10]
cmp rdi, rdx
jb 0x140043452
mov ecx, dword [rbx + 0x14]
add ecx, edx
cmp rdi, rcx
jae 0x140043452
sub rdi, rdx
mov eax, dword [r14 + rdi*4]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12d, dword [rbx + 0x20]
xor ebp, ebp
add r12, rsi
cmp dword [rbx + 0x18], ebp
jbe 0x140043452
mov edx, dword [r12 + rbp*4]
mov rcx, rdi
add rdx, rsi
call sub.ntdll.dll_strcmp
test eax, eax
je 0x140043435
inc ebp
cmp ebp, dword [rbx + 0x18]
jae 0x140043452
jmp 0x140043419
movzx eax, word [r15 + rbp*2]
mov eax, dword [r14 + rax*4]
jmp 0x1400433ea
lea rcx, [0x140076818]
call fcn.14003ff40
call fcn.1400441ec
int3
lea rcx, [0x140076894]
call fcn.14003ff40
call fcn.1400441ec
int3
Function at 0x140043578
Capabilities:
Enumerate processes

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, 0x150
and dword [rcx], 0
xor edx, edx
mov r15, rcx
mov dword [rsp + 0x20], 0x130
xor r14d, r14d
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140043672
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14004368c
lea rdx, [rsp + 0x20]
mov rcx, rbx
inc r14d
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400435d5
mov eax, r14d
imul rcx, rax, 0x130
call fcn.14003f854
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r12, rax
xor ebp, ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400436a6
mov eax, ebp
lea rsi, [rsp + 0x20]
imul rdi, rax, 0x130
inc ebp
mov ecx, 0x130
add rdi, r12
rep movsb byte [rdi], byte [rsi]
cmp ebp, r14d
jae 0x140043642
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140043612
mov rcx, rbx
call fcn.1400047c4
lea r11, [rsp + 0x150]
mov dword [r15], ebp
mov rbx, qword [r11 + 0x20]
mov rax, r12
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14007655a]
call fcn.14003ff40
call fcn.1400441ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14007659c]
call fcn.14003ff40
call fcn.1400441ec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400765de]
call fcn.14003ff40
call fcn.1400441ec
int3
Function at 0x180003380
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800033dd
lea rbx, [0x180046360]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800033c4
cmp r10, 2
jb 0x1800033c4
cmp byte [r9], r8b
jne 0x1800033c4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800033a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000341f
lea rbx, [0x180046360]
cmp r8b, 0x23
jne 0x180003403
cmp byte [r9], r8b
jne 0x180003403
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800033f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180003570
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000358a
mov qword [r8], 0
lea rdx, [0x1800430f4]
call fcn.180003430
mov rbx, rax
test rax, rax
jne 0x1800035aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180003695
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180003695
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180003695
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180003695
cmp rdi, 0xffffffffffffffff
je 0x180003695
mov rax, qword [0x180067240]
test rax, rax
je 0x180003626
inc dword [rax + 0xec]
mov rdx, qword [0x180067248]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x180003695
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180003682
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180067240]
test rax, rax
je 0x180003671
dec dword [rax + 0xec]
mov rdx, qword [0x180067248]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x18000369e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180003690
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800036a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret