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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x1018], 0
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
jne 0x140001ad8
lea rcx, str.CommandlineLib_is_not_initialized___2__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
nop dword [rax + rax]
test rsi, rsi
je 0x140001bbb
test rbx, rbx
je 0x140001bbb
mov rdx, rbx
mov rcx, rsi
call fcn.140027074
nop dword [rax]
test eax, eax
je 0x140001bbb
cmp dword [rdi + 0x10], 0x100
jge 0x140001bbb
sub rbx, rsi
sar rbx, 1
inc rbx
cmp rbx, 2
jb 0x140001bbb
mov qword [rsp + 0x50], rbp
mov eax, 2
mul rbx
mov qword [rsp + 0x58], r14
mov r14, rax
mov qword [rsp + 0x60], r15
mov r15, 0xffffffffffffffff
cmovb r14, r15
mov rcx, r14
call fcn.14001e3b0
mov rbp, rax
test rax, rax
je 0x140001b6e
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140047d20
jmp 0x140001b70
xor ebp, ebp
movsxd rax, dword [rdi + 0x10]
lea r9, [0x14004ab58]
mov r8, r15
mov qword [rsp + 0x20], rsi
mov rdx, rbx
mov qword [rdi + rax*8 + 0x18], rbp
movsxd rcx, dword [rdi + 0x10]
mov rcx, qword [rdi + rcx*8 + 0x18]
call fcn.1400022c0
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
test eax, eax
je 0x140001bbb
movsxd rax, dword [rdi + 0x10]
mov qword [rdi + rax*8 + 0x818], rbx
inc dword [rdi + 0x10]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x140001be0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x1018], 0
mov rbp, rcx
jne 0x140001c1a
lea rcx, str.CommandlineLib_is_not_initialized___4__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
xor r14d, r14d
mov esi, r14d
cmp dword [rbp + 0x10], r14d
jle 0x140001c71
mov qword [rsp + 0x30], rbx
lea rbx, [rbp + 0x18]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx]
test rdi, rdi
je 0x140001c5c
mov rcx, qword [rbx + 0x800]
xor eax, eax
add rcx, rcx
rep stosb byte [rdi], al
mov rcx, qword [rbx]
call fcn.14001e3b8
mov qword [rbx], r14
mov qword [rbx + 0x800], r14
inc esi
add rbx, 8
cmp esi, dword [rbp + 0x10]
jl 0x140001c34
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov dword [rbp + 0x10], r14d
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140001f00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x1018], 0
mov rbp, rdx
mov rsi, rcx
jne 0x140001f37
lea rcx, str.CommandlineLib_is_not_initialized___5__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
test rbp, rbp
je 0x140001f74
mov ebx, 1
cmp dword [rsi + 0x10], ebx
jle 0x140001f74
lea rdi, [rsi + 0x20]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140001f69
mov rcx, rbp
call fcn.140027074
test eax, eax
je 0x140001f8b
inc ebx
add rdi, 8
cmp ebx, dword [rsi + 0x10]
jl 0x140001f54
xor eax, eax
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov eax, ebx
jmp 0x140001f76

Function at 0x140001fa0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x1018], 0
mov r14, r8
mov rbp, rdx
mov rsi, rcx
jne 0x140001fe0
lea rcx, str.CommandlineLib_is_not_initialized___6__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
cmp byte [rsi + 0x1018], 0
jne 0x140002007
lea rcx, str.CommandlineLib_is_not_initialized___5__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
test rbp, rbp
je 0x14000207d
mov ebx, 1
cmp dword [rsi + 0x10], ebx
jle 0x14000207d
lea rdi, [rsi + 0x20]
nop dword [rax]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140002049
mov rcx, rbp
call fcn.140027074
test eax, eax
je 0x140002056
inc ebx
add rdi, 8
cmp ebx, dword [rsi + 0x10]
jl 0x140002030
jmp 0x14000207d
test ebx, ebx
je 0x14000207d
mov eax, dword ds:[rsi + 0x10]
dec eax
cmp ebx, eax
je 0x14000207d
movsxd rax, ebx
mov edx, 0xfffd
mov rax, qword [rsi + rax*8 + 0x20]
movzx ecx, word [rax]
sub cx, 0x2b
test dx, cx
jne 0x140002080
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400020a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x1018], 0
mov r14d, r8d
mov rbp, rdx
mov rsi, rcx
jne 0x1400020e0
lea rcx, str.CommandlineLib_is_not_initialized___8__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
cmp byte [rsi + 0x1018], 0
jne 0x140002107
lea rcx, str.CommandlineLib_is_not_initialized___5__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
test rbp, rbp
je 0x14000219c
mov ebx, 1
cmp dword [rsi + 0x10], ebx
jle 0x14000219c
lea rdi, [rsi + 0x20]
nop dword [rax]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140002149
mov rcx, rbp
call fcn.140027074
test eax, eax
je 0x140002156
inc ebx
add rdi, 8
cmp ebx, dword [rsi + 0x10]
jl 0x140002130
jmp 0x14000219c
test ebx, ebx
je 0x14000219c
mov eax, dword ds:[rsi + 0x10]
dec eax
cmp ebx, eax
je 0x14000219c
movsxd rax, ebx
mov edx, 0xfffd
mov rcx, qword [rsi + rax*8 + 0x20]
movzx eax, word [rcx]
sub ax, 0x2b
test dx, ax
je 0x14000219c
xor edx, edx
mov r8d, 0xa
call fcn.14002830c
mov ebx, eax
call fcn.140027014
cmp dword [rax], 0x22
je 0x14000219c
mov eax, ebx
test ebx, ebx
jne 0x14000219f
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400021c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x1018], 0
mov r14, r8
mov rbp, rdx
mov rsi, rcx
jne 0x140002200
lea rcx, str.CommandlineLib_is_not_initialized___7__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
cmp byte [rsi + 0x1018], 0
jne 0x140002227
lea rcx, str.CommandlineLib_is_not_initialized___5__r_n
call fcn.1400091e0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
test rbp, rbp
je 0x140002274
mov ebx, 1
cmp dword [rsi + 0x10], ebx
jle 0x140002274
lea rdi, [rsi + 0x20]
nop dword [rax]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140002269
mov rcx, rbp
call fcn.140027074
test eax, eax
je 0x140002292
inc ebx
add rdi, 8
cmp ebx, dword [rsi + 0x10]
jl 0x140002250
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test ebx, ebx
je 0x140002274
mov eax, dword ds:[rsi + 0x10]
sub eax, 2
cmp ebx, eax
jne 0x140002274
movsxd rax, ebx
mov rax, qword [rsi + rax*8 + 0x20]
jmp 0x140002277
Function at 0x140002fc0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov r8d, dword [0x14006c84c]
mov ebx, ecx
xor ecx, ecx
mov edi, ecx
test r8d, r8d
je 0x140003007
mov rax, qword [0x14006c840]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, ebx
jne 0x140003014
inc edi
add rax, 0x38
cmp edi, r8d
jb 0x140002ff0
mov eax, ecx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
cmp edi, 0xffffffff
je 0x140003007
xorps xmm0, xmm0
mov qword [rsp + 0x48], rsi
test ebx, ebx
mov edx, 0xffffffff
movups xmmword [rsp + 0x20], xmm0
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.1400035c0
mov esi, eax
test eax, eax
jne 0x140003140
mov r9d, dword [0x14006c84c]
mov qword [rsp + 0x50], r14
cmp edi, r9d
jae 0x14000309c
nop dword [rax]
mov ecx, edi
imul rdx, rcx, 0x38
mov rcx, qword [0x14006c840]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, ebx
je 0x140003095
mov edx, ebx
mov ecx, edi
call fcn.1400032a0
mov esi, eax
test eax, eax
jne 0x14000309c
mov r9d, dword [0x14006c84c]
inc edi
cmp edi, r9d
jb 0x140003060
mov r14, qword [rsp + 0x20]
test r14, r14
je 0x140003139
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1400030fe
mov qword [rsp + 0x40], rbp
mov rdi, r14
mov ebp, eax
nop dword [rax]
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1400030ef
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x1400030c0
mov rbp, qword [rsp + 0x40]
mov rcx, qword [0x14006c838]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapSize]
mov rdx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140003127
mov rdi, r14
xor eax, eax
mov rcx, rdx
rep stosb byte [rdi], al
mov rcx, qword [0x14006c838]
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r14, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400032a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x14006b680]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov dword [rsp + 0x20], 0
mov esi, edx
add rbx, qword [0x14006c840]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000331b
mov eax, 0xa
jmp 0x1400033ae
test esi, esi
je 0x14000333d
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x140003360
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x140003360
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x140003359
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x140003360
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14001e390
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400033e0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x14006b680]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
xor edx, edx
mov ecx, 4
xor esi, esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140003586
xorps xmm0, xmm0
mov qword [rsp + 0x34], rsi
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
movdqu xmmword [rsp + 0x24], xmm0
call sub.KERNEL32.dll_Thread32First
nop
test eax, eax
je 0x14000357d
mov esi, 1
mov qword [rsp + 0x68], rdi
cmp dword [rsp + 0x20], 0x10
jb 0x140003504
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x140003504
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop word [rax + rax]
cmp dword [rsp + 0x28], eax
je 0x140003504
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1400034c2
mov dword [rbx + 8], 0x80
mov edx, 8
mov rcx, qword [0x14006c838]
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x140003533
lea rdi, [rbx + 0xc]
jmp 0x1400034f9
mov eax, dword [rbx + 8]
lea rdi, [rbx + 0xc]
cmp dword [rdi], eax
jb 0x1400034f9
add eax, eax
mov r8, rdx
mov r9d, eax
mov edx, 8
mov dword [rbx + 8], eax
mov rcx, qword [0x14006c838]
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x140003533
mov qword [rbx], rax
mov ecx, dword [rdi]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
nop dword [rax]
test eax, eax
jne 0x140003452
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x140003578
mov r8, qword [rbx]
xor esi, esi
test r8, r8
je 0x140003578
mov rcx, qword [0x14006c838]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapSize]
mov rcx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000355f
mov rdi, qword [rbx]
xor eax, eax
rep stosb byte [rdi], al
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x14006c838]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], 0
mov rdi, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001e390
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x1400035c0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.1400033e0
test eax, eax
jne 0x140003607
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x140003682
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x14000366a
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov ecx, 0x5a
mov r8d, dword [r8 + rbx*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x14000365d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1400036a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x140003620
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400038a0
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x140003954
mov qword [rsp + 0x38], rdi
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x140003912
mov qword [rsp + 0x30], rsi
nop dword [rax]
nop dword [rax + rax]
mov r8, qword ds:[rbx]
xor edx, edx
mov ecx, 0x5a
mov r8d, dword [r8 + rdi*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x140003906
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1400038d0
mov rsi, qword [rsp + 0x30]
mov r8, qword ds:[rbx]
xor edx, edx
mov rcx, qword [0x14006c838]
call qword [sym.imp.KERNEL32.dll_HeapSize]
mov rdx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000393d
mov rdi, qword [rbx]
xor eax, eax
mov rcx, rdx
rep stosb byte [rdi], al
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x14006c838]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x140005bc0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14006b680]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rsi, [r11 + 0x10]
call fcn.1400022b0
xor r15d, r15d
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov qword [rsp + 0x20], r15
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax]
mov rdi, rax
or rcx, 2
call fcn.14002e5e0
test eax, eax
mov r14d, eax
mov r12, 0xffffffffffffffff
cmovs r14d, r12d
movsxd rbp, r14d
mov rcx, rbp
call fcn.14001e3b0
mov rbx, rax
test rax, rax
je 0x140005c5c
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.140047d20
jmp 0x140005c5f
mov rbx, r15
mov rax, qword [rsp + 0xb0]
mov r9, r12
mov rcx, qword [rdi]
mov r8, rbp
mov qword [rsp + 0x30], rsi
mov rdx, rbx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.14002e22c
mov qword [rsp + 0x30], r15
lea rcx, [0x14006d490]
mov dword [rsp + 0x28], 0x40000000
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 4
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, r12
je 0x140005d2f
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, rsi
test rax, rax
je 0x140005d29
mov qword [rsp + 0x58], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], r15
mov r8d, r14d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
mov byte [rbx + rbp - 1], 0xa
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14001e3b8
mov rcx, qword ds:[rsp + 0x60]
xor rcx, rsp
call fcn.14001e390
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140007570
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp qword [0x14006c870], 0
jne 0x14000758e
mov rcx, qword [0x14006d468]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov qword [0x14006c870], 0
add rsp, 0x28
ret
Function at 0x140007ce0
Capabilities:
Manipulate console buffer

Disassembly:
mov qword ss:[rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14006b680]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebx, ebx
xorps xmm0, xmm0
xor eax, eax
mov word [rsp + 0x38], bx
mov ecx, 0xfffffff5
mov dword [rsp + 0x4a], eax
movups xmmword [rsp + 0x3a], xmm0
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007dab
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
nop dword [rax]
test eax, eax
je 0x140007dab
movsx ecx, word [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rsi
mov edx, 0x20
movsx esi, word [rsp + 0x3a]
mov r9d, ebx
imul esi, ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
test eax, eax
je 0x140007da6
movzx edx, word [rsp + 0x40]
lea rax, [rsp + 0x34]
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
je 0x140007da6
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14001e390
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140009ce0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x3e9
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
jne 0x140009d21
mov r9d, 0x10
lea r8, str.Steam_Login
lea rdx, str.GetDlgItem_Failed_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rdx, qword [0x14006dd98]
mov r8d, 0x101
mov rcx, rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov r8, qword [0x14006dd98]
mov rdi, 0xffffffffffffffff
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x140009d50
test rcx, rcx
jne 0x140009d86
mov r9d, 0x40
lea r8, str.Steam_Login
lea rdx, str.You_must_enter_a_username
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, rdi
nop dword [rax]
inc rdx
cmp byte [r8 + rdx], 0
jne 0x140009d90
cdqe
cmp rax, rdx
je 0x140009db6
mov rdi, r8
lea rdx, str.Length_check_of_username_failed_
xor eax, eax
jmp 0x140009f31
mov edx, 0x3eb
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
jne 0x140009dde
mov rdi, qword [0x14006dd98]
lea rdx, str.GetDlgItem__2__Failed_
jmp 0x140009f31
mov rdx, qword [0x14006dfa8]
mov r8d, 0x101
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdx, qword [0x14006dfa8]
mov rcx, rdi
nop
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140009e00
test rcx, rcx
jne 0x140009e47
mov rdi, qword [0x14006dd98]
lea r8, str.Steam_Login
xor eax, eax
lea rdx, str.You_must_enter_a_password
mov ecx, 0x101
mov r9d, 0x40
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rcx, rdi
nop word [rax + rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140009e50
cdqe
cmp rax, rcx
je 0x140009e88
mov rdi, qword [0x14006dd98]
lea rdx, str.Length_check_of_password_failed_
xor eax, eax
mov ecx, 0x101
rep stosb byte [rdi], al
mov rdi, qword [0x14006dfa8]
jmp 0x140009f31
mov edx, 0x3ec
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
jne 0x140009eb9
mov rdi, qword [0x14006dd98]
lea rdx, str.GetDlgItem__3__Failed_
mov ecx, 0x101
rep stosb byte [rdi], al
mov rdi, qword [0x14006dfa8]
jmp 0x140009f31
mov rdx, qword [0x14006dfb0]
mov r8d, 0x101
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rdx, qword [0x14006dfb0]
mov rcx, rdi
nop dword [rax]
inc rcx
cmp byte [rdx + rcx], 0
jne 0x140009ee0
test rcx, rcx
je 0x140009f4d
nop
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140009ef0
cdqe
cmp rax, rdi
je 0x140009f4d
mov rdi, qword [0x14006dd98]
lea rdx, str.Length_check_of_master_password_failed_
xor eax, eax
mov ecx, 0x101
rep stosb byte [rdi], al
mov rdi, qword [0x14006dfa8]
mov ecx, 0x101
rep stosb byte [rdi], al
mov rdi, qword [0x14006dfb0]
mov ecx, 0x101
lea r8, str.Steam_Login
rep stosb byte [rdi], al
xor ecx, ecx
mov r9d, 0x10
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdi, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rbx
ret