joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005bb00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005bbb9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x14005bc00]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140065260
xorps xmm15, xmm15
mov r14, qword [0x1406c5718]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.1400653a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14005bb00
Function at 0x1400674a0
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 [0x1406c58c0]
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 [0x1406c52fe], 0
je 0x1400674d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1406c5c00]
aesenc xmm0, xmmword [0x1406c5c10]
aesenc xmm0, xmmword [0x1406c5c20]
movq rax, xmm0
ret
jmp 0x14000b6c0
Function at 0x14008c9c0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14008cc0c
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov ebx, dword [rax + 0x2c]
nop dword [rax + rax]
test ebx, ebx
jne 0x14008ca6c
mov qword [rsp + 0x88], rax
lea rbx, [0x1403c4e00]
mov rcx, rax
lea rax, [0x140671c20]
call fcn.14007fa60
test cl, cl
jne 0x14008ca51
mov rax, qword [rsp + 0x88]
call fcn.1400896e0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x1404379a8]
call fcn.14004fde0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rbx
nop dword [rax]
call fcn.14008dfc0
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x14008ca8e
lea rdx, [0x1403c5640]
cmp rax, rdx
jne 0x14008ca7c
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
nop
call fcn.1400628a0
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x140392d80]
call fcn.14000c200
inc rdx
cmp rbx, rdx
jle 0x14008cad8
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x14008ca8b
lea rax, [0x140671c20]
lea rbx, [0x1403c4e00]
lea rdi, [0x1403c5640]
call fcn.14007fc20
lea rdx, [0x1403c5640]
nop
cmp rax, rdx
jne 0x14008cbfc
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rcx, [0x140382820]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rcx
lea rax, [0x1403a7ce0]
nop
call fcn.14000efe0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x50]
test byte [rcx], al
cmp dword [0x1406c5800], 0
jne 0x14008cb3a
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x14008cb49
mov rbx, rax
lea rax, [0x1403a7ce0]
call fcn.1400151e0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
nop dword [rax]
call fcn.140089180
nop
call fcn.1400629a0
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x14008cb97
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
cmp rax, 1
jl 0x14008cb89
mov dword [rsi + 0x10], edx
cmp dword [0x1406c5800], 0
jne 0x14008cbaf
mov qword [rsi + 0x30], rcx
jmp 0x14008cbb8
lea rdi, [rsi + 0x30]
call fcn.140067680
lea rax, [0x140671c20]
lea rbx, [0x1403c4e00]
lea rdi, [0x1403c5640]
call fcn.14007fc20
lea rdx, [0x1403c5640]
cmp rax, rdx
jne 0x14008cbed
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x140392d80]
call fcn.14000c200
mov rbx, rdx
lea rcx, [0x140392d80]
call fcn.14000c200
nop
mov qword [rsp + 8], rax
call fcn.1400653a0
mov rax, qword [rsp + 8]
nop dword [rax + rax]
jmp fcn.14008c9c0
Function at 0x14032da90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140660320]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14032dab0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14032dab8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14032dab0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14032db05
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14032dafc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14032dab0
add rax, 0x28
cmp rax, r9
jne 0x14032dae8
xor eax, eax
ret

Function at 0x14032db10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140660320]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14032db30
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14032db38
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x14032db30
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x14032dbc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140660320]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14032dbe0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14032dbe8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x1800024d0
Capabilities:
Create process on windows
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov r8, rcx
jb 0x1800024ea
mov r8, qword [rcx]
mov ecx, 0x72
xor edx, edx
call fcn.180001020
lea ecx, [rdx + 0x75]
mov word [rsp + 0x30], ax
lea edx, [rcx - 0x74]
call fcn.180001020
lea ecx, [rdx + 0x6d]
mov word [rsp + 0x32], ax
lea edx, [rcx - 0x6c]
call fcn.180001020
lea ecx, [rdx + 0x5f]
mov word [rsp + 0x34], ax
lea edx, [rcx - 0x5e]
call fcn.180001020
lea ecx, [rdx + 0x70]
mov word [rsp + 0x36], ax
lea edx, [rcx - 0x6f]
call fcn.180001020
xor ecx, ecx
mov word [rsp + 0x38], ax
lea edx, [rcx + 5]
call fcn.180001020
lea edx, [rcx + 6]
mov word [rsp + 0x3a], ax
movzx ecx, word [0x18000776c]
call fcn.180001020
movzx ecx, word [0x18000776e]
mov edx, 7
mov word [rsp + 0x3c], ax
call fcn.180001020
movzx ecx, word [0x180007770]
mov edx, 8
mov word [rsp + 0x3e], ax
call fcn.180001020
movzx ecx, word [0x180007772]
mov edx, 9
mov word [rsp + 0x40], ax
call fcn.180001020
movzx ecx, word [0x180007774]
mov edx, 0xa
mov word [rsp + 0x42], ax
call fcn.180001020
mov word [rsp + 0x44], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x46], ax
xor edi, edi
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0xb
jb 0x1800025d0
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov word [rsp + 0x46], di
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180002643
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18000263e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000265d
mov rcx, r8
call fcn.1800054ac
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180002670
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18000a010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x1800026a1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x180002742
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x180002714
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18000270f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800027ca
mov rcx, r8
call fcn.1800054ac
mov al, 1
mov qword [rdi + 0x10], rbp
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800050d0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x180002787
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x180002783
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18000277e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800027ca
mov rcx, r8
call fcn.1800054ac
xor al, al
jmp 0x180002716
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x29800
mov qword [rsp + 0x20], rbp
lea rdx, [0x18000a050]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x1800026d9
jmp 0x18000274c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x180003630
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
mov rbp, rcx
mov rsi, r8
sub rbp, qword [r8 + 0x30]
je 0x1800037b7
test byte [r8 + 0x5e], 0x40
jne 0x18000364f
xor eax, eax
pop rsi
pop rbp
ret
movzx edx, word [rsi + 0x14]
movzx eax, word [rsi + 6]
add rdx, 0x18
mov r8d, dword [r8 + 0xb0]
add rdx, rsi
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x1800037b7
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180003688
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x180003699
add rdx, 0x28
cmp rdx, r9
jb 0x180003676
mov eax, 1
pop rsi
pop rbp
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r14
mov r14d, dword [rsi + 0xb4]
add rbx, r8
mov qword [rsp + 0x30], r15
lea r15, [0x180033850]
add rbx, r15
add r14, rbx
test rbx, rbx
je 0x1800037a8
cmp rbx, r14
jae 0x1800037a8
mov qword [rsp + 0x20], rdi
nop dword [rax]
mov eax, dword [rbx + 4]
test eax, eax
je 0x1800037a3
add eax, 0xfffffff8
shr eax, 1
je 0x180003794
lea r11, [rbx + 8]
mov edi, eax
nop dword [rax]
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x180003722
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x18000372e
cmp ax, 0xa
jne 0x180003786
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x18000377b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x180003762
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x18000376d
add rax, 0x28
cmp rax, r10
jb 0x180003750
jmp 0x18000377b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, r15
jne 0x18000377e
mov rcx, r15
movzx eax, r8w
add qword [rax + rcx], rbp
add r11, 2
sub rdi, 1
jne 0x180003700
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r14
jb 0x1800036e0
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x30]
mov eax, 1
pop rsi
pop rbp
ret
Function at 0x180004600
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180004631
xor eax, eax
lea r8, [0x180004380]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180004e00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
xor edx, edx
mov ecx, 0x5c
call fcn.180001020
lea edx, [rcx - 0x5b]
mov word [rsp + 0x40], ax
call fcn.180001020
lea ecx, [rdx + 0x2d]
mov word [rsp + 0x42], ax
lea edx, [rcx - 0x2c]
call fcn.180001020
lea ecx, [rdx + 0x5a]
mov word [rsp + 0x44], ax
lea edx, [rcx - 0x59]
call fcn.180001020
lea ecx, [rdx + 0x4d]
mov word [rsp + 0x46], ax
lea edx, [rcx - 0x4c]
call fcn.180001020
lea ecx, [rdx + 0x44]
mov word [rsp + 0x48], ax
lea edx, [rcx - 0x43]
call fcn.180001020
lea ecx, [rdx + 0x3c]
mov word [rsp + 0x4a], ax
lea edx, [rcx - 0x3b]
call fcn.180001020
lea ecx, [rdx + 0x4e]
mov word [rsp + 0x4c], ax
lea edx, [rcx - 0x4d]
call fcn.180001020
lea ecx, [rdx + 0x40]
mov word [rsp + 0x4e], ax
lea edx, [rcx - 0x3f]
call fcn.180001020
xor ecx, ecx
mov word [rsp + 0x50], ax
lea edx, [rcx + 9]
call fcn.180001020
lea edx, [rcx + 0xa]
mov word [rsp + 0x52], ax
movzx ecx, word [0x180007884]
call fcn.180001020
movzx ecx, word [0x180007886]
mov edx, 0xb
mov word [rsp + 0x54], ax
call fcn.180001020
movzx ecx, word [0x180007888]
mov edx, 0xc
mov word [rsp + 0x56], ax
call fcn.180001020
movzx ecx, word [0x18000788a]
mov edx, 0xd
mov word [rsp + 0x58], ax
call fcn.180001020
movzx ecx, word [0x18000788c]
mov edx, 0xe
mov word [rsp + 0x5a], ax
call fcn.180001020
movzx ecx, word [0x18000788e]
mov edx, 0xf
mov word [rsp + 0x5c], ax
call fcn.180001020
movzx ecx, word [0x180007890]
mov edx, 0x10
mov word [rsp + 0x5e], ax
call fcn.180001020
movzx ecx, word [0x180007892]
mov edx, 0x11
mov word [rsp + 0x60], ax
call fcn.180001020
movzx ecx, word [0x180007894]
mov edx, 0x12
mov word [rsp + 0x62], ax
call fcn.180001020
mov word [rsp + 0x64], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x66], ax
xor r10d, r10d
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x180004f80
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r10d
mov edx, 0xc0000000
mov word [rsp + 0x66], r10w
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
add rsp, 0x70
pop rbx
ret
Function at 0x1400291db
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
jmp 0x140060c90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x1400a7058]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x1400b77f9]
call fcn.14002a97d
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.14002a2e3
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x140060d5b
cmp qword [rbp + 8], 0
je 0x140060d23
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 0x24]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, 0xb
call fcn.14002a2e3
mov dword [rbp + 0x44], eax
jmp 0x140060d01
cmp dword [rbp + 0x44], 0
jge 0x140060d81
cmp qword [rbp + 8], 0
je 0x140060d7a
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140060eb8
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140060d97
xor eax, eax
jmp 0x140060eb8
mov dword [rbp + 0x84], 0
jmp 0x140060db1
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
cmp dword [rbp + 0x84], eax
jae 0x140060ea4
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax + 8]
mov ecx, dword [rbp + 0x84]
imul rcx, rcx, 0x128
mov rdx, qword [rbp + 0x68]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.140029b95
mov rcx, qword [rbp + 0x210]
call fcn.1400292b2
mov qword [rbp + 0x1d8], rax
lea rcx, [rbp + 0xa8]
call fcn.1400292b2
mov qword [rbp + 0x1e0], rax
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.ucrtbased.dll__stricmp]
test eax, eax
jne 0x140060e93
mov eax, dword [rbp + 0x84]
imul rax, rax, 0x128
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx + rax + 0x18]
mov qword [rbp + 0xe8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x1c8], rax
lea rcx, [rbp + 0xa8]
call fcn.14002950f
mov rax, qword [rbp + 0x1c8]
jmp 0x140060eb8
lea rcx, [rbp + 0xa8]
call fcn.14002950f
jmp 0x140060da3
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140099e90]
call fcn.14002a4f5
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.140029c67
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x1400292d5
Capabilities:
Write file on windows

Disassembly:
jmp 0x14004a560
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400b7136]
call fcn.14002a97d
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14004a5b7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14004a6c3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14004a65c
cmp qword [rbp + 0x28], 0
jle 0x14004a65c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14004a5fc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14002a7bb
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14004a6b2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14004a6b2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140029735
Capabilities:
Get common file path

Disassembly:
jmp 0x140060aa0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x1400a7058]
xor rax, rbp
mov qword [rbp + 0x410], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x1400b77f9]
call fcn.14002a97d
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x140060b2d
cmp dword [rbp + 0x234], 0x105
jbe 0x140060b86
lea rdx, str._gaintools__Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140029d2a
mov qword [rbp + 0x408], rax
lea rdx, [0x140029c85]
mov rcx, qword [rbp + 0x408]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x14009256c]
mov rcx, qword [rbp + 0x440]
call fcn.140029884
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
jmp 0x140060bf8
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x140060bd2
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x140060bbf
jmp 0x140060bc4
call fcn.14002a261
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x440]
call fcn.140029884
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140099cb0]
call fcn.14002a4f5
mov rax, rdi
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.140029c67
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x140029e60
Capabilities:
Terminate process

Disassembly:
jmp 0x1400784b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140029e92
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140060920
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400b77f9]
call fcn.14002a97d
mov rcx, qword [rbp + 0x180]
call fcn.140029b81
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x14006099b
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x140060a43
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.1400299a1
test eax, eax
jne 0x140060a3e
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.140029b81
cmp qword [rbp + 8], rax
jne 0x140060a3e
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x140060a08
xor eax, eax
jmp 0x140060a45
cmp qword [rbp + 0x190], 0
je 0x140060a25
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x140060a45
jmp 0x140060993
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret