joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000eab0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rdx
mov rdx, qword [rsp + 0x98]
lea r14, [rcx + 0xcd4]
mov rcx, rax
mov r13, r9
mov esi, r8d
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14000eb18
lea r9, str.GetFileSizeEx__
lea rcx, str..QHImageHlp.c
xor r8d, r8d
mov edx, 0x11e
call fcn.140011ed0
xor eax, eax
jmp 0x14000ec79
mov r12, qword [rsp + 0x88]
xor edi, edi
lea rbp, [rbx + 8]
mov r15d, edi
cmp edi, esi
jne 0x14000eb3a
mov rax, qword [rsp + 0x98]
mov rbx, qword [rax]
jmp 0x14000eb3e
mov rbx, qword [rbp - 8]
sub rbx, rdi
mov rsi, rbx
shr rsi, 0xf
and ebx, 0x7fff
jne 0x14000eb57
mov ebx, 0x8000
jmp 0x14000eb59
inc esi
test esi, esi
je 0x14000ebc6
nop dword [rax]
mov rcx, qword [rsp + 0x60]
mov r9d, ebx
mov r8, r14
mov rdx, rdi
call fcn.14000dd20
test eax, eax
je 0x14000ed37
test r13, r13
je 0x14000eb99
mov rcx, qword [rsp + 0x80]
mov r8d, ebx
mov rdx, r14
call r13
test eax, eax
je 0x14000ec8e
test r12, r12
je 0x14000ebb7
mov rcx, qword [rsp + 0x90]
mov r8d, ebx
mov rdx, r14
call r12
test eax, eax
je 0x14000ecb0
mov eax, ebx
mov ebx, 0x8000
add rdi, rax
add esi, 0xffffffff
jne 0x14000eb60
mov esi, dword [rsp + 0x70]
cmp r15d, esi
jae 0x14000ec64
mov r9d, dword [rbp]
test r9d, r9d
je 0x14000ec74
cmp dword [rbp + 8], 0
jne 0x14000ec1d
mov rcx, qword [rsp + 0x60]
mov r8, r14
mov rdx, rdi
call fcn.14000dd20
test eax, eax
je 0x14000ed37
test r12, r12
je 0x14000ec1d
mov r8d, dword [rbp]
mov rcx, qword [rsp + 0x90]
mov rdx, r14
call r12
test eax, eax
je 0x14000ecd2
test r13, r13
je 0x14000ec5d
cmp dword [rbp + 4], 0
je 0x14000ec5d
mov eax, dword [rbp]
cmp eax, 0x8000
ja 0x14000ed19
mov r8, rax
xor edx, edx
mov rcx, r14
call fcn.140024b80
mov r8d, dword [rbp]
mov rcx, qword [rsp + 0x80]
mov rdx, r14
call r13
test eax, eax
je 0x14000ecf4
mov edi, dword [rbp]
add rdi, qword [rbp - 8]
inc r15d
add rbp, 0x18
cmp r15d, esi
jbe 0x14000eb2b
mov eax, 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r9, str._rT
lea rcx, str..QHImageHlp.c
mov edx, 0x374
mov r8d, 0x11
call fcn.1400120c0
xor eax, eax
jmp 0x14000ec79
lea r9, str._rT
lea rcx, str..QHImageHlp.c
mov edx, 0x379
mov r8d, 0x11
call fcn.1400120c0
xor eax, eax
jmp 0x14000ec79
lea r9, str._rT
lea rcx, str..QHImageHlp.c
mov edx, 0x38b
mov r8d, 0x11
call fcn.1400120c0
xor eax, eax
jmp 0x14000ec79
lea r9, str._rT
lea rcx, str..QHImageHlp.c
mov edx, 0x395
mov r8d, 0x11
call fcn.1400120c0
xor eax, eax
jmp 0x14000ec79
lea r9, [0x140042898]
lea rcx, str..QHImageHlp.c
mov edx, 0x392
mov r8d, 8
call fcn.1400120c0
xor eax, eax
jmp 0x14000ec79
Function at 0x14000ed40
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, qword [rcx]
mov rbp, qword [rsp + 0xa8]
lea rsi, [rcx + 0xcd4]
mov rbx, rdx
mov rcx, r13
mov rdx, rbp
mov edi, r8d
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r13
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14000edad
lea r9, str.GetFileSizeEx__
lea rcx, str..QHImageHlp.c
xor r8d, r8d
mov edx, 0x11e
call fcn.140011ed0
xor eax, eax
jmp 0x14000ef42
mov r12, qword [rsp + 0xa0]
xor ecx, ecx
xor r14d, r14d
add rbx, 8
lea rdx, [0x14000d130]
mov dword [rsp + 0x80], ecx
mov qword [rsp + 0x30], rbx
cmp ecx, edi
jne 0x14000eddb
mov rbp, qword [rbp]
jmp 0x14000eddf
mov rbp, qword [rbx - 8]
sub rbp, r14
mov r15, rbp
shr r15, 0xf
and ebp, 0x7fff
jne 0x14000edf8
mov ebp, 0x8000
jmp 0x14000edfb
inc r15d
test r15d, r15d
je 0x14000eea8
mov r9d, ebp
mov r8, rsi
mov rdx, r14
mov rcx, r13
call fcn.14000dd20
test eax, eax
je 0x14000ef39
lea rdx, [0x14000d130]
test rdx, rdx
je 0x14000ee81
mov ebx, dword [r12 + 0x20]
mov r13, rsi
mov edi, ebp
and ebx, 0x3f
movsxd rsi, ebx
test ebp, ebp
je 0x14000ee77
nop dword [rax]
movzx eax, byte [r13]
inc ebx
inc rsi
mov byte [r12 + rsi + 0x27], al
inc qword [r12 + 0x20]
inc r13
dec rdi
cmp ebx, 0x40
jne 0x14000ee6b
mov rcx, r12
xor ebx, ebx
xor esi, esi
call fcn.1400106d0
test rdi, rdi
jne 0x14000ee40
lea rdx, [0x14000d130]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov eax, ebp
mov ebp, 0x8000
add r14, rax
add r15d, 0xffffffff
jne 0x14000ee04
mov rbx, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x80]
mov edi, dword [rsp + 0x90]
cmp ecx, edi
jae 0x14000eef8
mov eax, dword [rbx]
test eax, eax
je 0x14000ef3d
test rdx, rdx
je 0x14000eef1
cmp dword [rbx + 4], 0
je 0x14000eef1
cmp eax, 0x8000
ja 0x14000ef1b
mov r8, rax
xor edx, edx
mov rcx, rsi
call fcn.140024b80
mov r8d, dword [rbx]
mov rdx, rsi
mov rcx, r12
call fcn.1400107b0
mov ecx, dword [rsp + 0x80]
lea rdx, [0x14000d130]
mov r14d, dword [rbx]
add r14, qword [rbx - 8]
inc ecx
add rbx, 0x18
mov dword [rsp + 0x80], ecx
mov qword [rsp + 0x30], rbx
cmp ecx, edi
ja 0x14000ef3d
mov rbp, qword [rsp + 0xa8]
jmp 0x14000edd1
lea r9, [0x140042898]
lea rcx, str..QHImageHlp.c
mov edx, 0x3d8
mov r8d, 8
call fcn.1400120c0
xor eax, eax
jmp 0x14000ef42
mov eax, 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000fcf0
Capabilities:
Get storage device properties

Disassembly:
push rsi
push r12
push r13
push r14
sub rsp, 0x68
mov rax, qword [0x14004e300]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r14d, r14d
mov r12d, edx
mov r13, rcx
mov esi, r14d
mov dword [rsp + 0x40], r14d
test rcx, rcx
je 0x14000fe80
test edx, edx
je 0x14000fe80
mov ecx, 0x2800
mov qword [rsp + 0x60], rdi
call fcn.140023c3c
mov rdi, rax
test rax, rax
jne 0x14000fd6e
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140021c70
add rsp, 0x68
pop r14
pop r13
pop r12
pop rsi
ret
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rbp
mov ebx, r14d
lea r8, str..PhysicalDrive_d
mov r9d, ebx
mov edx, 0x2800
mov rcx, rdi
call fcn.14000db70
xor r9d, r9d
mov qword [rsp + 0x30], r14
lea r8d, [r9 + 3]
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000fe56
xor eax, eax
xor edx, edx
mov r8d, 0x2800
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x50], eax
call fcn.140024b80
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edx, 0x2d1400
mov rcx, rbp
mov dword [rsp + 0x28], 0x2800
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14000fe49
mov eax, dword [rdi + 0x18]
test eax, eax
je 0x14000fe49
lea r9, [rdi + rax]
lea rcx, str.DISKID:
mov r8d, r12d
mov rdx, r13
call fcn.14000fa40
mov esi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x14000fe61
inc ebx
cmp ebx, 0x10
jl 0x14000fd81
mov rcx, rdi
call fcn.140023bfc
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov eax, esi
jmp 0x14000fd50
or eax, 0xffffffff
jmp 0x14000fd55
Function at 0x14000ff90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rsi
push r12
sub rsp, 0x70
xor ebx, ebx
mov r12, rcx
mov rsi, rbx
test rcx, rcx
je 0x1400101dc
test edx, edx
je 0x1400101dc
mov ecx, 0x200
mov qword [rsp + 0x60], rdi
call fcn.140023c3c
mov rdi, rax
test rax, rax
jne 0x14000ffe6
lea ecx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x60]
or eax, 0xffffffff
add rsp, 0x70
pop r12
pop rsi
pop rbx
ret
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x58], r13
mov r13, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
mov r9d, 0x20119
xor r8d, r8d
mov rcx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400101bf
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x90]
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x90], pe_nt_image_headers64
mov ebp, ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140010150
nop dword [rax]
mov rcx, qword [rsp + 0xa8]
lea rax, [rsp + 0x40]
mov r9d, 0x20119
test rcx, rcx
mov rdx, rdi
mov qword [rsp + 0x20], rax
cmove rcx, r13
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001010c
lea rcx, [rsp + 0x98]
lea rax, [rdi + 4]
lea r9, [rsp + 0xa0]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x40]
lea rdx, str.ServiceName
xor r8d, r8d
mov dword [rsp + 0xa0], 1
mov dword [rsp + 0x90], 0x200
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140010101
mov rcx, rdi
mov dword [rdi], 0x5c2e5c5c
call fcn.14000fe90
cmp rax, rsi
cmova rsi, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
inc ebp
lea r9, [rsp + 0x90]
mov r8, rdi
mov edx, ebp
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x90], pe_nt_image_headers64
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140010070
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x68]
test rsi, rsi
je 0x1400101bf
lea r8, str._012I64X
mov r9, rsi
mov edx, 0x200
mov rcx, rdi
call fcn.14000db70
test eax, eax
jne 0x1400101a3
mov rcx, rdi
or ebx, 0xffffffff
call fcn.140023bfc
mov r13, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
add rsp, 0x70
pop r12
pop rsi
pop rbx
ret
mov r8d, dword [rsp + 0x98]
lea rcx, str.MAC:
mov r9, rdi
mov rdx, r12
call fcn.14000fa40
mov ebx, eax
mov rcx, rdi
call fcn.140023bfc
mov r13, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
add rsp, 0x70
pop r12
pop rsi
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x70
pop r12
pop rsi
pop rbx
ret
Function at 0x140013a10
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x140
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x14004e300]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor ebx, ebx
mov qword [0x1400564c8], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
lea r9, str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
lea r8, str._s__u
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0xa0]
call fcn.1400374ec
mov word [rsp + 0x120], bx
lea r8, [rsp + 0xa0]
lea edx, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140013c13
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140013ab5
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov word [rsp + 0x60], bx
xor eax, eax
mov qword [rsp + 0x62], rax
mov qword [rsp + 0x6a], rax
mov qword [rsp + 0x72], rax
mov qword [rsp + 0x7a], rax
mov qword [rsp + 0x82], rax
mov qword [rsp + 0x8a], rax
mov qword [rsp + 0x92], rax
mov dword [rsp + 0x9a], eax
mov word [rsp + 0x9e], ax
lea r8d, [rax + 0x1f]
lea rdx, [rsp + 0x60]
lea rcx, str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
call fcn.1400136b0
mov qword [rsp + 0x38], rbx
test eax, eax
je 0x140013b48
mov eax, eax
mov word [rsp + rax*2 + 0x60], bx
lea r8, [rsp + 0x38]
lea rdx, str._I64x
lea rcx, [rsp + 0x60]
call fcn.1400373e8
cmp eax, 1
jne 0x140013b48
mov rax, qword [rsp + 0x38]
mov qword [0x1400564c8], rax
jmp 0x140013bf7
mov rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140013b6a
xor edx, edx
mov r8d, 0x5d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov qword [rsp + 0x48], rdi
test rdi, rdi
je 0x140013b81
mov rdx, rsi
mov rcx, rdi
call fcn.140013e80
jmp 0x140013b84
mov rax, rbx
mov qword [0x1400564c8], rax
test rax, rax
jne 0x140013ba9
mov dword [rsp + 0x34], 1
lea rdx, [0x14004aae0]
lea rcx, [rsp + 0x34]
call fcn.1400245ec
mov ebx, 1
mov r8, rax
lea rdx, str._I64x
lea rcx, [rsp + 0x60]
call fcn.140022094
lea rdx, [rsp + 0x60]
lea rcx, str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
call fcn.140013800
test eax, eax
jne 0x140013bf0
mov dword [rsp + 0x30], 3
lea rdx, [0x14004aae0]
lea rcx, [rsp + 0x30]
call fcn.1400245ec
mov rax, qword [0x1400564c8]
inc dword [rax + 0x5d0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebx, ebx
jne 0x140013c13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [0x1400564c8]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140021c70
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140013c40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1400564c8]
test rax, rax
je 0x140013d39
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
jne 0x140013c76
mov qword [rsp + 0x40], 0
jmp 0x140013c91
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140013d39
mov rax, qword [0x1400564c8]
mov rcx, qword [rax]
test rcx, rcx
je 0x140013d37
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140013d37
lea rcx, [0x1400564c8]
call fcn.140013d40
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140013ce0
mov dword [rsp + 0x20], 1
lea rdx, [0x14004aae0]
lea rcx, [rsp + 0x20]
call fcn.1400245ec
mov rax, qword [0x1400564c8]
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
je 0x140013cfe
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140013cfe
jmp 0x140013d1d
mov dword [rsp + 0x24], 4
lea rdx, [0x14004aae0]
lea rcx, [rsp + 0x24]
call fcn.1400245ec
nop
mov rbx, qword [rsp + 0x40]
mov rcx, qword [0x1400564c8]
mov rcx, qword [rcx]
test rcx, rcx
je 0x140013d32
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, rbx
jmp 0x140013d39
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140013d40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, qword [rbp]
mov esi, eax
mov rbx, qword [rdx + 0x5b8]
add rdx, 0x10
mov qword [rdx + 0x5b8], rbx
cmp rbx, rdx
jne 0x140013d81
mov rbx, rdi
jmp 0x140013d8f
mov rax, qword [rbx + 0x5a8]
mov qword [rdx + 0x5b8], rax
test rbx, rbx
je 0x140013e55
mov r8d, dword [rbx]
cmp esi, r8d
jne 0x140013da5
mov rdi, rbx
jmp 0x140013e20
mov edx, 1
lea ecx, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_OpenThread]
test rax, rax
jne 0x140013e17
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140013e08
mov rcx, qword [rbx + 0x5b0]
mov rax, qword [rbx + 0x5a8]
mov qword [rcx + 0x5a8], rax
mov rcx, qword [rbx + 0x5a8]
mov rax, qword [rbx + 0x5b0]
mov qword [rcx + 0x5b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140013e20
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140013e20
lea rcx, [0x140042d20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140013e20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp]
mov rbx, qword [rdx + 0x5c8]
add rdx, 0x10
cmp rbx, rdx
je 0x140013e4b
mov rcx, qword [rbx + 0x5a8]
mov qword [rdx + 0x5b8], rcx
test rbx, rbx
jne 0x140013d98
test rdi, rdi
je 0x140013e55
mov rax, rdi
jmp 0x140013e69
mov rcx, qword [rbp]
add rcx, 0x10
call fcn.140013fc0
test rax, rax
je 0x140013e69
mov dword [rax], esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140013e80
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], 0
mov dword [rcx + 8], 0xffffffff
lea rbx, [rcx + 0x10]
mov dword [rbx], 0
lea rcx, [rbx + 8]
xor edx, edx
mov r8d, 0x5a0
call fcn.140024b80
mov qword [rbx + 0x5b0], rbx
mov qword [rbx + 0x5a8], rbx
mov qword [rbx + 0x5b8], rbx
mov dword [rdi + 0x5d0], 0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rdi + 8], eax
cmp eax, 0xffffffff
jne 0x140013f13
mov dword [rsp + 0x50], 2
lea rdx, [0x14004aae0]
lea rcx, [rsp + 0x50]
call fcn.1400245ec
int3
mov qword [rdi], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140019b54
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1400172d4
mov rsi, rax
test rax, rax
je 0x140019bd0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140019bcb
cmp dword [rbx], 0x40
jb 0x140019bcb
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140019bcb
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140019bd4
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140023cfc
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140023d85
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140023d47
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140023d95
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x140023d5d
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140023d95
cmp dword [rax + 0x84], 0xe
ja 0x140023d71
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x140023d95
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x140023d95
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.14002b574
test eax, eax
jne 0x140023dc5
cmp dword [0x140055440], 1
jne 0x140023db1
call fcn.14002b528
mov ecx, 0x1c
call fcn.14002b300
mov ecx, 0xff
call fcn.140025234
call fcn.1400265bc
test eax, eax
jne 0x140023df0
cmp dword [0x140055440], 1
jne 0x140023ddc
call fcn.14002b528
mov ecx, 0x10
call fcn.14002b300
mov ecx, 0xff
call fcn.140025234
call fcn.14002bcf8
nop
call fcn.14002896c
test eax, eax
jns 0x140023e09
mov ecx, 0x1b
call fcn.1400251c8
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x140056728], rax
call fcn.14002bc64
mov qword [0x140055438], rax
call fcn.14002bb74
test eax, eax
jns 0x140023e34
mov ecx, 8
call fcn.1400251c8
call fcn.14002b8a4
test eax, eax
jns 0x140023e47
mov ecx, 9
call fcn.1400251c8
mov ecx, 1
call fcn.1400252d4
test eax, eax
je 0x140023e5c
mov ecx, eax
call fcn.1400251c8
call fcn.14002b848
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.140004224
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x140023e93
mov ecx, eax
call fcn.140025510
call fcn.140025528
jmp 0x140023eb4
mov eax, edi
jmp 0x140023ebd
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.14002bd68
add rsp, 0x28
jmp 0x140023cfc
Function at 0x140025510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140029118
nop
cmp dword [0x140055498], 1
je 0x1400254bc
mov dword [0x140055494], 1
mov byte [0x140055490], r12b
test ebx, ebx
jne 0x1400254a8
mov rcx, qword [0x140056710]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140025495
mov rcx, qword [0x140056708]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140025434
call fcn.1400262ec
cmp qword [rdi], rax
jne 0x140025434
jmp 0x14002541a
cmp rdi, rsi
jb 0x140025495
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400262ec
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140056710]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140056708]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140025473
cmp r13, rax
je 0x140025493
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002541a
lea rdx, [0x14003bb10]
lea rcx, [0x14003baf8]
call fcn.140025264
lea rdx, [0x14003bb20]
lea rcx, [0x14003bb18]
call fcn.140025264
nop
test r12d, r12d
je 0x1400254cb
mov ecx, 8
call fcn.140029018
test r12d, r12d
jne 0x1400254f6
mov dword [0x140055498], 1
lea ecx, [r12 + 8]
call fcn.140029018
mov ecx, r15d
call fcn.1400251f8
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140025384

Function at 0x14002551c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140025384
Function at 0x140025657
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14004e300]
jne 0x140021c8a
rol rcx, 0x10
test cx, 0xffff
jne 0x140021c86
repz ret
ror rcx, 0x10
jmp 0x1400255b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140055540]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140055638]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140025635
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140055540]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140025657
mov rax, qword [rsp + 0x88]
mov qword [0x140055638], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400555d8], rax
mov rax, qword [0x140055638]
mov qword [0x1400554b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400555c0], rax
mov dword [0x1400554a0], 0xc0000409
mov dword [0x1400554a4], 1
mov rax, qword [0x14004e300]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14004e308]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140055538], eax
mov ecx, 1
call fcn.140027984
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003ea60]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140055538], 0
jne 0x1400256de
mov ecx, 1
call fcn.140027984
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret