joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180144570
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x1801902f8]
mov rsi, rcx
mov r15, r8
mov ebp, edx
mov r14d, 1
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movsxd rcx, dword [0x180190508]
xor ebx, ebx
test rax, rax
je 0x1801445c9
test ecx, ecx
jle 0x1801445c9
cmp ecx, dword [rax + 8]
jge 0x1801445c9
mov rbx, qword [rax]
mov rbx, qword [rbx + rcx*8]
xor ecx, ecx
call sym.tcl86t.dll_hcl_SetServiceMode
mov rcx, qword [rbx]
mov r9, rsi
xor r8d, r8d
mov edx, 0x402
mov r12d, eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
mov r9, rsi
mov r8, r14
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [rsi + 0x18]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
and edi, ebp
jne 0x180144661
nop dword [rax + rax]
test byte [rsi + 0x10], r14b
jne 0x180144657
mov rcx, qword [rbx + 0x18]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [rsi + 0x18]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
and edi, ebp
je 0x180144620
jmp 0x180144661
mov dword [r15], 0x8c
xor r14d, r14d
mov ecx, r12d
call sym.tcl86t.dll_hcl_SetServiceMode
mov rbx, qword [rsp + 0x40]
mov eax, r14d
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180145250
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x1801905e4], 0
jne 0x18014527a
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1801905ac], eax
mov dword [0x1801905e4], 1
cmp eax, 0xffffffff
je 0x1801452ac
jmp 0x180145280
mov eax, dword [0x1801905ac]
mov ecx, eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x18014529f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1801452b9
mov rax, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rcx, str.could_not_allocate_thread_local_storage
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.TlsGetValue_failed_from_TclpGetAllocCache
call sym.tcl86t.dll_hcl_Panic
int3

Function at 0x1801452d0
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x1801453a3
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x40]
mov r8d, dword [rsi]
test r8d, r8d
jle 0x180145304
mov edx, ebx
mov rcx, rdi
call fcn.180106700
inc ebx
add rsi, 0x28
cmp ebx, 0xa
jb 0x1801452f2
mov edx, dword [rdi + 0x18]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
test edx, edx
jle 0x180145328
mov rcx, rdi
call fcn.180106640
mov rcx, qword [0x180190088]
call sym.tcl86t.dll_hcl_MutexLock
mov rcx, qword [0x18018f160]
lea rdx, [0x18018f160]
cmp rcx, rdi
je 0x18014535e
nop word [rax + rax]
mov rax, qword [rcx]
mov rdx, rcx
mov rcx, rax
cmp rax, rdi
jne 0x180145350
mov rax, qword [rdi]
mov rcx, qword [0x180190088]
mov qword [rdx], rax
mov qword [rdi], 0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x1801905ac]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1801453cc
jmp 0x1801453c6
cmp dword [0x1801905e4], 0
je 0x1801453c6
mov ecx, dword [0x1801905ac]
call qword [sym.imp.KERNEL32.dll_TlsFree]
test eax, eax
je 0x1801453d9
mov dword [0x1801905e4], 0
add rsp, 0x20
pop rdi
ret
lea rcx, str.TlsSetValue_failed_from_TclpFreeAllocCache
call sym.tcl86t.dll_hcl_Panic
int3
lea rcx, str.TlsFree_failed_from_TclpFreeAllocCache
call sym.tcl86t.dll_hcl_Panic
int3
Function at 0x180145910
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1801902f8]
mov rsi, rcx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
movsxd rdx, dword [0x180190a60]
xor edi, edi
mov ebx, edi
test rax, rax
je 0x180145951
test edx, edx
jle 0x180145951
cmp edx, dword [rax + 8]
jge 0x180145951
mov rbx, qword [rax]
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
jne 0x180145987
lea ecx, [rbx + 0x64]
call sym.tcl86t.dll_hclpAlloc
mov rbx, rax
test rax, rax
je 0x180145b35
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x64]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
lea rcx, [0x180190a60]
call fcn.180106bc0
mov rcx, qword [rsi]
movabs rax, 0x440cb5e3c5502dcf
imul rcx
sar rdx, 0x19
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x7861f80
sub rcx, rax
lea eax, [rdx - 1]
test ecx, ecx
cmovns eax, edx
lea r8d, [rcx + 0x7861f80]
cmovns r8d, ecx
mov ecx, 1
lea eax, [rax*4 + 0x46]
cmp r8d, 0x1e13380
jl 0x180145a08
inc eax
add r8d, 0xfe1ecc80
cmp r8d, 0x1e13380
jl 0x180145a08
inc eax
sub r8d, 0x1e13380
cmp r8d, 0x1e28500
jl 0x180145a06
inc eax
sub r8d, 0x1e28500
jmp 0x180145a08
mov edi, ecx
mov dword [rbx + 0x54], eax
mov eax, 0xc22e4507
imul r8d
lea r9d, [r8 + rdx]
sar r9d, 0x10
mov eax, r9d
shr eax, 0x1f
add r9d, eax
imul eax, r9d, 0xfffeae80
mov dword [rbx + 0x5c], r9d
add r8d, eax
mov eax, 0x91a2b3c5
imul r8d
add edx, r8d
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xfffff1f0
mov dword [rbx + 0x48], edx
add r8d, eax
mov eax, 0x88888889
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
mov dword [rbx + 0x44], edx
lea rdx, [0x18015f7f8]
sub r8d, eax
lea rax, [0x18015f8b8]
test edi, edi
mov dword [rbx + 0x40], r8d
cmovne rdx, rax
cmp dword [rdx + 4], r9d
lea rax, [rdx + 4]
jge 0x180145a9e
inc ecx
lea rax, [rax + 4]
cmp dword [rax], r9d
jl 0x180145a93
lea eax, [rcx - 1]
mov dword [rbx + 0x50], eax
movsxd rax, ecx
sub r9d, dword [rdx + rax*4 - 4]
mov dword [rbx + 0x4c], r9d
movabs r9, 0x1845c8a0ce512957
mov rax, r9
imul qword [rsi]
mov rax, r9
sar rdx, 0xd
mov r8, rdx
shr r8, 0x3f
add r8, rdx
add r8d, 4
mov dword [rbx + 0x58], r8d
imul qword [rsi]
sar rdx, 0xd
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x15180
cmp qword [rsi], rax
jns 0x180145af9
dec r8d
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 7
sub r8d, ecx
mov dword [rbx + 0x58], r8d
jns 0x180145b21
lea ecx, [r8 + 7]
mov dword [rbx + 0x58], ecx
mov rsi, qword [rsp + 0x38]
lea rax, [rbx + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, WSAAsyncSelect
lea rcx, str.unable_to_alloc__u_bytes
call sym.tcl86t.dll_hcl_Panic
int3
Function at 0x140002680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400026b3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400026f7
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x1400026f2
cmp rbx, r11
jae 0x1400026f7
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x1400026e0
cmp rbx, r11
jb 0x1400026fb
xor eax, eax
jmp 0x140002707
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140010380
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x40
mov r8, qword [rcx]
mov r10d, dword [rcx + 0x24]
mov r12, rcx
movzx eax, word [r8 + 0x14]
mov r15, qword [r8 + 0x30]
dec r10d
mov r9d, dword [rax + r8 + 0x20]
lea rbx, [rax + r8 + 0x18]
movabs rax, 0xffffffff00000000
and r15, rax
mov eax, dword [rbx + 0x10]
not r10d
or r9, r15
and r10, r9
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r10
test eax, eax
jne 0x1400103ea
mov ecx, dword [rbx + 0x24]
test cl, 0x40
je 0x1400103e2
mov eax, dword [r8 + 0x20]
jmp 0x1400103ea
test cl, cl
jns 0x1400103ea
mov eax, dword [r8 + 0x24]
mov ecx, dword [rbx + 0x24]
mov edx, eax
mov eax, 1
xor r14d, r14d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x3c], r14d
mov ebp, eax
cmp ax, word [r8 + 6]
jae 0x1400104e9
add rbx, 0x4c
nop dword [rax + rax]
mov edi, dword [r12 + 0x24]
mov r13d, dword [rbx - 0x1c]
mov esi, dword [rbx - 0x14]
dec edi
or r13, r15
not edi
and rdi, r13
test esi, esi
jne 0x14001045e
mov eax, dword [rbx]
test al, 0x40
je 0x140010456
mov esi, dword [r8 + 0x20]
jmp 0x14001045e
test al, al
jns 0x14001045e
mov esi, dword [r8 + 0x24]
cmp r10, rdi
je 0x1400104a0
lea rax, [rdx + r9]
cmp rax, rdi
ja 0x1400104a0
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.140010280
test eax, eax
je 0x140010522
mov ecx, dword [rbx]
mov edx, esi
mov r9, r13
mov qword [rsp + 0x20], r13
mov r10, rdi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rdx
jmp 0x1400104cd
mov eax, dword [rbx]
bt eax, 0x19
jae 0x1400104b6
bt ecx, 0x19
jae 0x1400104b6
or ecx, eax
mov dword [rsp + 0x38], ecx
jmp 0x1400104c0
or ecx, eax
btr ecx, 0x19
mov dword [rsp + 0x38], ecx
mov edx, esi
sub rdx, r9
add rdx, r13
mov qword [rsp + 0x30], rdx
mov r8, qword [r12]
inc ebp
add rbx, 0x28
movzx eax, word [r8 + 6]
cmp ebp, eax
jl 0x140010430
mov eax, 1
lea rdx, [rsp + 0x20]
mov rcx, r12
mov dword [rsp + 0x3c], eax
call fcn.140010280
test eax, eax
setne r14b
mov eax, r14d
mov r13, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
xor eax, eax
jmp 0x140010503
Function at 0x1400109a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1402e6428]
test rcx, rcx
je 0x140010a20
lea rdx, str.HI_ppa
mov qword [rsp + 0x20], rbx
call fcn.140010530
test rax, rax
je 0x1400109c8
call rax
mov rbx, qword [0x1402e6428]
test rbx, rbx
je 0x140010a1b
cmp dword [rbx + 0x1c], 0
je 0x1400109f0
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov r9d, dword [rax + 0x28]
xor edx, edx
add r9, rcx
call r9
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140010a07
xor edx, edx
mov r8d, 0x8000
call qword [0x1402e63f8]
call qword [0x1402e6410]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x1402e6408]
mov rbx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140013a44
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.140024ea4
mov rsi, rax
test rax, rax
je 0x140013ac0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140013abb
cmp dword [rbx], 0x40
jb 0x140013abb
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 0x140013abb
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140013ac4
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 0x14001a3f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14001a460
call fcn.14001e754
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001a460
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001a482
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140019e08
mov esi, eax
test rdi, rdi
je 0x14001a480
test rbx, rbx
je 0x14001a480
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14001b60c
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x14001b64a
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14001b6fe
call fcn.140012938
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001b669
mov ecx, 0x80004005
call fcn.140002660
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14003c210
test eax, eax
je 0x14001b6d1
cmp eax, 0xc
je 0x14001b6cb
cmp eax, 0x16
je 0x14001b6c5
cmp eax, 0x22
je 0x14001b6c5
cmp eax, 0x50
je 0x14001b6d1
call fcn.140012460
int3
call fcn.140012460
int3
call fcn.140012418
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14001b6fc
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001ca78
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CLanguageDialog.virtual_640
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x14001cab7
cmp dword [rcx + 0xa8], 0
jne 0x14001cab7
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14001e754
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14001ca1c
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002166c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x1400216de
call fcn.14001e754
mov r8d, pe_nt_image_headers64
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400216de
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14002172b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x14002170b
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x14002170b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140021729
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14003c9fc
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.140043f24
nop
cmp dword [0x1402e9f38], 1
je 0x14003c9a8
mov dword [0x1402e9f34], 1
mov byte [0x1402e9f30], r12b
test ebx, ebx
jne 0x14003c994
mov rcx, qword [0x1402ec530]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003c981
mov rcx, qword [0x1402ec528]
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 0x14003c920
call fcn.14003e738
cmp qword [rdi], rax
jne 0x14003c920
jmp 0x14003c906
cmp rdi, rsi
jb 0x14003c981
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14003e738
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1402ec530]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1402ec528]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14003c95f
cmp r13, rax
je 0x14003c97f
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 0x14003c906
lea rdx, [0x14005ad18]
lea rcx, [0x14005ad00]
call fcn.14003c750
lea rdx, [0x14005ad28]
lea rcx, [0x14005ad20]
call fcn.14003c750
nop
test r12d, r12d
je 0x14003c9b7
mov ecx, 8
call fcn.140043e24
test r12d, r12d
jne 0x14003c9e2
mov dword [0x1402e9f38], 1
lea ecx, [r12 + 8]
call fcn.140043e24
mov ecx, r15d
call fcn.14003c6e4
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 0x14003c870

Function at 0x14003ca08
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x1402e4860]
jne 0x14003c20a
rol rcx, 0x10
test cx, 0xffff
jne 0x14003c206
repz ret
ror rcx, 0x10
jmp 0x140046598
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1402ea7d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1402ea8c8]
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 0x14004661d
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, [0x1402ea7d0]
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 0x14004663f
mov rax, qword [rsp + 0x88]
mov qword [0x1402ea8c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1402ea868], rax
mov rax, qword [0x1402ea8c8]
mov qword [0x1402ea740], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1402ea850], rax
mov dword [0x1402ea730], 0xc0000409
mov dword [0x1402ea734], 1
mov rax, qword [0x1402e4860]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402e4868]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1402ea7c8], eax
mov ecx, 1
call fcn.140041d4c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140065130]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1402ea7c8], 0
jne 0x1400466c6
mov ecx, 1
call fcn.140041d4c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140047e00
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14003e738
xor ebx, ebx
mov rdi, rax
cmp qword [0x1402eadb0], rbx
jne 0x140047f06
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140047fdb
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140047fdb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400651d8]
mov rcx, rsi
mov qword [0x1402eadb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400651c0]
mov rcx, rsi
mov qword [0x1402eadb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1402eadc0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1402eadd0], rax
test rax, rax
je 0x140047efd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1402eadc8], rax
jmp 0x140047f0d
mov rax, qword [0x1402eadc8]
jmp 0x140047f14
mov rax, qword [0x1402eadc8]
mov r11, qword [0x1402eadd0]
cmp rax, rdi
je 0x140047f7c
cmp r11, rdi
je 0x140047f7c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1402eadd0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140047f7c
test rax, rax
je 0x140047f7c
call rsi
test rax, rax
je 0x140047f76
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140047f76
test byte [rsp + 0x38], 1
jne 0x140047f7c
bts ebp, 0x15
jmp 0x140047fba
mov rcx, qword [0x1402eadb8]
cmp rcx, rdi
je 0x140047fba
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140047fba
call rax
mov rbx, rax
test rax, rax
je 0x140047fba
mov rcx, qword [0x1402eadc0]
cmp rcx, rdi
je 0x140047fba
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140047fba
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1402eadb0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140047fdb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140047fdd
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret