joyce8/EMBER2024-capa huggingface dataset:
Function at 0x542de0
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x542df8
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x542df8
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x542e00
xor eax, eax
ret
cmp rbx, 3
je 0x542e0c
cmp rbx, 4
jne 0x542e39
cmp al, 0x2c
ja 0x542e26
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x542e36
cmp al, 0x24
je 0x542e36
nop dword [rax]
cmp al, 0x26
jae 0x542e36
jmp 0x542e39
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x542e36
cmp al, 0x5b
je 0x542e36
cmp al, 0x5d
jne 0x542e39
xor eax, eax
ret
cmp al, 0x2f
ja 0x542e72
nop dword [rax]
cmp al, 0x26
ja 0x542e51
cmp al, 0x24
je 0x542e91
cmp al, 0x26
je 0x542e91
jmp 0x542f0b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x542e91
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x542f08
cmp al, 0x2f
je 0x542e91
jmp 0x542f0b
cmp al, 0x3d
ja 0x542e89
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x542e91
nop
cmp al, 0x3d
je 0x542e91
jmp 0x542f0b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x542f00
cmp rbx, 2
jg 0x542ec7
cmp rbx, 1
je 0x542ec1
nop dword [rax]
cmp rbx, 2
jne 0x542f0b
cmp al, 0x2f
je 0x542eb2
cmp al, 0x3b
je 0x542eb2
cmp al, 0x2c
jne 0x542eb9
mov ecx, 1
jmp 0x542ebe
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x542eea
cmp al, 0x40
je 0x542ed9
cmp al, 0x2f
je 0x542ed9
cmp al, 0x3f
jne 0x542ee2
mov ecx, 1
nop
jmp 0x542ee7
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x542ef9
cmp rbx, 7
jne 0x542f0b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x542f08
cmp al, 0x7e
jne 0x542f0b
xor eax, eax
ret
cmp rbx, 7
jne 0x542f21
cmp al, 0x21
je 0x542f1d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x542f21
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x54ace0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x54adb5
movdqa xmm0, xmmword [0x006a4770]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x54ad21
movdqa xmm0, xmmword [0x006a4780]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x54ae37
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x54ae0b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x006a4190]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x006a4b40]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x566ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x566c77
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov byte [rsp + 0xb0], bl
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb8], edi
mov dword [rsp + 0xbc], esi
mov dword [rsp + 0xc0], r8d
mov dword [rsp + 0xc4], r9d
mov dword [rsp + 0xc8], r10d
mov dword [rsp + 0xcc], r11d
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rdx
mov rax, qword [0x00815010]
mov qword [rsp + 0x70], rax
nop
call fcn.00565fe0
test rax, rax
jne 0x566c6b
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + 0x20]
mov rcx, qword [rsp + 0x80]
mov r12d, dword [rsp + 0xc8]
mov r12d, r12d
mov r13, qword [rsp + 0x78]
mov rax, qword [rdx + 0x18]
mov qword [rsp], r12
mov edx, dword [rsp + 0xcc]
mov edx, edx
mov qword [rsp + 8], rdx
mov edx, dword [rsp + 0x98]
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r13
mov qword [rsp + 0x20], 0
movzx edx, byte [rsp + 0xb0]
movzx edi, dl
mov edx, dword [rsp + 0xb4]
mov esi, edx
mov edx, dword [rsp + 0xb8]
mov r8d, edx
mov edx, dword [rsp + 0xbc]
mov r9d, edx
mov edx, dword [rsp + 0xc0]
mov r10d, edx
mov edx, dword [rsp + 0xc4]
mov r11d, edx
mov ebx, 0xb
call fcn.004604a0
test rax, rax
jne 0x566c51
test rcx, rcx
jne 0x566c23
mov rcx, qword [0x0080b450]
mov rdx, qword [0x0080b458]
jmp 0x566c55
cmp rcx, 0x3e5
jne 0x566c3c
mov rcx, qword [0x0080b460]
mov rdx, qword [0x0080b468]
jmp 0x566c55
mov rax, rcx
nop
call fcn.0040a9e0
lea rcx, [0x006a5760]
mov rdx, rax
jmp 0x566c55
xor ecx, ecx
xor edx, edx
mov rax, rcx
mov rbx, rdx
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
je 0x566c71
mov rax, qword [rax + 8]
call fcn.00436d80
nop
mov qword [rsp + 0x18], rax
mov byte [rsp + 0x20], bl
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x3c], r11d
call fcn.00461a60
mov rax, qword [rsp + 0x18]
movzx ebx, byte [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
mov edi, dword [rsp + 0x28]
mov esi, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x38]
mov r11d, dword [rsp + 0x3c]
jmp fcn.00566ae0
Function at 0x140001130
Capabilities:
Enumerate process modules
Find taskbar
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
mov eax, 0x2280
call fcn.1400278a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2270], rax
mov r14, rcx
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x30], ebx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea r8, [rsp + 0x34]
mov dword [r14], ebx
mov edx, 0x2000
mov qword [r14 + 4], 0xffffffffffffffff
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
mov ebp, dword [rsp + 0x34]
shr rbp, 2
test rbp, rbp
je 0x140001250
mov qword [rsp + 0x2298], rdi
mov qword [rsp + 0x2290], rsi
mov edi, dword [rsp + rbx*4 + 0x60]
cmp edi, dword [rsp + 0x30]
jne 0x140001238
mov r8d, edi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140001238
mov r8d, 0x104
lea rdx, [rsp + 0x2060]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
lea rax, [rsp + 0x40]
mov rcx, rsi
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rax, qword [rsp + 0x38]
cmp eax, dword [r14 + 4]
jae 0x14000122f
mov dword [r14], edi
mov qword [r14 + 4], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rbx
cmp rbx, rbp
jl 0x1400011c2
mov rdi, qword [rsp + 0x2298]
mov rsi, qword [rsp + 0x2290]
mov rax, r14
mov rcx, qword [rsp + 0x2270]
xor rcx, rsp
call fcn.140008df0
lea r11, [rsp + 0x2280]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x140001280
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
mov eax, 0x2a48
call fcn.1400278a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a30], rax
lea r8, [0x14003bde0]
xor edx, edx
lea rcx, [0x14003aa74]
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x14000134c
lea rcx, [rsp + 0x40]
call fcn.140001130
mov ecx, dword [0x14003aa74]
mov r9d, 1
xor r8d, r8d
xor edx, edx
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [rax + 8]
mov dword [rsp + 0x68], eax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
mov ecx, dword [0x14003aa74]
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 0x10
lea rdx, [rsp + 0x58]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp dword [rsp + 0x54], 0
jne 0x14000134c
mov ecx, dword [0x14003aa74]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.RstrtMgr.DLL_RmShutdown]
xor eax, eax
mov rcx, qword [rsp + 0x2a30]
xor rcx, rsp
call fcn.140008df0
add rsp, 0x2a48
ret
Function at 0x140001660
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
sub rsp, 0x308
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x105
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [0x1400339c0]
mov edx, 0x105
lea rcx, [rsp + 0xe0]
call fcn.140017920
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x68
lea rax, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x400
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 1
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140008df0
add rsp, 0x308
ret
Function at 0x140001d90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001e8c
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001e8c
mov rcx, rbx
mov dword [rbx], 0x114
call rax
test eax, eax
jne 0x140001e8c
mov ebx, 0x5c
mov dword [rsp + 0x38], eax
mov edx, ebx
mov dword [rsp + 0x3c], 4
lea rcx, str.RegistryMachineSoftwareMicrosoftWindows_NTCurrentVersion
call fcn.14000cb78
movzx edx, bx
lea rcx, [rax + 2]
call fcn.14000cb78
movzx edx, bx
lea rcx, [rax + 2]
call fcn.14000cb78
lea rcx, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
lea rdx, [rax + 2]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001e75
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rdx, [0x140034190]
lea rax, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140008df0
add rsp, 0x50
pop rbx
ret
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140008df0
add rsp, 0x50
pop rbx
ret
Function at 0x140002790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xc0
mov rsi, rcx
xor r14d, r14d
mov qword [rcx], r14
mov edx, 0x67
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140002834
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002834
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test rbp, rbp
je 0x140002834
test eax, eax
je 0x140002834
mov ecx, 0x18
call fcn.1400186c4
mov rbx, rax
test rax, rax
je 0x140002834
mov ecx, edi
call fcn.1400186c4
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r14
test rax, rax
jne 0x140002854
mov rcx, rbx
call fcn.1400182ec
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov r8, rdi
mov qword [rsi], rbx
mov rdx, rbp
mov rcx, rax
call fcn.140027e00
lea rax, [0x1400026e0]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
lea rax, [0x1400026f0]
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0x28], rax
lea rax, [fcn.140001bf0]
movaps xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [0x140002750]
mov qword [rsp + 0x38], rax
lea rax, [0x140002760]
movaps xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [fcn.140001bf0]
mov qword [rsp + 0x48], rax
lea rax, [fcn.140001bf0]
mov qword [rsp + 0x50], rax
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0xb0], r14
call fcn.1400067e0
jmp 0x140002836
Function at 0x140002910
Capabilities:
Create directory
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
lea rax, [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, str.ExplorerPatchercleanup
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140017920
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [0x140033980]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140017920
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, 0xa
lea rdx, [rsp + 0x30]
mov r8d, r9d
mov ecx, eax
call fcn.140018a74
lea r8, [rsp + 0x30]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140017920
lea r8, [0x140034554]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140017920
mov ecx, dword [0x14003aa70]
lea rdx, [rsp + 0x48]
mov r9d, 0xa
mov r8d, r9d
lea eax, [rcx + 1]
mov dword [0x14003aa70], eax
call fcn.140018a74
lea r8, [rsp + 0x48]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140017920
lea r8, [0x140034558]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140017920
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140008df0
add rsp, 0x280
pop rbx
ret
Function at 0x140003730
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x6a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x690], rax
mov rsi, rcx
mov r8, rcx
lea rcx, [rsp + 0x480]
mov edx, 0x104
call fcn.1400178b8
lea r8, [0x1400345ec]
mov edx, 0x104
lea rcx, [rsp + 0x480]
call fcn.140017920
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400037b0
mov eax, 1
jmp 0x14000389b
lea rdx, [0x1400345f4]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140003856
lea rdx, [0x1400345f8]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140003856
mov r8, rsi
lea rcx, [rsp + 0x270]
mov edx, 0x104
call fcn.1400178b8
lea r8, [0x140033980]
mov edx, 0x104
lea rcx, [rsp + 0x270]
call fcn.140017920
lea r8, [rsp + 0x4c]
mov edx, 0x104
lea rcx, [rsp + 0x270]
call fcn.140017920
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x270]
je 0x14000383b
call fcn.140003730
jmp 0x140003852
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140003856
lea rcx, [rsp + 0x270]
call fcn.140002910
test eax, eax
je 0x1400038bc
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400037b0
mov qword [rsp + 0x6b8], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0x12
mov rbx, qword [rsp + 0x6b8]
jne 0x1400038c5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.140008df0
mov rsi, qword [rsp + 0x6c0]
add rsp, 0x6a0
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x14000389b
Function at 0x1400097fc
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f693
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f693
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f693
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f693
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f693
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f693
cmp dword [rcx + 0xf8], 0
je 0x14000f693
mov ecx, ebx
call fcn.14000f744
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f520
nop
cmp dword [rbp + 0x20], 0
je 0x14000f6e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f6ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f624

Function at 0x14000f828
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400278a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001c238
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001909f
mov rax, rbp
jmp 0x1400191a7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3b770]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001f5a0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3b770]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400191a3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400191a3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001f5a0
test rax, rax
js 0x1400191a3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400191a3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140019195
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140019195
cmp byte [rcx], 0xd
jne 0x14001917b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001918a
cmp byte [rcx + 1], 0xa
jne 0x14001918a
inc rcx
jmp 0x14001918a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3a360]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001915d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400191a7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140008df0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret