joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800016ae
Capabilities:
Print debug messages

Disassembly:
jmp 0x180057064
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x1800570b0
test rbx, rbx
je 0x18005709f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.1800017fd
cmp eax, 1
je 0x1800570b0
mov eax, 4
jmp 0x1800570f3
call fcn.1800039b8
cmp eax, 2
jne 0x1800570ec
call fcn.18000185c
test al, al
je 0x1800570ec
call fcn.180002b1c
test al, al
jne 0x1800570e2
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.1800039f4
jmp 0x1800570f3
call fcn.18000389b
mov rcx, rax
jmp 0x1800570d2
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180002167
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180076a00
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18009b080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x18009dbb8]
xor r11d, r11d
lea rdi, [0x1800858b4]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x180076a70
mov rax, 0xfffffffffffffffe
jmp 0x180076bbd
cmp word [r10 + 6], r11w
jne 0x180076adf
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x180076a9a
test r14, r14
je 0x180076a8b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x180076bbd
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x180076aa8
mov r8b, 2
jmp 0x180076ac6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x180076ab6
mov r8b, 3
jmp 0x180076ac6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x180076bb2
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x180076b08
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x180076bb2
cmp bl, bpl
jb 0x180076bb2
cmp bl, r8b
jae 0x180076bb2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x180076b35
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x180076bb2
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x180076b17
cmp r9, rbp
jae 0x180076b61
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x180076a64
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x180076bb2
cmp edx, 0x110000
jae 0x180076bb2
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x180076bb2
test r14, r14
je 0x180076ba0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1800039ef
jmp 0x180076bbd
mov rdx, rsi
mov rcx, r10
call fcn.180004057
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800025ea
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800021ad
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x180008868
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1800088f5
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1800088f5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800088f5
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1800088dc
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1800088d6
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1800088de
add rdx, 0x28
jmp 0x1800088bb
xor edx, edx
test rdx, rdx
jne 0x1800088e7
xor al, al
jmp 0x1800088fb
cmp dword [rdx + 0x24], 0
jge 0x1800088f1
xor al, al
jmp 0x1800088fb
mov al, 1
jmp 0x1800088fb
xor al, al
jmp 0x1800088fb
add rsp, 0x18
ret

Function at 0x1800024e1
Capabilities:
Get system information on windows

Disassembly:
jmp 0x180079e90
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180079ebe
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x180079f17
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
mov r8d, r9d
neg r8
and r8, rbx
lea ecx, [r9 - 1]
mov eax, ecx
and ecx, ebx
and eax, edi
add eax, ecx
dec rax
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add rcx, rax
mov eax, ecx
test ecx, ecx
je 0x180079f17
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x180079f09
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x180002725
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800173d8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180086a20]
mov ecx, 2
lea r8, [0x180086a18]
lea rdx, str.FlsGetValue
call fcn.180016ea8
mov ecx, ebx
test rax, rax
je 0x180017412
add rsp, 0x20
pop rbx
jmp qword [0x1800a8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x18000286f
Capabilities:
Query environment variable

Disassembly:
jmp 0x18005cc5c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18005cc8c
xor eax, eax
jmp 0x18005cd4f
mov rbp, rbx
cmp word [rax], si
je 0x18005ccb1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005cc98
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005cc94
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800031f2
movsxd r14, eax
test eax, eax
jne 0x18005ccef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005cc85
mov rcx, r14
call fcn.180001037
mov rdi, rax
test rax, rax
jne 0x18005cd08
xor ecx, ecx
call fcn.180001168
jmp 0x18005cce4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800031f2
test eax, eax
jne 0x18005cd39
mov rcx, rdi
call fcn.180001168
jmp 0x18005cd43
xor ecx, ecx
call fcn.180001168
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180002874
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180017328
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1800869e0]
xor ecx, ecx
lea r8, [0x1800869d8]
lea rdx, str.FlsAlloc
call fcn.180016ea8
test rax, rax
je 0x180017361
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800a8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1800028f1
Capabilities:
Get geographical location

Disassembly:
jmp 0x18005f0b4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x180088b18]
mov rbp, rcx
lea r8, [0x180088b10]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.18005e5d4
test rax, rax
je 0x18005f114
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1800a8030]
jmp 0x18005f12e
xor edx, edx
mov rcx, rbp
call fcn.180002202
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180002900
Capabilities:
Terminate process

Disassembly:
jmp 0x18007ab5c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x180002a4a
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001f708
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x18001f464

Function at 0x180002bd5
Capabilities:
Parse pe header

Disassembly:
jmp 0x18007a950
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18007a978
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18007a978
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18000316b
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x18007a890
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x18007a8d1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x18007a8c5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x18007a8d3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x18007a8b3
xor eax, eax
ret

Function at 0x180003355
Capabilities:
Terminate process

Disassembly:
jmp 0x180051358
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x180051372
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1800039fe
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x18000391d
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180079f50
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x180079fc8
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x180079fc8
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x180079fc8
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x180079fbc
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x180079fda
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x180079faa
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x180079fca

Function at 0x180003adf
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180017430
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x180086a40]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180086a38]
call fcn.180016ea8
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180017470
call qword [0x1800a8020]
jmp 0x180017476
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003c65
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001f6f8
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18001f4d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001f4d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001f4d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001f4d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001f4d3
cmp dword [rcx + 0x84], 0xe
jbe 0x18001f4d3
cmp dword [rcx + 0xf8], 0
je 0x18001f4d3
mov ecx, ebx
call fcn.18001f63c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18001f1b0
nop
cmp dword [rbp + 0x20], 0
je 0x18001f521
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001f55c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001f464
Function at 0x180071e20
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180071e36
mov al, 1
jmp 0x180071e96
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180071e47
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180071e94
mov ecx, dword [rcx + 0x18]
nop
call fcn.180003ecc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180071e94
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180071e94
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180071e94
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180071e96
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400211a0
Capabilities:
Enumerate threads

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
call fcn.1400222e8
mov qword [rsi], rax
mov dword [rsp + 0x34], 1
xor edx, edx
lea ebx, [rdx + 0xf]
mov ecx, ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
mov qword [rsp + 0x40], rax
lea rax, vtable.OperatingSystemHandle.0
mov qword [rsp + 0x38], rax
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140021233
lock inc dword [0x1400ce120]
mov rdi, qword [rsp + 0x40]
cmp rdi, 0xffffffffffffffff
je 0x1400212c0
mov dword [rsp + 0x68], 0x1c
lea rdx, [rsp + 0x68]
mov rcx, rdi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1400212a3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r14d, eax
mov bl, byte [rsp + 0x30]
cmp dword [rsp + 0x68], 0x10
jb 0x14002128a
cmp r14d, dword [rsp + 0x74]
jne 0x14002128a
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400205d8
mov dword [rsp + 0x68], 0x1c
lea rdx, [rsp + 0x68]
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140021263
test rdi, rdi
je 0x1400212b8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lock dec dword [0x1400ce120]
mov rax, rsi
jmp 0x140021368
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r15
mov word [rbp - 0x78], r15w
cmp word [0x1400a6650], r15w
jne 0x1400212e0
mov rax, r15
jmp 0x1400212ec
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp - 0x78]
call fcn.1400045d0
nop
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x48], r15
mov byte [rbp - 0x58], r15b
lea rcx, str..._nsThread.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsThread.cpp
lea rcx, [rbp - 0x58]
call fcn.140004720
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140023e14
mov edx, eax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x23a
lea r8, [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp - 0x30]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140058630
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140021958
Capabilities:
Terminate thread

Disassembly:
mov rax, rsp
push rbp
sub rsp, 0x140
mov qword [rsp + 0x138], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
lea rdx, [rcx + 0x18]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022a08
nop
xor edx, edx
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140021a9b
xor edx, edx
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor edi, edi
test eax, eax
je 0x1400219e9
mov dword [rbx + 0x58], edi
lea rcx, [rbp]
call fcn.140022ba0
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x140021a9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], rdi
mov word [rbp + 0x40], di
cmp word [0x1400a6650], di
jne 0x140021a0f
mov rax, rdi
jmp 0x140021a1b
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rdi
mov byte [rbp + 0x60], dil
lea rcx, str..._nsThread.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsThread.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x1be
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
lea rcx, [rbp]
call fcn.140022a60
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058630
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140021cfc
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
sub rsp, 0xc0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
lea rbp, [rax - 0x78]
and rbp, 0xffffffffffffffe0
mov rbx, rdx
mov r14, rcx
xor esi, esi
lea rdx, [rcx + 0x18]
mov r8b, 1
lea rcx, [rbp + 0x20]
call fcn.140022a08
nop
xor edx, edx
mov rcx, qword [r14 + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140021dc5
mov rcx, qword [r14 + 0x68]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [rsi + 0x58]
call fcn.140058c00
mov qword [rbp], rax
test rax, rax
je 0x140021d82
mov rdx, rbx
mov rcx, rax
call fcn.140020818
mov rdx, rax
jmp 0x140021d85
mov rdx, rsi
lea rcx, [r14 + 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [r14 + 0x48]
lea rax, [r14 + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, r14
lea r8, [0x140021ef4]
xor edx, edx
xor ecx, ecx
call fcn.140065ee4
mov rdx, rax
lea rcx, [r14 + 0x48]
call qword [rdi + reloc.WS2_32.dll_htonl]
cmp qword [r14 + 0x50], rsi
setne sil
lea rcx, [rbp + 0x20]
call fcn.140022a60
mov al, sil
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140024a24
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0x180
mov qword [rsp + 0x178], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rbx, rcx
lea rdx, [rcx + 0x220]
mov r8b, 1
lea rcx, [rbp + 0x20]
call fcn.140022a08
nop
lea rsi, [rbx + 0x208]
mov rax, qword [rsi]
mov r8d, 0x4e4
lea rdx, [rbp + 0x60]
mov rcx, rsi
call qword [rax + 0x200]
nop
mov r14, qword [rbp + 0x70]
xor r15d, r15d
test r14, r14
je 0x140024c1b
mov dword [rbp], r15d
lea rdx, str..._nsConsole.cpp
lea rcx, [rbp + 0x80]
call fcn.140009aa8
nop
mov rdi, qword [rbx + 0x28]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r9, rax
mov dword [rsp + 0x20], 0xe8
mov r8, r14
lea rdx, str.Flushing_StdOutputBuffer.Length_u___s:_d_
lea rcx, [rbx + 0x28]
call qword [rdi + 0x148]
nop
lea rcx, [rbp + 0x80]
call fcn.14000a3b0
lea rbx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rbx, qword [rbp + 0x60]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
mov r8d, r14d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140024c12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x48]
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r15
mov word [rbp + 0x80], r15w
cmp word [0x1400a6650], r15w
jne 0x140024b71
mov eax, r15d
jmp 0x140024b7d
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0xb8], 0xf
mov qword [rbp + 0xb0], r15
mov byte [rbp + 0xa0], r15b
lea rcx, str..._nsConsole.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsConsole.cpp
lea rcx, [rbp + 0xa0]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0xee
lea r8, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xc0]
call fcn.14005ba94
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x48]
mov ecx, 1
call fcn.140065b18
mov rcx, rax
call fcn.140065d54
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140024c4a
inc rdx
mov r8d, 1
mov rcx, qword [rbp + 0x60]
call fcn.140002da0
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r15
mov byte [rbp + 0x60], r15b
lea rcx, [rbp + 0x20]
call fcn.140022a60
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140058630
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140024fcc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rdx, str..._nsConsole.cpp
lea rcx, [rbp - 0x79]
call fcn.140009aa8
mov rcx, rax
cmp qword [rsi + 0x18], 0x10
jb 0x140025029
mov r14, qword [rsi]
jmp 0x14002502c
mov r14, rsi
mov rdi, qword [rbx + 0x28]
mov rax, qword [rax]
call qword [rax + 0x1e8]
mov r9, rax
mov dword [rsp + 0x20], 0x98
mov r8, r14
lea rdx, str.Writing_StdError_S___s:_d_
lea rcx, [rbx + 0x28]
call qword [rdi + 0x148]
nop
lea rcx, [rbp - 0x79]
call fcn.14000a3b0
mov rbx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x140025070
mov rsi, qword [rsi]
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x30]
mov r8d, ebx
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14002514a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov qword [rbp - 0x61], 7
mov qword [rbp - 0x69], r15
mov word [rbp - 0x79], r15w
cmp word [0x1400a6650], r15w
jne 0x1400250c4
mov rax, r15
jmp 0x1400250d0
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp - 0x79]
call fcn.1400045d0
nop
mov qword [rbp - 0x41], 0xf
mov qword [rbp - 0x49], r15
mov byte [rbp - 0x59], r15b
lea rcx, str..._nsConsole.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsConsole.cpp
lea rcx, [rbp - 0x59]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
mov r9d, 0x9d
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp - 0x39]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret