joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ecfc0
Capabilities:
Access the windows event log

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movzx r14d, dx
mov ebp, ecx
xor ebx, ebx
lea rcx, str.LogEvent
lea edi, [rbx + 1]
call fcn.1400ed218
xor edx, edx
lea r8d, [rbx + 0x50]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
lea rdx, [0x140133860]
xor ecx, ecx
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_RegisterEventSourceW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x1400ed098
mov edi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rdx, qword [section..data]
lea rcx, section..data
cmp rdx, rcx
je 0x1400ed1d5
test byte [rdx + 0x1c], 8
je 0x1400ed1d5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea edx, [rsi + 0xd]
mov r9d, eax
lea r8, [0x1400fcb48]
lea rax, str.GetLastError__
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.1400d9dd4
jmp 0x1400ed1d5
mov r9d, dword [rsp + 0xf0]
cmp r9d, 0xa
jle 0x1400ed0ff
mov r8d, 0x7a
mov edi, ebx
mov ebx, r8d
mov rax, qword [section..data]
lea rcx, section..data
cmp rax, rcx
je 0x1400ed1c6
test byte [rax + 0x1c], 8
je 0x1400ed1c6
mov dword [rsp + 0x28], r9d
lea rcx, str.ERROR_INSUFFICIENT_BUFFER
mov qword [rsp + 0x20], rcx
lea edx, [r8 - 0x6c]
mov rcx, qword [rax + 0x10]
mov r9d, r8d
lea r8, [0x1400fcb48]
call fcn.1400dcb38
jmp 0x1400ed1c6
lea rcx, [rsp + 0xf8]
test r9d, r9d
jle 0x1400ed12b
add rcx, 0xfffffffffffffff8
lea r8, [rsp + 0x50]
mov r10, r9
lea rcx, [rcx + 8]
mov rax, qword [rcx]
mov qword [r8], rax
lea r8, [r8 + 8]
sub r10, rdi
jne 0x1400ed118
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], ebx
movzx edx, r14w
mov word [rsp + 0x28], r9w
mov rcx, rsi
mov r9d, ebp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_ReportEventW]
nop dword [rax + rax]
test eax, eax
jne 0x1400ed1c6
mov edi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rax, qword [section..data]
lea rcx, section..data
cmp rax, rcx
je 0x1400ed1c6
test byte [rax + 0x1c], 8
je 0x1400ed1c6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea r8, [0x1400fcb48]
mov r9d, eax
mov edx, 0xf
lea rax, str.GetLastError__
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.1400d9dd4
mov rcx, rsi
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_DeregisterEventSource]
nop dword [rax + rax]
lea rcx, str.LogEvent
call fcn.1400ed25c
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400164a0
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f061c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, r9
mov r15, r8
mov rbp, rdx
mov r12, rcx
xor ebx, ebx
mov dword [rax + 0x10], 0x100
mov dword [rax - 0x38], ebx
mov edi, ebx
lea esi, [rbx + 1]
test rdx, rdx
je 0x1400f0750
cmp word [rdx], bx
je 0x1400f0750
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x78]
call fcn.1400ecee0
mov rdi, rax
test rax, rax
je 0x1400f071f
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, r12
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov r9d, eax
test eax, eax
je 0x1400f06f3
cmp eax, 0xea
je 0x1400f0662
mov esi, ebx
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400f0794
test byte [rcx + 0x1c], 8
je 0x1400f0794
mov edx, 0x16
lea rax, str.lResult
jmp 0x1400f077f
test r15, r15
je 0x1400f06fe
mov qword [r15], rdi
mov rdi, rbx
test r14, r14
je 0x1400f070a
mov eax, dword [rsp + 0x78]
mov dword [r14], eax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400f0794
mov eax, dword [rsp + 0x30]
mov dword [rcx], eax
jmp 0x1400f0794
mov r9d, 0xe
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400f0794
test byte [rcx + 0x1c], 8
je 0x1400f0794
lea edx, [r9 + 7]
lea rax, str.pValue
jmp 0x1400f077f
mov r9d, 0x57
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400f0794
test byte [rcx + 0x1c], 8
je 0x1400f0794
lea edx, [r9 - 0x43]
lea rax, [0x14013ec00]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14013fe30]
mov qword [rsp + 0x20], rax
call fcn.1400d9dd4
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
lea r11, [rsp + 0x40]
mov eax, esi
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400f0aa8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
lea edi, [rbx + 1]
test rdx, rdx
je 0x1400f0b10
test r8, r8
je 0x1400f0b10
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov r9d, eax
test eax, eax
je 0x1400f0b54
mov edi, ebx
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400f0b54
test byte [rcx + 0x1c], 8
je 0x1400f0b54
mov edx, 0x24
lea rax, str.lResult
jmp 0x1400f0b3f
mov r9d, 0x57
mov edi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400f0b54
test byte [rcx + 0x1c], 8
je 0x1400f0b54
lea edx, [r9 - 0x34]
lea rax, str.ERROR_INVALID_PARAMETER
mov rcx, qword [rcx + 0x10]
lea r8, [0x14013fe30]
mov qword [rsp + 0x20], rax
call fcn.1400d9dd4
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140003fb8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140003de4
Function at 0x1400046c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1400046e4
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x140004772
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004740
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140004740
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400222a0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000475d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140004765
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140004701
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x140004850
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140004789
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000478b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400047bd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400222a0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000484d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400047f8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14000482e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14000f164
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14000484d
cmp rsi, rax
ja 0x140004801
test rsi, rsi
je 0x14000484d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000f164
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret

Function at 0x1400066ab
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x14000876c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140024088]
test rax, rax
je 0x1400087b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400087b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400087b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400087b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400087b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400087b8
xor al, al
add rsp, 0x28
ret
Function at 0x14001189c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001190b
xor ecx, ecx
call qword [0x140024088]
test rax, rax
je 0x14001190b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001190b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001190b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001190b
cmp dword [rcx + 0x84], 0xe
jbe 0x14001190b
cmp dword [rcx + 0xf8], 0
je 0x14001190b
mov ecx, ebx
call fcn.1400119bc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140011798
nop
cmp dword [rbp + 0x20], 0
je 0x140011959
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140011964
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001189c

Function at 0x140011aa0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001189c

Function at 0x140021f80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140021fa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140021fa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov es, word [rdi + riz*2 + 0x79]
pop rdi
movabs eax, dword [0x7f1a4da962317f43]
mov al, 0xe9
xor eax, 0xf944addb
stc
invalid
Function at 0x140001ab0
Capabilities:
Terminate process

Disassembly:
movzx r9d, si
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001218
mov dword [0x14001b038], eax
cmp dword [0x14001b020], 0
jne 0x140003f08
mov ecx, eax
call qword [sym.imp.MSVCR120_CLR0400.dll_exit]
nop
jmp 0x140003f08
sub rsp, 0x28
call 0x140193000
add rsp, 0x28
jmp 0x140001ac0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax - 0x10], 0
and dword [rax - 0x18], 0
call qword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx esi, ax
mov rcx, qword gs:[0x30]
mov rdx, qword [rcx + 8]
xor ebx, ebx
xor eax, eax
lock cmpxchg qword [0x14001b218], rdx
jne 0x140003e92
mov eax, dword [0x14001b220]
cmp eax, 1
je 0x140003ea7
mov eax, dword [0x14001b220]
test eax, eax
jne 0x140003ebf
mov dword [0x14001b220], 1
lea rdx, [0x1400117c8]
lea rcx, [0x1400117a8]
call sub.MSVCR120_CLR0400.dll__initterm_e
test eax, eax
jne 0x140003eb5
mov eax, dword [0x14001b220]
cmp eax, 1
jne 0x140001b6c
lea rdx, [0x1400117a0]
lea rcx, [0x140011758]
call sub.MSVCR120_CLR0400.dll__initterm
mov dword [0x14001b220], 2
test ebx, ebx
jne 0x140001b79
xor eax, eax
xchg qword [0x14001b218], rax
cmp qword [0x14001b238], 0
jne 0x140003ecf
mov rax, qword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
cmp byte [rbx], 0x20
jbe 0x140001bc4
cmp byte [rbx], 0x22
je 0x140003f20
movzx ecx, byte [rbx]
call qword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
test eax, eax
jne 0x140003f33
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001b9a
cmp byte [rbx], 0
je 0x140001bcd
test edi, edi
jne 0x140001b9f
mov al, byte [rbx]
dec al
cmp al, 0x1f
ja 0x1400011e1
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001bcd
cmp rax, rdx
jne 0x140003ea1
mov ebx, 1
jmp 0x140001b02
jmp 0x140001af1
lea ecx, [rax + 0x1e]
call sub.MSVCR120_CLR0400.dll__amsg_exit
jmp 0x140001b44
mov eax, 0xff
jmp 0x140003f6e
mov dword [0x14001b37c], 1
jmp 0x140001b44
lea rcx, [0x14001b238]
call fcn.14000e710
test eax, eax
je 0x140001b87
mov rbx, qword [0x14001b238]
mov rcx, rbx
mov rax, qword [0x140011568]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
nop
jmp 0x140001b87
cmp dword [0x14001b37c], 0
jne 0x140003f1d
call qword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x14001b038]
jmp 0x140003f6e
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
jmp 0x140001ba8
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140001bb9
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
clc
mov ebx, 0xb55771ce
sub dl, byte [rbx - 0x5b]
invalid
Function at 0x3883e15b0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x3883e15d1
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sub.msvcrt.dll_fflush

Function at 0x3883e88c0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x158
movaps xmmword [rsp + 0x140], xmm6
cmp qword [0x388491b20], 0
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x178], rdx
mov byte [rsp + 0x2f], 1
je 0x3883e89b7
mov rax, qword [0x388491c00]
lea rcx, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [0x388491c00], rax
call sub.msvcrt.dll__setjmp
cdqe
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x3883e89e0
xor r12d, r12d
cmp qword [rsp + 0x170], 0
je 0x3883e898c
mov rcx, qword [rsp + 0x170]
call sub.msvcrt.dll_strlen
mov edx, 7
lea rcx, [0x388409020]
cmp rax, rdx
movq xmm6, rax
mov rbx, rax
cmovge rdx, rax
movq xmm0, rdx
add rdx, 0x11
punpcklqdq xmm6, xmm0
call fcn.388400170
mov rdx, qword [rsp + 0x170]
lea r8, [rbx + 1]
movups xmmword [rax], xmm6
lea rcx, [rax + 0x10]
mov r12, rax
call sub.msvcrt.dll_memcpy
mov rcx, r12
call qword [0x388491b20]
cmp qword [rsp + 0x38], 0
mov byte [rsp + 0x2f], 0
mov rax, qword [0x388491c00]
mov rax, qword [rax]
mov qword [0x388491c00], rax
jne 0x3883e8a49
movzx eax, byte [rsp + 0x2f]
test al, al
jne 0x3883e8a58
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop r12
ret
mov rax, qword [0x388491c00]
mov rax, qword [rax]
mov qword [rsp + 0x38], 0
mov qword [0x388491c00], rax
mov rax, qword [0x38849f7a8]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x3883e8a1b
add qword [rbx - 0x10], 8
mov rax, qword [0x38849f7a8]
test rax, rax
je 0x3883e8a36
mov rdx, qword [rax - 0x10]
lea rcx, [rax - 0x10]
sub rdx, 8
mov qword [rax - 0x10], rdx
cmp rdx, 7
ja 0x3883e8a36
call fcn.3883ff7e0
cmp qword [rsp + 0x38], 0
mov qword [0x38849f7a8], rbx
je 0x3883e89b7
call fcn.3883e9350
jmp 0x3883e89b7
mov ecx, 2
call qword [fcn.388408be0]
mov rcx, qword [rsp + 0x170]
mov edx, 1
mov r8, qword [rsp + 0x178]
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
jmp 0x3883e89c4
Function at 0x3883ea790
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.388408be0]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
sub rsp, 0x28
mov rax, qword [0x38849f7a0]
cmp rax, 0xdab
jg 0x3883ea80e
lea rdx, [0x388498a40]
mov qword [rdx + rax*8], rcx
add rax, 1
mov qword [0x38849f7a0], rax
add rsp, 0x28
ret
call fcn.3883ea790
nop
nop word cs:[rax + rax]
nop
push r12
sub rsp, 0x30
mov rax, qword [0x38849f7a0]
cmp rax, 0xdab
jg 0x3883ea8bf
lea rdx, [0x388498a40]
lea rcx, [0x3883e4490]
mov qword [rdx + rax*8], rcx
add rax, 1
lea r12, [0x3883e9400]
mov qword [0x38849f7a0], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.3883e17d0
call fcn.3883e2be0
mov rdx, r12
mov ecx, 2
call sub.msvcrt.dll_signal
mov rdx, r12
mov ecx, 0xb
call sub.msvcrt.dll_signal
mov rdx, r12
mov ecx, 0x16
call sub.msvcrt.dll_signal
mov rdx, r12
mov ecx, 8
call sub.msvcrt.dll_signal
mov rdx, r12
mov ecx, 4
call sub.msvcrt.dll_signal
nop
add rsp, 0x30
pop r12
ret
call fcn.3883ea790
nop
nop word cs:[rax + rax]

Function at 0x3883eaa30
Capabilities:
Write file on windows

Disassembly:
push r12
sub rsp, 0x20
mov ecx, 2
call qword [fcn.388408be0]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_variables
mov r12, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop word cs:[rax + rax]
nop dword [rax]
sub rsp, 0x28
mov rax, qword [0x388498a20]
cmp rax, 0xdab
jg 0x3883eaaae
lea rdx, [0x388491cc0]
mov qword [rdx + rax*8], rcx
add rax, 1
mov qword [0x388498a20], rax
add rsp, 0x28
ret
call fcn.3883eaa30
nop
nop word cs:[rax + rax]
nop
Function at 0x3883ec780
Capabilities:
Link many functions at runtime

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
lea rcx, [0x38840a570]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x3884a24d0], rax
mov r12, rax
test rax, rax
je 0x3883ec9a8
lea r13, str.GetCurrentThread
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rdx, r13
call rbx
test rax, rax
je 0x3883ec9b8
mov r12, qword [0x3884a24d0]
lea r13, [0x38840a362]
mov qword [0x388491128], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883ec9d0
mov r12, qword [0x3884a24d0]
lea r13, str.HeapCreate
mov qword [0x388491120], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883ec9e0
mov r12, qword [0x3884a24d0]
lea r13, str.HeapAlloc
mov qword [0x388491118], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883ec9f0
mov r12, qword [0x3884a24d0]
lea r13, [0x38840a388]
mov qword [0x388491110], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca00
mov r12, qword [0x3884a24d0]
lea r13, str.LoadLibraryA
mov qword [0x388491108], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca10
mov r12, qword [0x3884a24d0]
lea r13, [0x38840a3a4]
mov qword [0x388491100], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca20
mov r12, qword [0x3884a24d0]
lea r13, str.InitializeProcThreadAttributeList
mov qword [0x3884910f8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca30
mov r12, qword [0x3884a24d0]
lea r13, str.UpdateProcThreadAttribute
mov qword [0x3884910f0], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca40
mov r12, qword [0x3884a24d0]
lea r13, str.CreateProcessW
mov qword [0x3884910e8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca50
mov r12, qword [0x3884a24d0]
lea r13, str.GetCurrentProcess
mov qword [0x3884910e0], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca60
mov r12, qword [0x3884a24d0]
lea r13, str.ResumeThread
mov qword [0x3884910d8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca70
mov r12, qword [0x3884a24d0]
lea r13, [0x38840a422]
mov qword [0x3884910d0], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883eca80
mov qword [0x3884910c8], rax
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
lea rcx, [0x38840a540]
call fcn.3883e9510
nop dword [rax]
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec7c8
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec7ee
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec814
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec83a
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec860
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec886
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec8ac
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec8d2
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec8f8
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec91e
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec944
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec96a
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883ec990
Function at 0x3883f2050
Capabilities:
Link many functions at runtime

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
lea rcx, [0x3884107b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x3884a6058], rax
mov r12, rax
test rax, rax
je 0x3883f2168
lea r13, str.GetCommandLineW
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rdx, r13
call rbx
test rax, rax
je 0x3883f2178
mov r12, qword [0x3884a6058]
lea r13, str.GetModuleFileNameW
mov qword [0x3884a3fd8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883f2190
mov r12, qword [0x3884a6058]
lea r13, str.GetCurrentDirectoryW
mov qword [0x3884a3fd0], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883f21a0
mov r12, qword [0x3884a6058]
lea r13, str.FormatMessageW
mov qword [0x3884a3fc8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883f21b0
mov r12, qword [0x3884a6058]
lea r13, str.LocalFree
mov qword [0x3884a3fc0], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883f21c0
mov r12, qword [0x3884a6058]
lea r13, str.GetLastError
mov qword [0x3884a3fb8], rax
mov rdx, r13
mov rcx, r12
call rbx
test rax, rax
je 0x3883f21d0
mov qword [0x3884a3fb0], rax
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
lea rcx, [0x388410780]
call fcn.3883e9510
nop dword [rax]
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883f2098
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883f20be
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883f20e4
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883f210a
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883f2130
mov rdx, r13
mov rcx, r12
call fcn.3883ea8d0
jmp 0x3883f2152