joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800cdc10
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1801d4668], eax
je 0x1800cdc2b
mov eax, 0x10dd
jmp 0x1800cdd50
mov rax, qword [0x1801d4680]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800cdcd5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1800cdca0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1800cdca0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800cc610
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.1800cacbc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800cdc37
mov qword [0x1801d4680], 0
call fcn.1800cd070
mov rax, qword [0x1801d4678]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800cdd39
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x48]
call fcn.1800cacbc
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1800cdcf1
mov qword [0x1801d4678], 0
mov dword [0x1801d4668], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800ce280
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1801d466c], 0
je 0x1800ce29d
mov eax, dword [0x1801d466c]
jmp 0x1800ce363
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1800ce2b0
xor eax, eax
jmp 0x1800ce363
mov ecx, reloc.WS2_32.dll_recv
call fcn.1800cb1c4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800ce31e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800ce303
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x38]
call fcn.1800cacbc
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1801d466c], eax
mov qword [0x1801d4670], 0
mov eax, dword [rsp + 0x20]
jmp 0x1800ce363
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1800ce338
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800ce2d9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1801d4678]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1801d4678], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000117c
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.chcp_65001
mov rbx, rdx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbx + 8]
call fcn.140001970
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.SERVER_SUCCESFULLY_STARTED_ON_PORT
mov qword [rsp + 0x38], rax
call fcn.14000124c
mov rdx, qword [rbx + 8]
mov rcx, rax
call fcn.14000124c
mov rcx, rax
lea rdx, str.._WAITING_FOR_CLIENT_TO_CONNECT
call fcn.14000124c
mov rcx, rax
lea rdx, [0x14000144c]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0x38]
call fcn.140002100
mov rcx, qword [rsp + 0x38]
mov ebx, 1
mov edx, ebx
call qword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x140001215
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.shutdown_failed_with_error:__d_n
call fcn.14000113c
jmp 0x140001217
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140001ec0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rdx
lea rcx, [0x1400096f0]
call fcn.1400018d8
cmp qword [rdi], 0xffffffffffffffff
je 0x140001f3f
mov rcx, rbx
call fcn.140002650
mov r8, rax
call fcn.140002658
mov rdx, rax
xor r9d, r9d
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140001f3f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.send_failed_with_error:__d_n
call fcn.14000113c
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140001f4c
lea rcx, [0x1400096f0]
call fcn.1400018f8
nop
mov rcx, rbx
call fcn.140002698
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140004e70
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140001f6c
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov qword [rsp + 0x20], rcx
lea rdx, [0x140006558]
lea rcx, [rsp + 0x28]
call fcn.1400026a0
nop
xor r9d, r9d
mov r8d, 0x200
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x14000208f
movsxd rdi, eax
cmp rdi, 0x201
jae 0x1400020f8
mov byte [rsp + rdi + 0x50], 0
xor ebx, ebx
test eax, eax
jle 0x140002004
mov dl, byte [rsp + rbx + 0x50]
test dl, dl
je 0x140001ffc
lea rcx, [rsp + 0x28]
call fcn.140002674
inc rbx
cmp rbx, rdi
jl 0x140001fea
lea rcx, [rsp + 0x28]
call fcn.140002650
lea rdx, [rax - 1]
lea rcx, [rsp + 0x28]
call fcn.140002660
cmp byte [rax], 0xa
jne 0x140002091
lea rdx, [rsp + 0x20]
call fcn.140002568
mov rcx, rax
call fcn.14000268c
xor ebx, ebx
lea rcx, [rsp + 0x28]
call fcn.140002650
test rax, rax
je 0x140002083
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140002660
mov dil, byte [rax]
lea eax, [rdi - 0x20]
cmp al, 0x5e
ja 0x14000206f
lea rdx, [rsp + 0x20]
call fcn.140002568
mov rcx, rax
mov dl, dil
call fcn.140002674
inc ebx
movsxd rdx, ebx
lea rcx, [rsp + 0x28]
call fcn.140002650
cmp rdx, rax
jb 0x140002046
lea rcx, [rsp + 0x28]
call fcn.14000268c
jmp 0x140002091
jne 0x1400020a4
lea rcx, [rsp + 0x28]
call fcn.1400032d4
test al, al
je 0x1400020ca
jmp 0x140001fae
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.recv_failed_with_error:__d_n
call fcn.14000113c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
lea rcx, [rsp + 0x28]
call fcn.140002698
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140004e70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140004f98
nop
int3

Function at 0x1400044b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
lea rcx, [rsp + 0x38]
call fcn.140002710
mov rcx, r8
call fcn.140001910
mov r8, rax
mov rcx, rdx
call fcn.140001910
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140004ac0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140004b40
nop
lea rcx, [rsp + 0x30]
call fcn.1400049d0
lea rdi, [rbx + 8]
lea rcx, [rsp + 0x38]
call fcn.1400045f8
mov r9, rax
mov qword [rsp + 0x28], rdi
and dword [rsp + 0x20], 0
lea r8, [0x140004b6c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14000456f
lea rcx, [rsp + 0x38]
call fcn.1400049b4
nop
lea rcx, [rsp + 0x38]
call fcn.1400049d0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140004e70
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
and dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x180028fb0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
sub rsp, 0x160
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x150], rax
call fcn.180028870
test al, al
je 0x18002922d
lea rcx, [0x1800ed850]
call fcn.180058bc0
test al, al
jne 0x180029078
lea rcx, [0x1800ed7f0]
call fcn.180058bc0
test al, al
je 0x180029015
call fcn.180058820
test al, al
sete al
jmp 0x18002905e
lea rcx, [0x1800ed910]
call fcn.180058bc0
test al, al
je 0x180029031
call fcn.180058870
test al, al
sete al
jmp 0x18002905e
lea rcx, [0x1800ed8b0]
call fcn.180058bc0
test al, al
je 0x180029064
lea rcx, [rsp + 0x90]
call fcn.180011960
mov qword [rsp + 0x70], rax
cmp dword [rax + 0xc], 7
je 0x180029078
call fcn.180058820
mov byte [rsp + 0x20], al
jmp 0x180029070
lea rcx, [0x1800ed970]
call fcn.180058bc0
test al, al
je 0x18002922d
lea rcx, [0x1800ed7f0]
call fcn.180058bc0
test al, al
je 0x180029093
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
call fcn.180029270
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
or rdi, 0xffffffffffffffff
cmp word [rax], bx
jne 0x1800290df
mov r8d, ebx
jmp 0x1800290ec
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1800290e2
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800126e0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.180072720
nop
cmp qword [rsp + 0x48], 8
jb 0x18002911f
mov rcx, qword [rsp + 0x30]
call fcn.18008c210
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
lea rcx, [rsp + 0xb0]
call fcn.180011b60
nop
call fcn.180048760
mov dl, 1
mov ecx, 0x2718
call fcn.18002aa00
lea rcx, [0x1800ed7f0]
call fcn.180058bc0
test al, al
je 0x18002917f
xor edx, edx
lea rcx, [0x180059ca0]
call qword [sym.imp.USER32.dll_EnumWindows]
xor edx, edx
lea rcx, [0x180059ca0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
jne 0x180029196
mov rcx, rbx
mov qword [rsp + 0x50], rbx
jmp 0x18002919e
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rcx
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.180049860
nop
cmp qword [rsp + 0xc8], 8
jb 0x1800291c5
mov rcx, qword [rsp + 0xb0]
call fcn.18008c210
mov qword [rsp + 0xc8], 7
mov qword [rsp + 0xc0], rbx
mov word [rsp + 0xb0], bx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x18002922d
mov qword [rsp + 0x28], rcx
mov eax, edi
lock xadd dword [rcx + 8], eax
dec eax
jne 0x18002922d
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
dec edi
jne 0x18002922d
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
nop
call fcn.180062800
mov rcx, qword [0x1800ed758]
test rcx, rcx
je 0x180029247
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800ae4d0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x180048190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, [0x1800ef700]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xa]
mov r9d, 0x5f47
mov dword [rsp + 0x20], 0x5f345f29
mov dword [rsp + 0x24], 0x5f355f37
mov dword [rsp + 0x28], 0x5f695f73
mov dword [rsp + 0x2c], 0x5f2b5f23
mov qword [rsp + 0x30], 0x5f475f2b
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
call fcn.1800585e0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800ae4d0
add rsp, 0x130
pop rbp
ret

Function at 0x180048380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, [0x1800ef730]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xa]
mov r9d, 0x2f41
mov dword [rsp + 0x20], 0x2f322f2f
mov dword [rsp + 0x24], 0x2f332f31
mov dword [rsp + 0x28], 0x2f6f2f75
mov dword [rsp + 0x2c], 0x2f2d2f25
mov qword [rsp + 0x30], 0x2f412f2d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
call fcn.1800585e0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800ae4d0
add rsp, 0x130
pop rbp
ret
Function at 0x180049470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov r9d, 0x3f22
lea r8, [0x1800ef810]
lea rcx, [rsp + 0x20]
lea edx, [rax + 0xb]
mov dword [rsp + 0x20], 0x3f513f75
mov dword [rsp + 0x24], 0x3f7d3f10
mov dword [rsp + 0x28], 0x3f103f11
mov dword [rsp + 0x2c], 0x3f463f0c
mov dword [rsp + 0x30], 0x3f4e3f4e
mov qword [rsp + 0x34], r9
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
call fcn.1800585e0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800ae4d0
add rsp, 0x130
pop rbp
ret

Function at 0x180049570
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
lea r8, [0x1800ef828]
lea rcx, [rsp + 0x20]
lea edx, [rax + 8]
mov r9d, 0x271f
mov dword [rsp + 0x20], 0x274c2748
mov dword [rsp + 0x24], 0x274d275e
mov dword [rsp + 0x28], 0x277c277a
mov qword [rsp + 0x2c], 0x271f2769
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x5c], rax
mov qword [rbp - 0x54], rax
mov qword [rbp - 0x4c], rax
mov qword [rbp - 0x44], rax
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov qword [rbp + 0xc], rax
mov qword [rbp + 0x14], rax
mov dword [rbp + 0x1c], eax
call fcn.1800585e0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800ae4d0
add rsp, 0x130
pop rbp
ret
Function at 0x180058710
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edi, ecx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
xor eax, eax
mov qword [r11 - 0x44], rax
mov qword [r11 - 0x3c], rax
mov qword [r11 - 0x34], rax
mov qword [r11 - 0x2c], rax
mov qword [r11 - 0x24], rax
mov dword [rsp + 0x6c], eax
lea rcx, [r11 - 0x48]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x40], bx
jne 0x180058774
xor al, al
jmp 0x1800587f7
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov r8d, edi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800743f0
nop
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1800587af
mov rbx, qword [rax]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x28], 0
sete sil
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1800587f3
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
dec eax
jne 0x1800587f3
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x1800587f3
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
movzx eax, sil
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800ae4d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18005bec0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18005bf03
xor eax, eax
jmp 0x18005c106
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18005bf3d
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18005bf3d
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
mov eax, esi
jmp 0x18005c106
cmp qword [rbx + 0x90], 0
jne 0x18005bf4f
or eax, 0xffffffff
jmp 0x18005c106
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x80]
cmp qword [r8], rax
jne 0x18005bf79
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x68]
mov qword [r8], rcx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp qword [rbx + 0x78], 0
jne 0x18005bf9d
movsx ecx, sil
mov rdx, qword [rbx + 0x90]
call fcn.1800b004c
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, esi
jmp 0x18005c104
mov byte [rbp - 1], sil
xor r15d, r15d
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], r15
mov byte [rbp + 7], r15b
xor r8d, r8d
lea edx, [r15 + 8]
lea rcx, [rbp + 7]
call fcn.1800271e0
nop
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
nop word [rax + rax]
lea rdx, [rbp + 7]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp + 7]
cmovae r8, r10
mov rcx, qword [rbx + 0x78]
mov r10, qword [rcx]
add rdx, qword [rbp + 0x17]
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, [rbp - 1]
lea rdx, [rbx + 0x84]
call qword [r10 + 0x38]
test eax, eax
js 0x18005c0e1
cmp eax, 1
jg 0x18005c0c2
lea rax, [rbp + 7]
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
cmp r9, 0x10
cmovae rax, r10
mov rdi, qword [rbp - 9]
sub rdi, rax
je 0x18005c089
lea rcx, [rbp + 7]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rbx + 0x90]
mov r8, rdi
mov edx, 1
call fcn.1800b0b60
cmp rdi, rax
jne 0x18005c0e1
mov r9, qword [rbp + 0x1f]
mov r10, qword [rbp + 7]
mov byte [rbx + 0x81], 1
lea rax, [rbp - 1]
cmp qword [rbp - 0x11], rax
jne 0x18005c0be
test rdi, rdi
jne 0x18005bfe0
cmp qword [rbp + 0x17], 0x20
jae 0x18005c0e1
xor r8d, r8d
lea edx, [rdi + 8]
lea rcx, [rbp + 7]
call fcn.180018bb0
jmp 0x18005bfcd
mov ebx, esi
jmp 0x18005c0e4
cmp eax, 3
jne 0x18005c0e1
movsx ecx, byte [rbp - 1]
mov rdx, qword [rbx + 0x90]
call fcn.1800b004c
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, esi
jmp 0x18005c0e4
or ebx, 0xffffffff
cmp qword [rbp + 0x1f], 0x10
jb 0x18005c0f4
mov rcx, qword [rbp + 7]
call fcn.18008c210
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], r15
mov byte [rbp + 7], 0
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800ae4d0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005cb40
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x78], 0
je 0x18005ccb7
cmp byte [rcx + 0x81], 0
je 0x18005ccb7
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x18005cb9c
xor al, al
jmp 0x18005ccb9
xor r14d, r14d
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.1800271e0
nop
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x30]
cmovae r8, r10
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
test eax, eax
je 0x18005cc10
dec eax
jne 0x18005cc87
jmp 0x18005cc17
mov byte [rdi + 0x81], 0
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x18005cc61
lea rcx, [rbp - 0x30]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x90]
mov r8, rbx
mov edx, 1
call fcn.1800b0b60
cmp rbx, rax
jne 0x18005cc8c
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x30]
cmp byte [rdi + 0x81], 0
je 0x18005cc90
test rbx, rbx
jne 0x18005cbd0
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.180018bb0
jmp 0x18005cbc8
sub eax, 2
je 0x18005cc90
xor bl, bl
jmp 0x18005cc92
mov bl, 1
cmp qword [rbp - 0x18], 0x10
jb 0x18005cca2
mov rcx, qword [rbp - 0x30]
call fcn.18008c210
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], 0
movzx eax, bl
jmp 0x18005ccb9
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800ae4d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret