joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013ea90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14115eca8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x1978]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x1980]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140089dd0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x30], rax
jae 0x14013ebde
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x14013eba0
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.140107be0
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x14013eb9b
jmp 0x14013ebde
jmp 0x14013eb11
cmp dword [rsp + 0x28], 0xd
jne 0x14013ebac
jmp 0x14013eb11
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1401355b0
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x14013eb11
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x14013ebfd
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x14013ec39
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140089dd0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x140d16988]
ja 0x14013ec5d
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x140d16988]
jp 0x14013ec77
jne 0x14013ec77
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x88], 0
je 0x14013ec92
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14015d580
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400531c0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14015d5f5
xor al, al
jmp 0x14015d65d
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x44], 0
je 0x14015d650
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x50], eax
jne 0x14015d650
mov dword [rsp + 0x40], 1
jmp 0x14015d658
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x68
ret
Function at 0x14015d6e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1c0]
mov byte [rax], 0
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0x30], rax
lea rdx, [0x140d1603c]
mov rcx, qword [rsp + 0x30]
call fcn.1400532d0
nop
mov rax, qword [rsp + 0x1c0]
add rax, 0x28
mov qword [rsp + 0x38], rax
lea rdx, [0x140d1603c]
mov rcx, qword [rsp + 0x38]
call fcn.1400532d0
nop
mov rax, qword [rsp + 0x1c0]
add rax, 0x48
mov qword [rsp + 0x40], rax
lea rdx, [0x140d1603c]
mov rcx, qword [rsp + 0x40]
call fcn.1400532d0
nop
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x68], 0
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x70], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x78], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x79], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x7a], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x7b], 0
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, qword [rsp + 0x1c8]
mov rcx, rax
call fcn.140061d50
nop
xor r8d, r8d
mov dl, 0x3a
mov rcx, qword [rsp + 0x1c8]
call fcn.1400aeaa0
cmp rax, 0xffffffffffffffff
jne 0x14015d8a0
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1400532d0
nop
lea rdx, [0x140d16200]
lea rcx, [rsp + 0x70]
call fcn.1400dadf0
nop
mov r8, qword [rsp + 0x1c8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400db970
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140061df0
lea rcx, [rsp + 0x50]
call fcn.140053220
nop
lea rcx, [rsp + 0x70]
call fcn.140053220
nop
mov rax, qword [rsp + 0x1c0]
add rax, 0x28
mov rdx, qword [rsp + 0x1d0]
mov rcx, rax
call fcn.140061d50
mov rax, qword [rsp + 0x1c0]
add rax, 0x48
mov rdx, qword [rsp + 0x1d8]
mov rcx, rax
call fcn.140061d50
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1e0]
mov qword [rax + 0x68], rcx
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1e8]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, rax
mov rcx, qword [rsp + 0x1c0]
call fcn.14015d670
movzx eax, al
test eax, eax
je 0x14015d925
jmp 0x14015d962
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov dword [rsp + 0x20], 1
mov r9, rax
mov rax, qword [rsp + 0x1c0]
mov r8d, dword [rax + 0x70]
mov rax, qword [rsp + 0x1c0]
mov rdx, qword [rax + 0x68]
mov rcx, qword [rsp + 0x1c0]
call fcn.14015d580
nop
mov rcx, qword [rsp + 0x1c0]
call fcn.14015dc50
nop
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x1b8
ret
Function at 0x140167090
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x14115ed04]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x140167183
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x14115eca0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x14115ed08], eax
cmp dword [0x14115ed08], 0
jne 0x1401670e0
jmp 0x140167183
movsxd rax, dword [0x14115ed08]
mov qword [rsp + 0x20], 0
mov r9d, 0x3c
lea r8, [0x141158108]
mov rdx, rax
mov rcx, qword [0x14115eca0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [0x14115ed08]
add eax, 0x3c
mov ecx, dword [0x14115ed08]
add ecx, 9
mov edx, eax
call fcn.14016a880
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x14115ecb8]
mov rdx, rax
mov rcx, qword [0x14115eca0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x14115ed08]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x14115ecb8]
mov rdx, rax
mov rcx, qword [0x14115eca0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
add rsp, 0x48
ret
Function at 0x14016aa00
Capabilities:
Allocate or change rwx memory

Disassembly:
movss dword [rsp + 0x10], xmm1
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, 4
mov edx, eax
mov rcx, qword [0x14115eca0]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x58]
mov edx, eax
mov rcx, qword [0x14115eca0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x30]
mov r8d, 4
mov edx, eax
mov rcx, qword [0x14115eca0]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x48
ret

Function at 0x1401820a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140d25040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1401820ee
xor eax, eax
jmp 0x140182162
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14018214f
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14018213b
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x14018213b
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14018210a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x140182162
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401848d0
add rsp, 0x288
ret

Function at 0x1401856c4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.1400bd210
push qword [rsp + 0x40]
pop rcx
call fcn.140099af0
and rax, rax
je 0x14003ced3
mov r15, qword [rsp + 0x40]
cmp r15, qword [0x14079fb4c]
jne 0x14003ce46
push qword [0x14079fb54]
pop rcx
call fcn.140099af0
and rax, rax
je 0x14003cdea
push 1
push qword [0x14079fb54]
pop rcx
pop rdx
call fcn.140099de4
push 0
push qword [0x14079fb4c]
pop rcx
pop rdx
call fcn.140099de4
push 9
sub rsp, 8
push qword [0x14079fb4c]
pop rcx
sub rsp, 0x20
call fcn.140099b00
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
call sub.USER32.dll_ShowWindow
push qword [0x14079fb4c]
pop rcx
call fcn.140099b00
mov rax, rax
push rax
pop rcx
call sub.USER32.dll_SetForegroundWindow
push qword [0x14079fb4c]
pop rcx
call fcn.14009a78c
mov r15, qword [rsp + 0x40]
cmp r15, qword [0x14079fb54]
jne 0x14003ced3
push qword [0x14079fb4c]
pop rcx
call fcn.140099af0
and rax, rax
je 0x14003ce77
push 1
push qword [0x14079fb4c]
pop rcx
pop rdx
call fcn.140099de4
push 0
push qword [0x14079fb54]
pop rcx
pop rdx
call fcn.140099de4
push 9
sub rsp, 8
push qword [0x14079fb54]
pop rcx
sub rsp, 0x20
call fcn.140099b00
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
call sub.USER32.dll_ShowWindow
push qword [0x14079fb54]
pop rcx
call fcn.140099b00
mov rax, rax
push rax
pop rcx
call sub.USER32.dll_SetForegroundWindow
push qword [0x14079fb54]
pop rcx
call fcn.14009a78c
xor rax, rax
add rsp, 0x30
pop r15
ret
Function at 0x140060800
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rcx
push rbp
mov rax, 7
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14006080d
sub rsp, 0x28
call fcn.1400bd210
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400bd2b0
add rsp, 0x10
lea rax, [rsp + 0x30]
push 0xf003f
push 0
push 0
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_OpenSCManagerW
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400608be
push 0xf01ff
push qword [rsp + 0x30]
push qword [rsp + 0x60]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.dll_OpenServiceW
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400608a9
lea rax, [rsp + 0x30]
mov rax, rax
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
call sub.ADVAPI32.dll_QueryServiceStatus
push qword [rsp + 0x58]
pop rcx
call sub.ADVAPI32.dll_CloseServiceHandle
push qword [rsp + 0x50]
pop rcx
call sub.ADVAPI32.dll_CloseServiceHandle
lea rbp, [rsp + 0x30]
movsxd rax, dword [rbp + 4]
jmp 0x1400608c1
xor rax, rax
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400bd280
add rsp, 0x28
pop rax
add rsp, 0x60
pop rbp
ret
Function at 0x1400625ea
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400bd210
push qword [rsp + 0x50]
push 0
push 1
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_OpenProcess
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
je 0x14006264e
push 1
push qword [rsp + 0x30]
pop rcx
pop rdx
call sub.KERNEL32.dll_TerminateProcess
and rax, rax
je 0x140062644
mov qword [rsp + 0x30], 1
push qword [rsp + 0x28]
pop rcx
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rsp + 0x30]
jmp 0x140062658
add rsp, 0x40
pop r15
ret

Function at 0x140065eb1
Capabilities:
Get graphical window text

Disassembly:
push r15
xor rax, rax
push rax
sub rsp, 0x28
call fcn.1400bd210
mov rcx, qword [rsp + 0x60]
call fcn.140066f00
mov r15, qword [0x1407a03e4]
and r15, r15
jne 0x140065efb
push 0
push 0
pop rcx
pop rdx
call sub.USER32.dll_FindWindowW
mov qword [0x1407a03ec], rax
mov qword [0x1407a03e4], 1
jmp 0x140065f14
push 2
push qword [0x1407a03ec]
pop rcx
pop rdx
call sub.USER32.dll_GetWindow
mov qword [0x1407a03ec], rax
mov r15, qword [0x1407a03ec]
and r15, r15
je 0x140065fea
push 0xfffffffffffffff0
push qword [0x1407a03ec]
pop rcx
pop rdx
call sub.USER32.dll_GetWindowLongPtrW
mov r15, rax
and r15, 0x10000000
cmp r15, 0x10000000
jne 0x140065fe8
push 0xffffffffffffffec
push qword [0x1407a03ec]
pop rcx
pop rdx
call sub.USER32.dll_GetWindowLongPtrW
mov r15, rax
and r15, 0x80
cmp r15, 0x80
je 0x140065fe8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
push 0x100
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400b9a80
add rsp, 0x28
lea rcx, [rsp + 0x30]
pop rdx
call fcn.1400bcff0
push 0x100
push qword [rsp + 0x30]
push qword [0x1407a03ec]
pop rcx
pop rdx
pop r8
call sub.USER32.dll_GetWindowTextW
push qword [rsp + 0x28]
movabs rcx, 0x1401ce09e
pop rdx
call fcn.1400bd0d0
or rax, rax
jne 0x140065fe8
jmp 0x140066005
jmp 0x140065ff5
mov qword [0x1407a03e4], 0
mov r15, qword [0x1407a03ec]
and r15, r15
jne 0x140065eca
mov rcx, qword [rsp + 0x28]
push rcx
sub rsp, 0x28
call fcn.1400bcf30
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400bcf80
add rsp, 0x28
pop rax
push rax
call fcn.1400bd130
pop rdx
add rax, rdx
jmp 0x14006603e
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400bd280
add rsp, 0x28
pop rax
add rsp, 0x30
pop r15
ret

Function at 0x140066f00
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x140798160]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x140067e10
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x140067ed6
lea rcx, [0x1407a3360]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1407a0620]
jmp 0x140067e9a
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140067e97
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x1407a0620]
mov rdx, rsi
call fcn.1400bccd4
jmp 0x140067e9a
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140067e67
mov rdx, qword [reloc.WS2_32.dll_accept]
lea rcx, [0x1407a0620]
mov rdi, rdx
inc rdx
mov qword [reloc.WS2_32.dll_accept], rdx
lea edx, [rbx + 0x20]
call fcn.1400bcd1c
lea rcx, [0x1407a3360]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x140067ef0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140067da0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x1407a3360]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1407a0620]
jmp 0x140067f2c
cmp qword [rbx + 0x18], rdi
je 0x140067f33
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140067f23
jmp 0x140067f4d
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1407a0620]
call fcn.1400bccd4
lea rcx, [0x1407a3360]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140068600
Capabilities:
Create thread

Disassembly:
or r8d, 0xffffffff
xor edx, edx
jmp 0x140068600
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12d, edx
mov r15, rcx
mov rdx, rcx
mov rcx, qword [0x1407a0628]
mov esi, r8d
xor r14d, r14d
call fcn.1400bc2ac
mov rbx, rax
test rax, rax
je 0x1400687e5
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
cmp qword [rax + 0x20], r14
je 0x1400686e6
mov rcx, r15
call fcn.140068968
jmp 0x140068664
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx + 0x2d], r14b
jne 0x140068659
mov rcx, qword [rbx + 0x20]
call fcn.140068f5c
mov edi, 1
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x30], r12d
mov byte [rbx + 0x2c], dil
call fcn.140068548
lea rax, [rsp + 0x88]
lea r8, [0x140068800]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], r14d
mov r9, rbx
mov edx, 0x2000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400686c1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x1400686d0
mov edx, esi
mov rcx, r15
call fcn.140068a70
mov rcx, qword [rbx]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rbx]
mov r9d, edi
jmp 0x140068791
mov edi, 1
mov ebp, r14d
test dil, r12b
cmovne ebp, edi
test r12b, 2
je 0x14006879e
mov rcx, rax
call fcn.14006833c
lea rcx, [rbx + 8]
lea edx, [rdi + 0x1f]
call fcn.1400bcd1c
mov rcx, qword [0x1407a0650]
mov rdx, qword [rsp + 0x30]
mov r9, qword [rcx]
lea r8, [rsp + 0x30]
mov r14, rax
call qword [r9 + 0x28]
test eax, eax
jne 0x1400687e5
mov rcx, qword [rsp + 0x30]
mov byte [r14 + 9], bpl
mov byte [r14 + 8], dil
mov qword [r14], rcx
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x14]
mov rax, qword [rcx]
call qword [rax + 0x88]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
cmp esi, 0xffffffff
je 0x14006877b
mov r8, r14
mov edx, esi
mov rcx, r15
call fcn.140068a78
jmp 0x140068789
mov rcx, qword [rsp + 0x30]
mov edx, dword [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rsp + 0x30]
mov r9d, ebp
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x60]
jmp 0x1400687e5
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp esi, 0xffffffff
je 0x1400687c3
mov edx, esi
mov rcx, r15
call fcn.140068a70
mov rcx, qword [rsp + 0x30]
mov r9d, ebp
xor r8d, r8d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x60]
test eax, eax
jne 0x1400687e5
mov r14, rdi
mov byte [rbx + 0x2c], dil
mov byte [rbx + 0x2e], bpl
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14006988c
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
test ecx, ecx
je 0x140069903
movsxd rdx, ecx
lea rcx, [0x1400697e8]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x1407a06d8]
test rbx, rbx
je 0x140069976
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x1400698f9
cmp byte [rbx + 0x20], 0
je 0x1400698f9
mov rcx, qword [rbx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea rdx, [r9 - 2]
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rbx, rdi
test rdi, rdi
jne 0x1400698bf
jmp 0x140069976
mov rbx, qword [0x1407a06d8]
test rbx, rbx
je 0x140069976
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 0x10], eax
jne 0x14006996e
cmp byte [rbx + 0x21], 0
je 0x140069932
mov rcx, qword [rbx + 0x18]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
cmp byte [rbx + 0x20], 0
je 0x14006995e
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
or rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbx + 0x10]
lea rcx, [0x1407a06d8]
call fcn.1400bccd4
mov rbx, rdi
test rdi, rdi
jne 0x14006990f
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14006a040
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x1407a38e0]
call fcn.1400bc2ac
test rax, rax
je 0x14006a07d
cmp dword [rax + 0x28], 0
je 0x14006a07d
mov rcx, qword [rax + 0x18]
mov r9d, ebx
mov r8d, dword [rcx + 4]
mov edx, dword [rcx]
mov rcx, qword [rax + 0x10]
add rsp, 0x20
pop rbx
jmp fcn.140069c60
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp fcn.1400bd6e0