joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402501d4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14023be6c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14023be6c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140250324
cmp rax, 0xffffffffffffffff
je 0x140250324
xor edi, edi
test rbp, rbp
jle 0x1402502cf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140244ab0
mov rbx, rax
test rax, rax
jne 0x14025025c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1402502c5
mov edx, 0x8000
mov ecx, r14d
call fcn.14023cb7c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140242aa4
cmp eax, 0xffffffff
je 0x1402502a5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14025026c
mov edx, r15d
mov ecx, r14d
call fcn.14023cb7c
jmp 0x1402502c5
cmp byte [rsi + 0x38], dil
je 0x1402502bc
cmp dword [rsi + 0x34], 5
jne 0x1402502bc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1402502c5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1402462f4
jmp 0x140250338
jns 0x140250338
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14023be6c
cmp rax, 0xffffffffffffffff
jne 0x1402502f0
cmp byte [rsi + 0x30], dil
je 0x140250338
mov edi, dword [rsi + 0x2c]
jmp 0x140250338
mov ecx, r14d
call fcn.140249de0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140250338
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x140250338
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140250331
mov eax, dword [rsi + 0x2c]
jmp 0x140250336
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14023be6c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140252c24
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140324680]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140252c6e
call fcn.14022cd64
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14022cd84
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.14022ca70
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402187a0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140252c79
lea eax, [rbx + 1]
jmp 0x140252c5b
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140252c59
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140252c5b
Function at 0x1402534a4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1402275a0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14025352e
cmp byte [rbp - 0x21], r15b
je 0x140253529
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140253564
call fcn.1402441b0
test eax, eax
jne 0x140253550
cmp byte [rbp - 0x21], r15b
je 0x140253548
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140253564
cmp byte [rbp - 0x21], r15b
je 0x140253561
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140238d90
test eax, eax
jne 0x140253604
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1402275a0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1402535a3
cmp byte [rbp - 0x21], r15b
je 0x1402535d8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1402535d8
call fcn.1402441b0
test eax, eax
jne 0x1402535c4
cmp byte [rbp - 0x21], r15b
je 0x1402535bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1402535d8
cmp byte [rbp - 0x21], r15b
je 0x1402535d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140238d90
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140253604
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140253607
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140253615
mov rcx, rdi
call fcn.1402462f4
cmp byte [rbp + 0x3f], r15b
je 0x140253624
mov rcx, qword [rbp + 0x27]
call fcn.1402462f4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140256850
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140256878
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140256878
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140adf030
Capabilities:
Terminate process

Disassembly:
ret
cld
pop r11
jmp 0x140adf03d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140adf04d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140adf035
lea eax, [rcx + 1]
jmp 0x140adf05b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140adf06e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140adf054
sub eax, 3
jb 0x140adf08e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140adf0dd
sar eax, 1
movsxd rbp, eax
jb 0x140adf0c4
jmp 0x140adf09c
add ebx, ebx
jne 0x140adf09a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140adf0c4
inc ecx
add ebx, ebx
jne 0x140adf0aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140adf0c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140adf0bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140adf0ac
add ecx, 2
jmp 0x140adf0c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140adeff2
jmp 0x140adf03d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0xad3000]
mov eax, dword [rdi]
or eax, eax
je 0x140adf149
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xadf1e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140adf0ed
jns 0x140adf122
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140adf12c
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140adf143
mov qword [rbx], rax
add rbx, 8
jmp 0x140adf10d
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140adf18d
cmp al, 0xef
ja 0x140adf175
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140adf155
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140adf164
mov eax, dword [rdi]
add rdi, 4
jmp 0x140adf164
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x26f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140adf20c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140adf20c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140adf1fc
sub rsp, 0xffffffffffffff80
jmp 0x1407653dc
Function at 0x1800013e0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
jmp 0x180001402
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 4
jae 0x1800014a0
mov dword [rsp + 8], 0
jmp 0x180001421
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 4
jae 0x18000149b
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4]
mov ecx, dword [rsp + 8]
movzx eax, byte [rax + rcx]
mov byte [rsp], al
movzx eax, byte [rsp]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, str.cw
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
movzx ecx, byte [rsp]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
mov ecx, dword [rsp + 4]
mov rdx, qword [rsp + 0x38]
lea rcx, [rdx + rcx*4]
mov edx, dword [rsp + 8]
mov r8, qword [rsp + 0x10]
movzx eax, byte [r8 + rax]
mov byte [rcx + rdx], al
jmp 0x180001417
jmp 0x1800013f8
add rsp, 0x28
ret

Function at 0x180001850
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0
jmp 0x18000186f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 4
jge 0x1800018d7
movsxd rax, dword [rsp]
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, str.cw
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
movsxd rcx, dword [rsp]
mov rdx, qword [rsp + 0x28]
movzx ecx, byte [rdx + rcx]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
movsxd rcx, dword [rsp]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
jmp 0x180001867
add rsp, 0x18
ret

Function at 0x180001ac0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
jmp 0x180001ae2
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 4
jae 0x180001b80
mov dword [rsp + 8], 0
jmp 0x180001b01
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 4
jae 0x180001b7b
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*4]
mov ecx, dword [rsp + 8]
movzx eax, byte [rax + rcx]
mov byte [rsp], al
movzx eax, byte [rsp]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, [0x18006e860]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
movzx ecx, byte [rsp]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
mov ecx, dword [rsp + 4]
mov rdx, qword [rsp + 0x38]
lea rcx, [rdx + rcx*4]
mov edx, dword [rsp + 8]
mov r8, qword [rsp + 0x10]
movzx eax, byte [r8 + rax]
mov byte [rcx + rdx], al
jmp 0x180001af7
jmp 0x180001ad8
add rsp, 0x28
ret
Function at 0x180001b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0
jmp 0x180001bb7
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 4
jae 0x180001bd7
mov rax, qword [rsp + 0x20]
lea rax, [rsp + rax*4 + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
jmp 0x180001baa
mov qword [rsp], 0
jmp 0x180001bec
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 4
jae 0x180001cb6
mov qword [rsp + 0x10], 0
jmp 0x180001c0f
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 4
jae 0x180001cb1
mov qword [rsp + 8], 0
jmp 0x180001c33
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 4
jae 0x180001cac
mov rax, qword [rsp]
lea rax, [rsp + rax*4 + 0x28]
lea rcx, [0x18006f870]
mov rdx, qword [rsp]
lea rcx, [rcx + rdx*4]
mov rdx, qword [rsp + 0x10]
movzx ecx, byte [rcx + rdx]
imul rcx, rcx, 0x100
lea rdx, [0x18006e960]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x10]
lea rdx, [rdx + rdi*4]
mov rdi, qword [rsp + 8]
movzx edx, byte [rdx + rdi]
movzx ecx, byte [rcx + rdx]
mov rdx, qword [rsp + 8]
movzx eax, byte [rax + rdx]
xor eax, ecx
mov rcx, qword [rsp]
lea rcx, [rsp + rcx*4 + 0x28]
mov rdx, qword [rsp + 8]
mov byte [rcx + rdx], al
jmp 0x180001c26
jmp 0x180001c02
jmp 0x180001be1
mov qword [rsp + 0x18], 0
jmp 0x180001cce
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 4
jae 0x180001cee
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x18]
mov edx, dword [rsp + rdx*4 + 0x28]
mov dword [rax + rcx*4], edx
jmp 0x180001cc1
add rsp, 0x40
pop rdi
ret
Function at 0x1800060d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x38
ret
Function at 0x180023250
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x3e8
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x80]
call fcn.18001c910
nop
mov r8, qword [rsp + 0x400]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x3f0]
call fcn.180024570
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, str._.
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x98]
call fcn.180024870
nop
lea rcx, [rsp + 0x110]
call fcn.1800073e0
nop
lea rcx, [rsp + 0x98]
call fcn.180007c40
lea rdx, [rsp + 0x190]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x180023356
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x3f8]
call fcn.180026340
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x98]
call fcn.1800073e0
nop
lea rcx, [rsp + 0x80]
call fcn.180012f10
nop
mov rcx, qword [rsp + 0x400]
call fcn.180004b40
mov rax, qword [rsp + 0x3f8]
jmp 0x180023521
mov eax, dword [rsp + 0x190]
and eax, 0x10
test eax, eax
jne 0x1800234a9
lea rdx, [rsp + 0x1bc]
lea rcx, [rsp + 0xd8]
call fcn.1800261d0
nop
mov r8, qword [rsp + 0x400]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x3f0]
call fcn.180024570
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, [0x18007050c]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x130]
call fcn.180024870
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0xd8]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xb8]
call fcn.180024810
nop
lea rcx, [rsp + 0x130]
call fcn.1800073e0
nop
lea rcx, [rsp + 0x150]
call fcn.1800073e0
nop
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x3f0]
call fcn.180024410
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.180005650
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.1800118a0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x80]
call fcn.180028160
nop
lea rcx, [rsp + 0x170]
call fcn.180004b40
nop
lea rcx, [rsp + 0xf8]
call fcn.180004b70
nop
lea rcx, [rsp + 0xb8]
call fcn.1800073e0
nop
lea rcx, [rsp + 0xd8]
call fcn.1800073e0
nop
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180023356
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x3f8]
call fcn.180026340
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x98]
call fcn.1800073e0
nop
lea rcx, [rsp + 0x80]
call fcn.180012f10
nop
mov rcx, qword [rsp + 0x400]
call fcn.180004b40
mov rax, qword [rsp + 0x3f8]
add rsp, 0x3e8
ret
Function at 0x180023530
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x3e8
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x80]
call fcn.18001c910
nop
mov r8, qword [rsp + 0x400]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x3f0]
call fcn.180024570
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [0x180070510]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xd8]
call fcn.180024870
nop
lea rcx, [rsp + 0x110]
call fcn.1800073e0
nop
lea rcx, [rsp + 0xd8]
call fcn.180007c40
lea rdx, [rsp + 0x190]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1800237c3
mov eax, dword [rsp + 0x190]
and eax, 0x10
test eax, eax
je 0x18002379c
lea rax, [rsp + 0x1bc]
lea rcx, [0x18007051c]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x180023619
add rax, 2
test dx, dx
jne 0x180023603
xor eax, eax
jmp 0x18002361e
sbb eax, eax
or eax, 1
test eax, eax
je 0x18002379c
lea rax, [rsp + 0x1bc]
lea rcx, [0x180070520]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x18002364e
add rax, 2
test dx, dx
jne 0x180023638
xor eax, eax
jmp 0x180023653
sbb eax, eax
or eax, 1
test eax, eax
je 0x18002379c
lea rdx, [rsp + 0x1bc]
lea rcx, [rsp + 0xb8]
call fcn.1800261d0
nop
mov r8, qword [rsp + 0x400]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x3f0]
call fcn.180024570
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, [0x180070528]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x130]
call fcn.180024870
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x98]
call fcn.180024810
nop
lea rcx, [rsp + 0x130]
call fcn.1800073e0
nop
lea rcx, [rsp + 0x150]
call fcn.1800073e0
nop
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x3f0]
call fcn.180024410
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.180005650
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.1800118a0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x80]
call fcn.180028160
nop
lea rcx, [rsp + 0x170]
call fcn.180004b40
nop
lea rcx, [rsp + 0xf8]
call fcn.180004b70
nop
lea rcx, [rsp + 0x98]
call fcn.1800073e0
nop
lea rcx, [rsp + 0xb8]
call fcn.1800073e0
nop
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800235df
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x3f8]
call fcn.180026340
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xd8]
call fcn.1800073e0
nop
lea rcx, [rsp + 0x80]
call fcn.180012f10
nop
mov rcx, qword [rsp + 0x400]
call fcn.180004b40
mov rax, qword [rsp + 0x3f8]
add rsp, 0x3e8
ret
Function at 0x180023e50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x24], 0
lea rdx, [0x180070534]
mov rcx, qword [rsp + 0x2c0]
call fcn.18000fdb0
movzx eax, al
test eax, eax
je 0x180023eb0
mov dword [rsp + 0x24], 0x1a
jmp 0x180023f01
lea rdx, [0x180070538]
mov rcx, qword [rsp + 0x2c0]
call fcn.18000fdb0
movzx eax, al
test eax, eax
je 0x180023ed5
mov dword [rsp + 0x24], 0
jmp 0x180023f01
lea rdx, [0x1800704f2]
mov rcx, qword [rsp + 0x2b8]
call fcn.1800118a0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2b8]
jmp 0x180023fdd
xor r9d, r9d
mov r8d, dword [rsp + 0x24]
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x180023fbd
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1800261d0
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.1800261d0
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x2b0]
call fcn.180024410
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.180005650
mov rdx, rax
mov rcx, qword [rsp + 0x2b8]
call fcn.1800118a0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x58]
call fcn.180004b70
nop
lea rcx, [rsp + 0x38]
call fcn.1800073e0
nop
lea rcx, [rsp + 0x70]
call fcn.1800073e0
nop
mov rax, qword [rsp + 0x2b8]
jmp 0x180023fdd
mov rcx, qword [rsp + 0x2b8]
call fcn.18001c320
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rdi
ret
Function at 0x180024180
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x90]
call fcn.180005600
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x18002420a
mov rcx, qword [rsp + 0x88]
call fcn.180026440
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x88]
jmp 0x180024347
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xffffffff
jne 0x180024252
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x88]
call fcn.180026440
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x88]
jmp 0x180024347
lea rcx, [rsp + 0x58]
call fcn.180026440
nop
mov eax, dword [rsp + 0x44]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.180028190
nop
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.180004c10
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1800242d6
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x88]
call fcn.180026440
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x58]
call fcn.180004b70
mov rax, qword [rsp + 0x88]
jmp 0x180024347
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
je 0x180024318
mov rcx, qword [rsp + 0x88]
call fcn.180026440
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x58]
call fcn.180004b70
mov rax, qword [rsp + 0x88]
jmp 0x180024347
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x88]
call fcn.180004640
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x58]
call fcn.180004b70
mov rax, qword [rsp + 0x88]
add rsp, 0x78
ret