joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b0f4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400194e0], rdi
je 0x14000b14d
cmp rax, rdi
jne 0x14000b140
mov esi, 1
jmp 0x14000b14d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000b127
mov eax, dword [0x1400194d8]
cmp eax, 1
jne 0x14000b162
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x14000b1c7
mov eax, dword [0x1400194d8]
test eax, eax
jne 0x14000b1bd
mov dword [0x1400194d8], 1
lea r12, [0x140014420]
lea rdi, [0x140014408]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x14000b1af
test eax, eax
jne 0x14000b1af
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000b1a4
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x14000b18d
test eax, eax
je 0x14000b1c7
mov eax, 0xff
jmp 0x14000b314
mov dword [0x140018eac], 1
mov eax, dword [0x1400194d8]
cmp eax, 1
jne 0x14000b1ef
lea rdx, [0x140014400]
lea rcx, [0x1400143f0]
call sub.msvcrt.dll__initterm
mov dword [0x1400194d8], 2
test esi, esi
jne 0x14000b1fc
xor eax, eax
xchg qword [0x1400194e0], rax
cmp qword [0x1400194e8], 0
je 0x14000b225
lea rcx, [0x1400194e8]
call fcn.14000b6c0
test eax, eax
je 0x14000b225
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x1400194e8]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x14000b2b1
cmp byte [rdi], 0
je 0x14000b246
test esi, esi
jne 0x14000b2b1
cmp byte [rdi], 0
je 0x14000b25b
cmp byte [rdi], 0x20
ja 0x14000b25b
add rdi, 1
mov qword [rsp + 0x28], rdi
jmp 0x14000b246
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000e92c
mov dword [0x140018ea8], eax
cmp dword [0x140018e8c], 0
jne 0x14000b29a
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140018eac], 0
jne 0x14000b2af
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140018ea8]
jmp 0x14000b314
cmp byte [rdi], 0x22
jne 0x14000b2c3
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14000b2d9
add rdi, 1
mov qword [rsp + 0x28], rdi
add rdi, 1
mov qword [rsp + 0x28], rdi
jmp 0x14000b238
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.14000b804
add rsp, 0x28
jmp 0x14000b0f4
Function at 0x14000b760
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x14000b7aa
cmp rcx, 0xffffffffffffffff
je 0x14000b7aa
cmp word [rcx], 0x5a4d
jne 0x14000b7a2
cmp dword [rcx + 0x3c], edx
jl 0x14000b7a2
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000b7a2
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000b7aa
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000bfc4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r13, rdx
xor edx, edx
mov r14, r8
mov r15, rcx
lea rcx, [rax - 0x80]
lea r8d, [rdx + 0x20]
call fcn.14000a068
xor r9d, r9d
mov r10, r15
mov eax, r9d
mov ecx, 8
cdq
sub eax, edx
sar eax, 1
movsxd r8, eax
mov eax, r9d
inc r9d
cdq
and eax, 1
xor eax, edx
sub eax, edx
shl eax, 3
sub ecx, eax
movzx eax, byte [r10]
inc r10
shl eax, cl
or dword [rsp + r8*4 + 0x28], eax
cmp r9d, 0x10
jl 0x14000c001
or r10d, 0xffffffff
xor r12d, r12d
xor edx, edx
mov ecx, r10d
mov dword [rsp + 0xc8], r10d
mov dword [rsp + 0xcc], r12d
mov rax, qword [rsp + 0xc8]
mov edi, r10d
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x20], ecx
xor r8d, r8d
lea r9, [rsp + 0x28]
cmp dword [r9], 0
jne 0x14000c090
cmp ecx, r10d
jne 0x14000c088
mov edx, 1
mov ecx, r8d
mov dword [rsp + 0x24], edx
jmp 0x14000c0be
inc edx
mov dword [rsp + 0x24], edx
jmp 0x14000c0c2
cmp ecx, r10d
je 0x14000c0c2
cmp edi, r10d
je 0x14000c09f
cmp edx, r12d
jle 0x14000c0bb
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xc8], rax
mov r12d, dword [rsp + 0xcc]
mov edi, dword [rsp + 0xc8]
mov ecx, r10d
mov dword [rsp + 0x20], ecx
inc r8d
add r9, 4
cmp r8d, 8
jl 0x14000c06f
cmp ecx, r10d
je 0x14000c100
cmp edi, r10d
je 0x14000c0e4
mov rcx, rax
shr rcx, 0x20
cmp edx, ecx
jle 0x14000c100
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xc8], rax
mov r12d, dword [rsp + 0xcc]
mov edi, dword [rsp + 0xc8]
cmp edi, r10d
je 0x14000c110
shr rax, 0x20
cmp eax, 2
cmovl edi, r10d
xor ebp, ebp
lea rbx, [rsp + 0x48]
xor esi, esi
cmp edi, r10d
je 0x14000c136
cmp ebp, edi
jl 0x14000c136
lea eax, [r12 + rdi]
cmp ebp, eax
jge 0x14000c136
cmp ebp, edi
jne 0x14000c184
mov byte [rbx], 0x3a
inc rbx
jmp 0x14000c184
test rsi, rsi
je 0x14000c141
mov byte [rbx], 0x3a
inc rbx
cmp rsi, 6
jne 0x14000c160
test edi, edi
jne 0x14000c160
cmp r12d, esi
je 0x14000c191
cmp r12d, 5
jne 0x14000c160
cmp dword [rsp + 0x3c], 0xffff
je 0x14000c191
mov r9d, dword [rsp + rsi*4 + 0x28]
lea r8, [0x1400147ac]
mov edx, 4
mov rcx, rbx
call qword [sym.imp.msvcrt.dll__snprintf]
movsxd rcx, eax
add rbx, rcx
or r10d, 0xffffffff
inc rsi
inc ebp
cmp rsi, 8
jge 0x14000c1b9
jmp 0x14000c119
lea r8, [rsp + 0x77]
lea rcx, [r15 + 0xc]
mov rdx, rbx
sub r8, rbx
call fcn.14000bf34
test rax, rax
jne 0x14000c1ae
xor eax, eax
jmp 0x14000c20b
mov rcx, rbx
call fcn.14000b444
add rbx, rax
cmp edi, 0xffffffff
je 0x14000c1cd
lea eax, [r12 + rdi]
cmp eax, 8
jne 0x14000c1cd
mov byte [rbx], 0x3a
inc rbx
mov byte [rbx], 0
lea rax, [rsp + 0x48]
sub rbx, rax
inc rbx
cmp rbx, r14
jbe 0x14000c1ec
mov ecx, 0x2747
call fcn.14000bf28
jmp 0x14000c1aa
lea rdx, [rsp + 0x48]
mov r8, r14
mov rcx, r13
mov byte [rsp + 0x76], 0
call qword [sym.imp.msvcrt.dll_strncpy]
mov byte [r13 + r14 - 1], 0
mov rax, r13
lea r11, [rsp + 0x80]
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
Function at 0x14000c2d4
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov r12d, edx
mov rsi, rcx
test rcx, rcx
jne 0x14000c2fa
lea ecx, [rsi + 0x57]
call fcn.140009f64
xor al, al
jmp 0x14000c3b5
test dl, 1
je 0x14000c38b
xor edx, edx
lea r8d, [rdx + 0x28]
call fcn.14000c44c
mov rdi, rax
mov qword [rsp + 0x88], rax
cmp rax, 0xffffffffffffffff
je 0x14000c38b
mov rcx, rax
call fcn.14000c54c
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14000c383
xor ebx, ebx
mov qword [rsp + 0x30], rbx
cmp rbx, r13
jae 0x14000c379
and dword [rsp + 0x80], 0
mov byte [rsp + 0x70], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, 1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000c383
inc rbx
mov qword [rsp + 0x30], rbx
jmp 0x14000c337
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
nop
mov rcx, rdi
call fcn.14000c3c8
test r12b, 2
je 0x14000c3a6
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14000c3b3
jmp 0x14000c3b5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14000c3b5
mov al, 1
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000c54c
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
lea rdx, [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov dword [rsp + 0x38], eax
call fcn.140009f64
mov rax, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x14000da24
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
push r13
push r14
push r15
sub rsp, 0x150
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov esi, r8d
mov r13, rdx
mov r15, rcx
mov r12, qword [rsp + 0x1a8]
test r9b, 1
je 0x14000da99
xor edi, edi
cmp r12, rdi
je 0x14000da92
cmp byte [r12], 0x23
jne 0x14000da92
lea rcx, [r12 + 1]
xor edx, edx
lea r8d, [rdi + 0xa]
call qword [sym.imp.msvcrt.dll_strtoul]
mov r12d, eax
lea ebx, [rdi + 4]
mov dword [rsp + 0x1b0], ebx
jmp 0x14000da9e
mov ebx, 4
jmp 0x14000da9e
xor edi, edi
lea ebx, [rdi + 4]
mov rdx, rsi
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
cmp rax, rdi
jne 0x14000dac2
mov eax, ebx
jmp 0x14000dc2f
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400136e0
nop
mov r8d, esi
mov rdx, r13
mov rcx, r14
call fcn.14000a048
mov r13, rdi
cmp qword [rsp + 0x190], rdi
je 0x14000db30
mov esi, dword [rsp + 0x198]
cmp esi, edi
je 0x14000db37
mov rdx, rsi
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r13, rax
cmp rax, rdi
jne 0x14000db1b
jmp 0x14000dc20
mov r8d, esi
mov rdx, qword [rsp + 0x190]
mov rcx, rax
call fcn.14000a048
jmp 0x14000db37
mov esi, dword [rsp + 0x198]
mov rdx, r13
lea rcx, [rsp + 0xa8]
call fcn.1400136e0
nop
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x80]
call fcn.1400093b8
nop
lea rcx, [rsp + 0x80]
call fcn.140009708
cmp eax, edi
je 0x14000db7f
lea rcx, [rsp + 0x80]
call fcn.140009500
mov rdi, rax
lea rdx, [rsp + 0xe0]
mov rcx, r15
call fcn.140002f20
movzx r11d, word [rsp + 0x1a0]
mov rcx, qword [rsp + 0x108]
mov qword [rsp + 0x60], rdi
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x48], 0x70
mov rax, qword [0x140018858]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r13
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, r15
lea rdx, [rsp + 0xe0]
call r14
mov ebx, eax
mov dword [rsp + 0x70], eax
jmp 0x14000dc04
lea rcx, [rsp + 0x80]
call fcn.1400093f0
nop
lea rcx, [rsp + 0xa8]
call fcn.14001364c
nop
lea rcx, [rsp + 0xc0]
call fcn.14001364c
mov eax, ebx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x14000ddf8
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x490
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov r13, r9
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x70]
call fcn.14000a068
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x280]
call fcn.14000a068
mov rcx, rbx
call fcn.140009708
test eax, eax
je 0x14000de75
mov rcx, rbx
call fcn.140009500
mov rdx, rax
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_wcsncpy]
jmp 0x14000de85
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x280]
xor r8d, r8d
lea rdx, [0x140014818]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rdx, [rsp + 0x280]
mov rbx, qword [rsp + 0x4e0]
mov rcx, rbx
call fcn.1400094b0
mov rcx, rdi
call fcn.140009708
test eax, eax
je 0x14000deef
mov rcx, rdi
call fcn.140009c24
mov r9, rax
lea r8, [rsp + 0x70]
lea rdx, [0x140014808]
mov rdi, qword [rsp + 0x4d8]
mov rcx, rdi
call fcn.14000964c
jmp 0x14000df11
mov rdx, rbx
mov rdi, qword [rsp + 0x4d8]
mov rcx, rdi
call fcn.14000942c
lea rdx, [0x140014444]
mov rcx, rbx
call fcn.1400094b0
mov dword [rsp + 0x4c8], 0x90a1224e
mov r8d, 4
lea rdx, [rsp + 0x4c8]
mov rcx, rbp
call fcn.140003808
test r13, r13
je 0x14000e07a
cmp dword [rsp + 0x4d0], 0
je 0x14000e07a
mov rcx, rdi
call fcn.140009500
mov rcx, rax
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14000df8b
call fcn.140009f54
jmp 0x14000e07c
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140013788
nop
mov dword [rsp + 0x4c8], 0x5431c26d
mov r8d, 4
lea rdx, [rsp + 0x4c8]
mov rcx, rbp
call fcn.140003808
xor ebx, ebx
cmp dword [rsp + 0x4d0], ebx
jbe 0x14000e02d
and dword [rsp + 0x40], 0
mov r8d, dword [rsp + 0x4d0]
sub r8d, ebx
mov edx, ebx
add rdx, r13
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000e001
add ebx, dword [rsp + 0x40]
cmp ebx, dword [rsp + 0x4d0]
jb 0x14000dfc5
jmp 0x14000e02d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.140009500
mov rcx, rax
mov edx, 1
call fcn.14000c2d4
nop
lea rcx, [rsp + 0x48]
call fcn.1400136fc
mov eax, ebx
jmp 0x14000e07c
mov dword [rsp + 0x4c8], 0xaa7719f6
mov r8d, 4
lea rdx, [rsp + 0x4c8]
mov rcx, rbp
call fcn.140003808
mov dword [rsp + 0x4c8], 0x81c221c6
mov r8d, 4
lea rdx, [rsp + 0x4c8]
mov rcx, rbp
call fcn.140003808
nop
lea rcx, [rsp + 0x48]
call fcn.1400136fc
xor eax, eax
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14000ea30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x50
mov ebx, ecx
lea rcx, [rax - 0x38]
mov byte [rax - 0x38], 0x61
mov byte [rax - 0x37], 0x64
mov byte [rax - 0x36], 0x76
mov byte [rax - 0x35], 0x61
mov byte [rax - 0x34], 0x70
mov byte [rax - 0x33], 0x69
mov byte [rax - 0x32], 0x33
mov byte [rax - 0x31], 0x32
mov byte [rax - 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000eaf8
lea rdx, [rsp + 0x30]
mov rcx, rax
mov byte [rsp + 0x30], 0x4c
mov byte [rsp + 0x31], 0x73
mov byte [rsp + 0x32], 0x61
mov byte [rsp + 0x33], 0x4e
mov byte [rsp + 0x34], 0x74
mov byte [rsp + 0x35], 0x53
mov byte [rsp + 0x36], 0x74
mov byte [rsp + 0x37], 0x61
mov byte [rsp + 0x38], 0x74
mov byte [rsp + 0x39], 0x75
mov byte [rsp + 0x3a], 0x73
mov byte [rsp + 0x3b], 0x54
mov byte [rsp + 0x3c], 0x6f
mov byte [rsp + 0x3d], 0x57
mov byte [rsp + 0x3e], 0x69
mov byte [rsp + 0x3f], 0x6e
mov byte [rsp + 0x40], 0x45
mov byte [rsp + 0x41], 0x72
mov byte [rsp + 0x42], 0x72
mov byte [rsp + 0x43], 0x6f
mov byte [rsp + 0x44], 0x72
mov byte [rsp + 0x45], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000eaf8
mov ecx, ebx
call rax
jmp 0x14000eafa
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x14000eb08
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x140019438]
mov r13d, r8d
mov r12, rdx
test rcx, rcx
je 0x14000eb42
mov rax, qword [0x140019440]
test rax, rax
je 0x14000eb42
call rax
mov rcx, qword [0x140019438]
mov esi, dword [rdi]
cmp esi, dword [rdi + 4]
je 0x14000ec29
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersion]
lea ebp, [rbx + 1]
movzx ecx, al
cmp ecx, 6
jne 0x14000eb68
shr ax, 8
cmp al, 2
jae 0x14000eb6d
cmp ecx, 7
jb 0x14000eb9c
lea rcx, [rsp + 0x68]
mov byte [rsp + 0x68], 0x6e
mov byte [rsp + 0x69], 0x74
mov byte [rsp + 0x6a], 0x64
mov byte [rsp + 0x6b], 0x6c
mov byte [rsp + 0x6c], 0x6c
mov byte [rsp + 0x6d], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp qword [rdi + 0x18], rax
cmove ebx, ebp
test esi, esi
je 0x14000ebe7
movsxd rax, ebx
cmp ebx, esi
jae 0x14000ebc1
lea rax, [rax + rax*2 + 3]
lea rcx, [rdi + rax*8]
cmp r12, qword [rcx]
jb 0x14000ebbf
add ebx, ebp
add rcx, 0x18
cmp ebx, esi
jb 0x14000ebb0
cmp ebx, esi
je 0x14000ebe7
sub esi, ebx
lea rcx, [rbx + rbx*2]
lea eax, [rbx + 1]
lea rax, [rax + rax*2]
lea rdx, [rdi + rcx*8 + 0x10]
lea r8, [rsi + rsi*2]
lea rcx, [rdi + rax*8 + 0x10]
shl r8, 3
call fcn.14000b48c
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, 3
mov dl, bpl
mov rcx, r12
lea rbx, [rbx + rbx*2]
call qword [0x140019478]
mov rcx, qword [0x140019438]
mov qword [rdi + rbx*8 + 0x18], r12
mov qword [rdi + rbx*8 + 0x10], rax
mov eax, dword [rsp + 0x50]
mov dword [rdi + rbx*8 + 0x20], r13d
mov dword [rdi + rbx*8 + 0x24], eax
add dword [rdi], ebp
jmp 0x14000ec32
mov ebp, 1
mov byte [rdi + 8], bpl
test rcx, rcx
je 0x14000ec45
mov rax, qword [0x140019448]
test rax, rax
je 0x14000ec45
call rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ed0c
Capabilities:
Enumerate pe sections

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
sub rsp, 0x30
lea rcx, [rax - 0x18]
xor r12d, r12d
mov byte [rax - 0x18], 0x6e
mov byte [rax - 0x17], 0x74
mov byte [rax - 0x16], 0x64
mov byte [rax - 0x15], 0x6c
mov byte [rax - 0x14], 0x6c
mov byte [rax - 0x13], 0x2e
mov byte [rax - 0x12], 0x64
mov byte [rax - 0x11], 0x6c
mov byte [rax - 0x10], 0x6c
mov byte [rax - 0xf], r12b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
cmp rax, r12
je 0x14000eda9
mov rcx, rax
call qword [0x140019480]
mov rbx, rax
cmp rax, r12
je 0x14000eda9
movzx eax, word [rax + 0x14]
mov ebp, r12d
lea rsi, [rax + rbx + 0x18]
cmp r12w, word [rbx + 6]
jae 0x14000eda9
lea rdx, str..data
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp eax, r12d
je 0x14000edc6
movzx eax, word [rbx + 6]
inc ebp
add rsi, 0x28
cmp ebp, eax
jb 0x14000ed86
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, 0x30
pop r12
ret
mov edx, dword [rsi + 0xc]
mov r8d, dword [rsi + 0x10]
add rdx, rdi
add r8, rdx
mov rcx, rdx
cmp rdx, r8
jae 0x14000eda9
cmp qword [rcx], rdi
jne 0x14000ede8
mov eax, dword [rbx + 0x50]
cmp dword [rcx + 8], eax
je 0x14000edf1
add rcx, 8
cmp rcx, r8
jmp 0x14000edd9
lea rax, [rcx - 0x10]
cmp rax, rdx
jbe 0x14000eda9
add rcx, 0xffffffffffffffec
mov r9d, 0xa0
mov r8d, 0x200
cmp dword [rcx], r9d
jne 0x14000ee15
cmp dword [rcx - 4], r9d
jb 0x14000ee33
cmp dword [rcx], r8d
jne 0x14000ee20
cmp dword [rcx - 4], r8d
jb 0x14000ee33
sub rcx, 0x18
lea rax, [rcx + 4]
cmp rax, rdx
jbe 0x14000eda9
jmp 0x14000ee0a
lea rax, [rcx - 4]
jmp 0x14000edab
Function at 0x14000fc40
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 6
jne 0x14000fc5f
shr ax, 8
cmp al, 2
jae 0x14000fc64
cmp ecx, 7
jb 0x14000fc68
or dword [rbx + 0x68], 8
call qword [0x140019490]
mov r8, qword [rax + 0x18]
lea rax, [rbx + 0x70]
mov qword [rbx + 0x78], rax
mov qword [rax], rax
lea rcx, [r8 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rbx], rcx
lea rdx, [r8 + 0x20]
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [rcx + 8], rbx
mov rax, qword [rdx + 8]
lea rcx, [rbx + 0x10]
mov qword [rcx], rdx
mov qword [rbx + 0x18], rax
mov qword [rax], rcx
mov qword [rdx + 8], rcx
lea rdx, [r8 + 0x30]
lea rcx, [rbx + 0x20]
mov rax, qword [rdx + 8]
mov qword [rcx], rdx
mov qword [rbx + 0x28], rax
mov qword [rax], rcx
mov qword [rdx + 8], rcx
add rsp, 0x20
pop rbx
ret
Function at 0x140010220
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov sil, r9b
mov r13, r8
mov r12, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x44], r15d
and qword [rsp + 0x60], r15
call qword [0x140019490]
lea r8d, [r15 + 0xc]
lea r9, [rsp + 0x40]
mov dl, 1
mov rcx, qword [r12 + 0x30]
call qword [0x140019478]
mov rbx, rax
test rax, rax
jne 0x140010305
mov rcx, qword [r12 + 0x30]
call qword [0x140019480]
mov r11, rax
test rax, rax
jne 0x14001029c
mov eax, 0xc000007b
jmp 0x140010481
movzx eax, word [rax + 0x14]
lea rdx, [rax + r11 + 0x18]
mov r9d, dword [r11 + 0x90]
test r9d, r9d
je 0x1400102f6
xor r8d, r8d
movzx r10d, word [r11 + 6]
test r10d, r10d
je 0x1400102f6
mov ecx, dword [rdx + 0xc]
cmp r9d, ecx
jb 0x1400102ce
add ecx, dword [rdx + 0x10]
cmp r9d, ecx
jb 0x1400102dc
add rdx, 0x28
inc r8d
cmp r8d, r10d
jae 0x1400102f6
jmp 0x1400102be
mov ebx, dword [rdx + 0xc]
add rbx, qword [r12 + 0x30]
mov eax, dword [rdx + 8]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1400102f6
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x40], eax
test rbx, rbx
jne 0x140010305
mov eax, 0xc000007b
jmp 0x140010481
xor edi, edi
test sil, sil
je 0x1400103b4
mov ebx, dword [r13 + 0xc]
add rbx, qword [r12 + 0x30]
mov qword [rsp + 0x50], rbx
mov esi, dword [r13 + 8]
cmp esi, 0xffffffff
je 0x14001047f
mov eax, esi
shl rax, 3
mov r8d, dword [r13]
add r8, qword [r12 + 0x30]
add r8, rax
mov r9d, dword [r13 + 0x10]
add r9, qword [r12 + 0x30]
add r9, rax
mov esi, dword [r9]
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], r15d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, qword [r12 + 0x30]
mov rcx, qword [r14 + 0x30]
call fcn.14000fb34
mov edi, eax
mov dword [rsp + 0x4c], eax
jmp 0x1400103a7
test edi, edi
jns 0x140010322
jmp 0x14001047f
cmp dword [r13 + 0x10], edi
je 0x14001047f
mov rcx, qword [r12 + 0x30]
mov esi, dword [r13 + 0x10]
add rsi, rcx
mov qword [rsp + 0x68], rsi
call qword [0x140019480]
mov ecx, dword [r13]
cmp ecx, dword [rax + 0x54]
jb 0x1400103f2
cmp ecx, dword [rax + 0x50]
jae 0x1400103f2
mov rbx, rcx
add rbx, qword [r12 + 0x30]
mov qword [rsp + 0x58], rbx
jmp 0x1400103fa
mov rbx, rsi
mov qword [rsp + 0x58], rbx
mov r13d, dword [r13 + 0xc]
add r13, qword [r12 + 0x30]
mov qword [rsp + 0x50], r13
cmp qword [rbx], 0
je 0x14001047f
mov qword [rsp + 0x38], r13
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], r15d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, rbx
mov rdx, qword [r12 + 0x30]
mov rcx, qword [r14 + 0x30]
call fcn.14000fb34
mov edi, eax
mov dword [rsp + 0x4c], eax
add rbx, 8
mov qword [rsp + 0x58], rbx
add rsi, 8
mov qword [rsp + 0x68], rsi
jmp 0x14001047b
test edi, edi
jns 0x140010408
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret