joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c7e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
movabs rsi, 0x657220677562206c
movabs rbx, 0x6c75662074696d62
movabs r9, 0x756f6e6520746f6e
movabs r10, 0x6563617073206867
movabs r11, 0x726f6620726f6620
movabs r12, 0x617078652074616d
movabs r14, 0x5028206e6f69736e
movabs r15, 0x757320657361656c
mov qword [rbp - 0x38], rsi
sub rdx, rcx
movabs rsi, 0x2f2f3a7370747468
mov qword [rbp - 0x40], rbx
lea rax, [rdx + 0x78]
movabs rbx, 0x2074612074726f70
mov qword [rbp - 0x28], rsi
and rax, 0xfffffffffffffff0
movabs rsi, 0x736775622f67726f
mov qword [rbp - 0x18], rsi
movabs rsi, 0x202020200a3a29
mov qword [rbp - 0x30], rbx
movabs rbx, 0x2e756e672e636367
mov qword [rbp - 0x20], rbx
movabs rbx, 0x2f736775622f6772
mov qword [rbp - 0xf], rsi
mov rsi, rdx
mov qword [rbp - 0x70], r9
mov qword [rbp - 0x68], r10
mov qword [rbp - 0x60], r11
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x17], rbx
call fcn.14000f470
movabs rdx, 0x657220677562206c
movdqa xmm0, xmmword [rbp - 0x20]
sub rsp, rax
mov r8, rsi
movabs rax, 0x6c75662074696d62
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x20]
movabs rax, 0x2074612074726f70
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x58], rdx
movabs rdx, 0x2f2f3a7370747468
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x68], rdx
mov rdx, rcx
mov rcx, rax
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
movaps xmmword [rsp + 0x70], xmm0
call sub.msvcrt.dll_memcpy
mov rcx, rbx
mov byte [rsp + rsi + 0x88], 0
call fcn.140027ea0
nop
nop
nop
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x14002b4e0], 0
jne 0x14001c8e3
mov byte [0x14002b4e0], 1
call fcn.140027670
test rax, rax
je 0x14001c8b8
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call fcn.14000e280
mov ecx, 2
mov rsi, qword [fcn.140014e50]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sub.msvcrt.dll_fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14001c8a9
call rsi
mov rcx, rbx
mov rdx, rax
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x14002c491]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140027aa7
jmp 0x140027a9f
call rsi
mov rcx, rdi
mov rdx, rax
call sub.msvcrt.dll_fputs
jmp 0x14001c877
mov ecx, 2
call qword [fcn.140014e50]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sub.msvcrt.dll_fwrite
nop
jmp 0x140027a9a
mov ecx, 2
call qword [fcn.140014e50]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
Function at 0x140027a30
Capabilities:
Write file on windows

Disassembly:
call fcn.140027570
call fcn.1400277c0
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x1400279d7
mov rbx, qword [rbx]
lea r12, [rsp + 0x20]
mov rdx, rbp
xor ecx, ecx
mov r8, r12
call fcn.14001b700
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r12
call fcn.14001b7f0
test al, al
jne 0x1400279f5
lea rbx, [0x14002f4b0]
mov r9, rsi
xor r8d, r8d
mov rcx, r12
mov rdx, rbx
call fcn.14001b7f0
test al, al
je 0x1400279fa
mov ecx, 8
call fcn.140027500
lea r8, [0x140022a70]
mov rdx, rbx
mov rcx, rax
mov rax, qword [0x14002f0e0]
add rax, 0x10
mov qword [rcx], rax
call fcn.140027880
add rbx, 0x90
jmp 0x140027966
call fcn.140027830
mov rcx, rdi
call fcn.14001bb10
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.140027570
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x140027aac
call fcn.140027570
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.msvcrt.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.1400276a0
call sub.msvcrt.dll_abort
mov rcx, rdi
call fcn.140015420
call fcn.140027830
call fcn.140027570
call fcn.1400276a0
jmp 0x140027a9a
Function at 0x1400012f0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 0x31], 0
mov rbx, rcx
jne 0x1400013cf
mov qword [rsp + 0x48], rsi
lea rsi, vtable.AcIvProcessManagementThread.0
mov qword [rsp + 0x50], rdi
xor edi, edi
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov edx, 0xbb8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rbx + 0x31], dil
jne 0x1400013bd
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400013b1
cmp dword [rsp + 0x20], 0x103
je 0x1400013b1
mov rax, qword [rbx]
mov rdx, qword [rax + 0x18]
cmp rax, rsi
jne 0x1400013e2
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x14000139a
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x10]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rbx + 0x31], dil
jne 0x1400013c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp byte [rbx + 0x31], dil
je 0x140001330
jmp 0x1400013c5
mov byte [rbx + 0x30], dil
mov qword [rbx + 8], rdi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400092d0
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call rdx
jmp 0x1400013b1
Function at 0x1400013f0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x140001421
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x10]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [rbx + 0x31], 0
jne case.default.0x140001437
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x20
pop rbx
ret
jne 0x14001f4a4
and byte [rsi + 0x61], ch
insd dword [rdi], dx
cmp eax, 0x61694422
insd dword [rdi], dx
je 0x14001f4b5
jb 0x14001f49f
outsd dx, dword [rsi]
insb byte [rdi], dx
imul r13d, dword [rbp + 0x65], 0x6f69736e
outsb dx, byte [rsi]
imul bp, word gs:[rsi + 0x69], 0x6974
outsd dx, dword [rsi]
outsb dx, byte [rsi]
and ah, byte [rax]
imul ebp, dword [rcx + 0x64], 0x357b223d
invalid
jne 0x14001f503
insb byte [rdi], dx
jae 0x14001f50e
imul esp, dword [rbx + rsi + 0x32], 0x307b223d
xor byte [rax], dh
xor dh, byte [rax]
xor al, 0x32
xor esi, dword fs:[rdx]
cmp eax, 0x30307b22
xor byte [rdx], dh
xor byte [rdx + rsi], dh
xor byte [0x1703224e8], ch
sub eax, 0x30303030
xor byte [rax], dh
xor byte [0x1703224ed], ch
sub eax, 0x30303043
sub eax, 0x30303030
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor al, 0x36
jge 0x14001f4f3
cmp al, 0x2f
invalid
invalid
jb 0x14001f573
invalid
jne 0x14001f572
and byte [rsi + 0x61], ch
insd dword [rdi], dx
cmp eax, 0x6e694c22
invalid
xor byte [rdx + rsi], dh
xor al, 0x32
xor byte [0x1703225ab], ch
sub eax, 0x30303030
sub eax, 0x30303043
sub eax, 0x30303030
xor byte [rax], dh
xor byte [rax], dh
xor byte [rax], dh
xor al, 0x36
jge 0x14001f5b6
cmp al, 0x2f
invalid
invalid
Function at 0x1400056a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rcx
mov qword [rsp + 0x40], rdx
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov edi, dword [rsi + 8]
mov dword [rsp + 0x50], ecx
or edi, 0x2001f
mov qword [rsp + 0x58], rcx
mov r9d, edi
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400057f7
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005728
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x1400057f7
xor edi, edi
mov dword [rsp + 0x68], 0x100
lea rax, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400057cf
nop dword [rax]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.1400056a0
mov ebx, eax
test eax, eax
jne 0x1400057f7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x68], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140005780
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400057e4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.1400059a0
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140005807
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400092d0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400058f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140005964
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000597f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000597f
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x14000597f
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400059ce
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400058f0
cmp byte [0x140013f48], 0
jne 0x140005a19
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005a09
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140013f40], rax
mov byte [0x140013f48], 1
jmp 0x140005a20
mov rax, qword [0x140013f40]
mov byte [0x140013f48], 1
jmp 0x140005a20
mov rax, qword [0x140013f40]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140005a3f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jb 0x14001f794
invalid
invalid
Function at 0x1400059a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140005964
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000597f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000597f
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x14000597f
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400059ce
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400058f0
cmp byte [0x140013f48], 0
jne 0x140005a19
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005a09
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140013f40], rax
mov byte [0x140013f48], 1
jmp 0x140005a20
mov rax, qword [0x140013f40]
mov byte [0x140013f48], 1
jmp 0x140005a20
mov rax, qword [0x140013f40]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140005a3f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jb 0x14001f794
invalid
invalid
Function at 0x140006630
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400066d0
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400066d0
call fcn.140004590
mov ebx, eax
jmp 0x1400067f8
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400066f1
call fcn.140004590
jmp 0x1400067e7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140006714
call fcn.140004590
jmp 0x1400067e7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140006736
mov ebx, 0x8007000e
jmp 0x1400067e9
mov ecx, eax
test eax, eax
je 0x14000676e
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140006764
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14000676e
lea rcx, [rsp + 0x70]
call fcn.140004560
jmp 0x140006778
mov ecx, 0x80070216
call fcn.140004f40
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14000678b
cmp qword [rsp + 0x70], 0
jne 0x14000679a
mov ebx, 0x8007000e
jmp 0x1400067e9
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1400067c4
call fcn.140004590
jmp 0x1400067e7
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140006440
mov ebx, eax
test rdi, rdi
je 0x1400067f8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14000680f
lea rcx, [rsp + 0x70]
call fcn.140004540
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400092d0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x140007040
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
call fcn.140006da0
call fcn.1400070d0
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400070d0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
cmp byte [0x140013f60], 0
je 0x1400070e9
or eax, 0xffffffff
add rsp, 0x28
ret
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
jns 0x140007125
cmp eax, 0x80010106
jne 0x140007170
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14000712c
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov byte [0x140013ec2], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rsp + 0x38]
call fcn.140007490
cmp al, 1
jne 0x14000714c
call fcn.140007410
mov ebx, eax
jmp 0x140007150
mov ebx, dword [rsp + 0x38]
cmp byte [0x140013ec2], 0
je 0x140007170
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140007180
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140013010]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140013eb0], rax
test rax, rax
jne 0x1400071c1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400092d0
add rsp, 0x48
ret
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x28], rax
lea r9, [0x140013e60]
lea r8, [0x140007910]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140007205
mov rcx, qword [0x140013eb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400092d0
add rsp, 0x48
ret
Function at 0x140002f30
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x140069cad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140069cbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140069ca5
lea eax, [rcx + 1]
jmp 0x140069ccb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140069cde
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140069cc4
sub eax, 3
jb 0x140069cfe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140069d4d
sar eax, 1
movsxd rbp, eax
jb 0x140069d34
jmp 0x140069d0c
add ebx, ebx
jne 0x140069d0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140069d34
inc ecx
add ebx, ebx
jne 0x140069d1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140069d34
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140069d2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140069d1c
add ecx, 2
jmp 0x140069d39
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140069c62
jmp 0x140069cad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x46e00
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140069d99
cmp rsi, rcx
jae 0x140069da1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140069d80
cmp al, 0x8f
ja 0x140069d80
cmp byte [rsi - 2], 0xf
je 0x140069d86
sub al, 0xe8
cmp al, 1
ja 0x140069d6a
cmp rsi, rcx
jae 0x140069da1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140069d70
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140069da1
lodsb al, byte [rsi]
jmp 0x140069d80
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x67000]
mov eax, dword [rdi]
or eax, eax
je 0x140069dfe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6a798]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140069dae
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140069df8
mov qword [rbx], rax
add rbx, 8
jmp 0x140069dce
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140069e38
cmp al, 0xef
ja 0x140069e2a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140069e0a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140069e19
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140069e8c
sub rsp, 0xffffffffffffff80
jmp 0x14002096c
Function at 0x4118c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x411a4b
push rbp
mov rbp, rsp
sub 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 sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005225c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x411925
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x411934
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x411953
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x411963
cmp rbx, 0x1000
jae 0x41192b
jmp 0x4119cd
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x411975
xor edx, edx
jmp 0x4119c4
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 sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005225c0]
mov r14, qword gs:[r14]
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]
test dl, dl
jne 0x411959
jmp 0x411948
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005225c0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x0046cf49]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x0046d12e]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x0046e3fd]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS