joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c28c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003c2c8
xor al, al
jmp 0x14003c33b
mov r8d, 0x1e
lea rdx, [0x140156f30]
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [rsp + 0x30]
mov dword [rsp + 0x24], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp dword [rsp + 0x24], 0
jle 0x14003c332
mov byte [rsp + 0x20], 1
jmp 0x14003c337
mov byte [rsp + 0x20], 0
mov al, byte [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x14003c5e8
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0xd0
lea rax, [rsp + 0xd8]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14003441c
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14003ce08]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xb0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x98], 0
lea rax, [0x14003d32c]
mov qword [rsp + 0x88], rax
lea rax, [0x14004a5e0]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x80], 3
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14003c6f4
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_register_window_class.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x68]
call fcn.1400347c4
jmp 0x14003c7b6
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Medal.exe
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1401570b0], rax
cmp qword [0x1401570b0], 0
je 0x14003c7ac
mov edx, 5
mov rcx, qword [0x1401570b0]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x14004a4e8]
mov rcx, qword [0x1401570b0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x1401570b0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1401570b0]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, [rsp + 0x68]
call fcn.1400347c4
add rsp, 0xd0
pop rdi
ret
Function at 0x14003d420
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0xc0000001
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], 0x240
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwOpenKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14003d4f6
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14003d4e6
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x14003d588
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0xf003f
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwCreateKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14003d57d
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x14003d57d
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_ZwClose]
mov al, byte [rsp + 0x40]
add rsp, 0x88
ret
Function at 0x14003efcc
Capabilities:
Delete file
Execute command

Disassembly:
push rdi
sub rsp, 0x230
mov rax, qword [0x140156158]
xor rax, rsp
mov qword [rsp + 0x220], rax
lea rcx, str.color_0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140049b3c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str._______________________________________________________Welcome_To_AE61_Fortnite_External_n_n
call fcn.1400415dc
lea rcx, str.__X__Type__1__If_U_Want_To_Auto_Setup_The_Chair._n_n
call fcn.1400415dc
lea rcx, str.__X__Type__2__If_U_Want_To_Continue._n_n
call fcn.1400415dc
lea rcx, str.__X__Type_Your_Option_Here_:
call fcn.1400415dc
lea rdx, [rsp + 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 1
je 0x14003f06d
jmp 0x14003f1c7
lea rcx, [0x140049b5c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x20]
call fcn.140034c2c
mov rcx, rax
call fcn.140034920
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x21]
call fcn.140034c00
mov rcx, rax
call fcn.140034900
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x22]
call fcn.140034b88
mov rcx, rax
call fcn.1400348e0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x23]
call fcn.140034a48
mov rcx, rax
call fcn.1400348a0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x24]
call fcn.140034bb4
mov rcx, rax
call fcn.1400348c0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x25]
call fcn.140034be0
mov rcx, rax
call fcn.140034880
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor r9d, r9d
lea r8, str.VoleFN
lea rdx, str.Done.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14003efe7
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140041d70
add rsp, 0x230
pop rdi
ret
Function at 0x140040cd0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret

Function at 0x140040fb8
Capabilities:
Terminate process

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140156158]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xb8]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14003441c
nop
lea rdx, [0x140156928]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
jge 0x140041007
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r8d, 0x40
xor edx, edx
lea rcx, [0x1401568e0]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140156760]
mov dword [0x1401568e0], eax
mov eax, dword [0x140156764]
mov dword [0x1401568e4], eax
mov dword [0x1401568e8], 0x15
mov dword [0x1401568f4], 0
mov dword [0x140156910], 0x50
mov dword [0x1401568f8], 1
mov dword [0x14015690c], 1
mov rax, qword [0x1401570b0]
mov qword [0x140156900], rax
mov dword [0x140156908], 1
mov rax, qword [0x140156928]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [0x1401570b8]
mov qword [rsp + 0x30], rax
lea rax, [0x1401568e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20
mov r9, qword [0x1401570b0]
mov r8d, 1
xor edx, edx
mov rcx, qword [0x140156928]
call qword [rsp + 0x48]
mov qword [rsp + 0x28], 0x14
mov qword [rsp + 0x20], 0x10
mov r9d, 8
mov r8d, 0x3a0
mov edx, 0x1548
lea rcx, str.1.67_WIP
call fcn.140007adc
xor ecx, ecx
call fcn.140007718
call fcn.140009800
mov qword [rsp + 0x40], rax
mov rcx, qword [0x1401570b0]
call fcn.14001fc90
mov rcx, qword [0x1401570b8]
call fcn.14001f358
xor ecx, ecx
call fcn.140018968
lea rdx, str.C:WindowsFontsCalibri.ttf
lea rcx, [rsp + 0x80]
call fcn.140032b78
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x98]
call fcn.1400161b4
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x80]
call fcn.14003e6a4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movss xmm2, dword [0x140044b30]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140013890
mov qword [0x140156810], rax
mov rax, qword [0x140156928]
mov rax, qword [rax]
mov rcx, qword [0x140156928]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x68]
call fcn.1400347c4
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140041d70
add rsp, 0xb8
ret
Function at 0x6d7cf530
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d7f05e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d7cf6b8
mov rax, qword [0x6d7f05e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d7cf57c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d7cf605
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d7cf560
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d7cf6ed
mov rax, qword [0x6d7f05e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d7f05e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d7cf6d0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d7cf5fe
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d7cf660
add dword [0x6d7f05e4], 1
cmp edi, 8
jae 0x6d7cf633
test dil, 4
jne 0x6d7cf6a4
test edi, edi
je 0x6d7cf628
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d7cf6bf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d7cf628
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d7cf64c
jmp 0x6d7cf628
add rsi, qword [0x6d7f05e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d7cf5fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d7cf628
xor esi, esi
jmp 0x6d7cf587
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d7cf628
mov rax, qword [0x6d7f05e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d7cfe40
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d7f08c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d7f08a0]
test rbx, rbx
je 0x6d7cfe94
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d7cfe8b
test rsi, rsi
je 0x6d7cfe8b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d7cfe70
lea rcx, [0x6d7f08c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d7d00d0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7d00e0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7d00f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7d0131
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7d0128
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7d0133
add rax, 0x28
cmp rax, r9
jne 0x6d7d0114
xor eax, eax
ret

Function at 0x6d7d01d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7ed1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7d023d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d023d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d023d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d0234
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d023f
add rax, 0x28
cmp rax, r9
jne 0x6d7d0220
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7d0340
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7ed1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7d0360
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d0358
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d03bd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d03b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d03c4
add rax, 0x28
cmp rax, r9
jne 0x6d7d03a0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7d03e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7ed1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7d044e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d044e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7d044e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7d044e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7d0445
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7d0455
add rcx, 0x28
cmp rcx, rax
jne 0x6d7d0430
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7d0468
jmp 0x6d7d044e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7d0476
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7d044e
test r9d, r9d
jg 0x6d7d0460
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7d07b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140005f18
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001d1d0]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140006200
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140006190
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x14001f160]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001e5b0]
jmp 0x14000623c
cmp qword [rbx + 0x18], rdi
je 0x140006243
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140006233
jmp 0x14000625d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x14001e5b0]
call fcn.140010878
lea rcx, [0x14001f160]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
invalid
and ebp, dword [rdx]
adc dword [rax + 0x52], 0x17
xchg esi, eax
xchg esp, eax
invalid
pushfq
invalid
test al, 0x36
retf 0xd649
and byte [0x1107239e3], ch
jb 0x14003b6ad
cmp esi, dword [rdi - 0x20431351]
movsb byte [rdi], byte [rsi]
ja 0x14003b6a0
out dx, eax
fbld tbyte [rdi + rsi*2 + 0x26b437ef]
mov al, 0xf
not cl
shr byte [rbp - 0x2e], 0x1f
or edx, dword [rbx - 0x71]
push 0x19220f6f
cmc
mov esi, dword [rdx - 0x61c9ce7d]
mov dl, 0x83
xor dword [rsi], esi
sahf
out dx, eax
invalid
mov dl, 0x83
xor dword [rsi], esi
sahf
int1
movabs al, byte [0x844e83c0563686df]
push rsi
rol byte [rbx + 0x7119844e], 0x40
or dword [rsi - 0x7c], 0x19
jno 0x14003b718
or dword [rsi - 0x7c], 0x19
jno 0x14003b718
xchg edi, eax
in al, 0x1b
int 0x13
invalid
sbb byte [rbp + 0x66], ah
invalid
Function at 0x4161c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41636b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004329a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41622e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416241
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x416265
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416279
cmp rbx, 0x1000
jae 0x416238
nop
jmp 0x4162e9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41628d
xor edx, edx
jmp 0x4162e0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004329a0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x41626f
jmp 0x416255
call fcn.00461120
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00436f60
lea rax, [0x0050ba17]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00437860
mov rax, qword [rsp + 0x38]
call fcn.00437560
lea rax, [0x0050bb07]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437860
mov rax, qword [rsp + 0x30]
call fcn.00437560
call fcn.004371c0
call fcn.00436fe0
lea rax, [0x0050eb7e]
mov ebx, 0x21
call fcn.004356a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d580
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004161c0
Function at 0x4163a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4165ca
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00432a20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41641b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41642e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x416450
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x416464
cmp rbx, 0x1000
jae 0x416425
jmp 0x4164ee
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x416476
xor esi, esi
jmp 0x4164e0
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00432a20
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x41645a
jmp 0x416442
call fcn.00461120
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x416569
call fcn.00436f60
lea rax, [0x0050c0e3]
mov ebx, 0x19
call fcn.00437860
mov rax, qword [rsp + 0x68]
call fcn.00437560
lea rax, [0x0050bb07]
mov ebx, 0x19
nop
call fcn.00437860
mov eax, dword [rsp + 0x34]
call fcn.00437560
call fcn.004371c0
call fcn.00436fe0
lea rax, [0x00507c41]
mov ebx, 0xd
call fcn.004356a0
cmp eax, 0x5af
je 0x416513
call fcn.00436f60
lea rax, [0x0050c0e3]
mov ebx, 0x19
call fcn.00437860
mov rax, qword [rsp + 0x38]
call fcn.00437560
lea rax, [0x0050bb07]
mov ebx, 0x19
nop dword [rax]
call fcn.00437860
mov eax, dword [rsp + 0x34]
call fcn.00437560
call fcn.004371c0
call fcn.00436fe0
lea rax, [0x0050e2ab]
mov ebx, 0x1f
call fcn.004356a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d580
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004163a0