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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a0a48]
call fcn.140068b20
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x120]
movsx eax, byte [rax]
cmp eax, 0x2d
jne 0x1400382e7
mov dword [rbp + 0x24], 1
mov rax, qword [rbp + 0x120]
inc rax
mov qword [rbp + 0x120], rax
jmp 0x1400382be
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x120]
movsx eax, byte [rcx + rax]
and eax, 0xff
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_isdigit]
test eax, eax
je 0x140038345
imul rax, qword [rbp + 8], 0xa
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x120]
movsx ecx, byte [rdx + rcx]
sub ecx, 0x30
movsxd rcx, ecx
add rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x120]
inc rax
mov qword [rbp + 0x120], rax
jmp 0x1400382e7
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x120]
movsx eax, byte [rcx + rax]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_ispunct]
test eax, eax
jne 0x140038385
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x120]
movsx eax, byte [rcx + rax]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_isspace]
test eax, eax
je 0x140038398
mov rax, qword [rbp + 0x120]
inc rax
mov qword [rbp + 0x120], rax
jmp 0x140038345
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x120]
movsx eax, byte [rcx + rax]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_isalpha]
test eax, eax
je 0x1400383c7
cmp qword [rbp + 8], 0
jne 0x1400383c7
mov qword [rbp + 8], 1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x120]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1400383e8
mov rax, qword [rbp + 8]
jmp 0x1400384e3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x120]
movsx eax, byte [rcx + rax]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_tolower]
mov dword [rbp + 0xf4], eax
cmp dword [rbp + 0xf4], 0x64
je 0x14003845c
cmp dword [rbp + 0xf4], 0x68
je 0x14003844e
cmp dword [rbp + 0xf4], 0x6d
je 0x140038443
cmp dword [rbp + 0xf4], 0x73
je 0x140038439
cmp dword [rbp + 0xf4], 0x77
je 0x14003846a
jmp 0x140038478
mov rax, qword [rbp + 8]
mov qword [rbp + 8], rax
jmp 0x14003849d
imul rax, qword [rbp + 8], 0x3c
mov qword [rbp + 8], rax
jmp 0x14003849d
imul rax, qword [rbp + 8], 0xe10
mov qword [rbp + 8], rax
jmp 0x14003849d
imul rax, qword [rbp + 8], 0x15180
mov qword [rbp + 8], rax
jmp 0x14003849d
imul rax, qword [rbp + 8], 0x93a80
mov qword [rbp + 8], rax
jmp 0x14003849d
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.__rotate_offset:_unknown_character_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
cmp qword [rbp + 8], 0x15180
jb 0x1400384cc
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.__rotate_offset:_value_is_greater_than_1_day_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
cmp dword [rbp + 0x24], 0
je 0x1400384df
mov eax, 0x15180
sub rax, qword [rbp + 8]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140042630
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a0d50]
call fcn.140068b20
mov r8, qword [rbp + 0xf0]
xor edx, edx
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll__beginthread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14004e340
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
lea rcx, [0x1401a1219]
call fcn.140068b20
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x64], 0x2c0
mov rcx, qword [rbp + 0x160]
call fcn.1400524f0
mov qword [rbp + 0x160], rax
mov ecx, 0x2c0
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14004e3d9
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
mov rcx, rax
call fcn.140001b10
mov eax, select
jmp 0x14004e4ec
lea rdx, [rbp + 0x64]
mov rcx, qword [rbp + 8]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0x6f
jne 0x14004e436
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, dword [rbp + 0x64]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14004e434
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
mov rcx, rax
call fcn.140001b10
mov eax, select
jmp 0x14004e4ec
jmp 0x14004e3d9
cmp dword [rbp + 0x44], 0
je 0x14004e464
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8d, dword [rbp + 0x44]
lea rdx, str.if:_GetAdaptersInfo_failed_with_error:__u_n
mov rcx, rax
call fcn.140001b10
mov eax, select
jmp 0x14004e4ec
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
jmp 0x14004e479
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14004e49f
mov rax, qword [rbp + 0x28]
add rax, 0xc
mov rdx, qword [rbp + 0x160]
mov rcx, rax
call fcn.140051620
test eax, eax
je 0x14004e49d
jmp 0x14004e49f
jmp 0x14004e46e
cmp qword [rbp + 0x28], 0
je 0x14004e4d9
mov rax, qword [rbp + 0x28]
cmp dword [rax + 0x194], 6
je 0x14004e4ba
mov eax, select
jmp 0x14004e4ec
mov rax, qword [rbp + 0x28]
add rax, 0x198
mov r8d, 6
mov rdx, rax
mov rcx, qword [rbp + 0x168]
call sub.VCRUNTIME140D.dll_memcpy
cmp qword [rbp + 8], 0
je 0x14004e4ea
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140089d60]
call fcn.140068a90
mov rax, rdi
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14004f120
Capabilities:
Terminate process
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x160
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x14009ad80]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1401a1305]
call fcn.140068b20
lea rax, [rbp + 8]
lea rcx, [0x14008a380]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x19
rep movsb byte [rdi], byte [rsi]
mov eax, 1
imul rax, rax, 0x14
movzx ecx, byte [rbp + 0x168]
mov byte [rbp + rax + 8], cl
mov eax, dword [rbp + 0x168]
shr eax, 8
mov ecx, 1
imul rcx, rcx, 0x15
mov byte [rbp + rcx + 8], al
lea rdx, [0x14008a39c]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14004f1fd
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.Could_not_open_capture_file_n
mov rcx, rax
call fcn.140001b10
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ucrtbased.dll_perror]
xor eax, eax
jmp 0x14004f2de
mov r9, qword [rbp + 0x48]
mov r8d, 0x18
mov edx, 1
lea rcx, [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp rax, 0x18
je 0x14004f254
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.Could_not_write_capture_file_header_n
mov rcx, rax
call fcn.140001b10
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ucrtbased.dll_perror]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_fclose]
xor eax, eax
jmp 0x14004f2de
mov qword [rbp + 0x68], 0
mov ecx, 0x150
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14004f27d
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov r8d, 0x150
xor edx, edx
mov rcx, qword [rbp + 0x68]
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x68]
add rax, 0x1c
mov r9, qword [rbp + 0x160]
lea r8, [0x14006e240]
mov edx, 0x100
mov rcx, rax
call fcn.14004e900
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
mov qword [rax], rcx
mov rax, qword [rbp + 0x68]
mov dword [rax + 0x11c], 2
mov rax, qword [rbp + 0x68]
mov ecx, dword [rbp + 0x168]
mov dword [rax + 0x120], ecx
mov rax, qword [rbp + 0x68]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140089ff0]
call fcn.140068a90
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.140068cb0
lea rsp, [rbp + 0x140]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140056cf0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, getprotobynumber
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
lea rcx, [0x1401a1457]
call fcn.140068b20
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov dword [rbp + 0x44], 0
xor r9d, r9d
lea r8, [rbp + 0x44]
mov rdx, qword [rbp + 0x1a8]
lea rcx, [rbp + 8]
call fcn.14000b990
cmp dword [rbp + 0x44], 0
je 0x140056d81
mov r8, qword [rbp + 0x1a8]
lea rdx, str.SCRIPTING:_invalid_setTcpPorts_range:__s_n
xor ecx, ecx
call fcn.14002ddd0
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov dword [rbp + 0x64], 0
jmp 0x140056d92
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x64], eax
jae 0x140056df3
mov eax, dword [rbp + 0x64]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax*8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov eax, dword [rax]
mov dword [rbp + 0xa4], eax
jmp 0x140056dcb
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 4]
cmp dword [rbp + 0xa4], eax
ja 0x140056df1
mov edx, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x1a0]
call fcn.140056c90
jmp 0x140056dbd
jmp 0x140056d8a
lea rcx, [rbp - 0x20]
lea rdx, [0x14008c100]
call fcn.140068a90
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140056fd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rcx, [0x1401a14cb]
call fcn.140068b20
mov rax, qword [rbp + 0x160]
mov rax, qword [rax + 0x1450]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x14005701d
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x48]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x14005703d
lea r8, str.SCRIPTING
lea rdx, str._s:_no_script_specified__use___script_option_n
xor ecx, ecx
call fcn.14002ddd0
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
call fcn.14005ec20
xor ecx, ecx
call qword [0x14019c030]
cvttsd2si eax, qword [rax]
mov dword [rbp + 4], eax
mov r8d, dword [rbp + 4]
lea rdx, str.Lua_version___d_n
mov ecx, 1
call fcn.14002ddd0
cmp dword [rbp + 4], 0x1f7
je 0x140057091
cmp dword [rbp + 4], 0x1f6
je 0x140057091
lea rdx, str.Unable_to_load_Lua_library_n
xor ecx, ecx
call fcn.14002ddd0
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
call qword [0x14019bfd8]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x28]
call qword [0x14019bfd0]
mov rax, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x28]
mov qword [rax + 0x1458], rcx
mov rcx, qword [rbp + 0x160]
call fcn.140056ee0
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call qword [0x14019bff0]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x140057122
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call qword [0x14019c050]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x48]
lea r8, str.SCRIPTING:
lea rdx, str._s_error_loading:__s:__s_n
xor ecx, ecx
call fcn.14002ddd0
mov rcx, qword [rbp + 0x28]
call qword [0x14019c120]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov r9, qword [rbp + 0x48]
lea r8, str.SCRIPTING:
lea rdx, str._s_running_script:__s_n
mov ecx, 1
call fcn.14002ddd0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [0x14019c0c0]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
je 0x1400571b0
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call qword [0x14019c050]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x48]
lea r8, str.SCRIPTING:
lea rdx, str._s_error_running:__s:__s_n
xor ecx, ecx
call fcn.14002ddd0
mov rcx, qword [rbp + 0x28]
call qword [0x14019c120]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400583b0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a1509]
call fcn.140068b20
mov eax, dword [rbp + 0x110]
inc eax
mov eax, eax
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140058427
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [rbp + 0x110]
mov r8d, eax
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memcpy
mov eax, dword [rbp + 0x110]
mov rcx, qword [rbp + 8]
mov byte [rcx + rax], 0
mov eax, dword [rbp + 0x118]
imul rax, rax, 0x18
mov rcx, qword [rbp + 0x100]
mov rcx, qword [rcx + 0x30]
mov rdx, qword [rbp + 8]
mov qword [rcx + rax + 0x10], rdx
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140058480
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a1509]
call fcn.140068b20
mov eax, dword [rbp + 0x108]
imul rax, rax, 0x40c
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400584f0
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [rbp + 0x108]
imul rax, rax, 0x40c
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov qword [rax + 0x20], rcx
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140058530
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a1509]
call fcn.140068b20
mov eax, dword [rbp + 0x108]
imul rax, rax, 0x18
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14005859d
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [rbp + 0x108]
imul rax, rax, 0x18
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov qword [rax + 0x30], rcx
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140058a40
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a1509]
call fcn.140068b20
mov eax, dword [rbp + 0x128]
inc eax
mov eax, eax
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140058ab1
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
cmp dword [rbp + 0x130], 0
je 0x140058afa
mov dword [rbp + 0x24], 0
jmp 0x140058acb
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x128]
cmp dword [rbp + 0x24], eax
jae 0x140058af8
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x120]
movzx eax, byte [rcx + rax]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_tolower]
mov ecx, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov byte [rdx + rcx], al
jmp 0x140058ac3
jmp 0x140058b13
mov eax, dword [rbp + 0x128]
mov r8d, eax
mov rdx, qword [rbp + 0x120]
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memcpy
mov eax, dword [rbp + 0x128]
mov rcx, qword [rbp + 8]
mov byte [rcx + rax], 0
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140059a00
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a1509]
call fcn.140068b20
mov rax, qword [rbp + 0x180]
mov rax, qword [rax]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x180]
mov eax, dword [rax + 8]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x190]
mov ecx, dword [rbp + 0x64]
add ecx, eax
mov eax, ecx
mov eax, eax
shl rax, 3
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140059a97
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov dword [rbp + 0x84], 0
jmp 0x140059ab1
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0x84], eax
jae 0x140059ada
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0x84]
mov rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x48]
mov rax, qword [r8 + rax*8]
mov qword [rdx + rcx*8], rax
jmp 0x140059aa3
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x84], 0
jmp 0x140059afa
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x190]
cmp dword [rbp + 0x84], eax
jae 0x140059b4f
mov eax, dword [rbp + 0x84]
mov rcx, qword [rbp + 0x188]
mov r8, qword [rcx + rax*8]
mov edx, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x48]
call fcn.1400587e0
test eax, eax
jne 0x140059b4d
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x188]
mov rax, qword [r8 + rax*8]
mov qword [rdx + rcx*8], rax
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
jmp 0x140059aec
mov rax, qword [rbp + 0x180]
cmp qword [rax], 0
je 0x140059b6c
mov rax, qword [rbp + 0x180]
mov rcx, qword [rax]
call qword [sym.imp.ucrtbased.dll_free]
mov rax, qword [rbp + 0x180]
mov rcx, qword [rbp + 8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x180]
mov ecx, dword [rbp + 0x24]
mov dword [rax + 8], ecx
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x140059ba0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a1509]
call fcn.140068b20
mov ecx, 0x558
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140059c05
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov r8d, 0x558
xor edx, edx
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memset
mov eax, dword [rbp + 0x108]
and eax, 1
mov rcx, qword [rbp + 8]
mov ecx, dword [rcx + 8]
and ecx, 0xfffffffe
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 8]
mov dword [rcx + 8], eax
mov rcx, qword [rbp + 0x100]
call sub.ucrtbased.dll_strlen
inc rax
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov rcx, qword [rbp + 8]
mov qword [rcx], rax
mov rax, qword [rbp + 8]
cmp qword [rax], 0
jne 0x140059c89
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0x100]
call sub.ucrtbased.dll_strlen
inc rax
mov r8, rax
mov rdx, qword [rbp + 0x100]
mov rax, qword [rbp + 8]
mov rcx, qword [rax]
call sub.VCRUNTIME140D.dll_memcpy
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14005af90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a1509]
call fcn.140068b20
mov rax, qword [rbp + 0x1e0]
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x1e0]
add rax, 0x444
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x1e0]
mov ecx, dword [rax + 0x548]
call fcn.140058b90
mov rcx, qword [rbp + 0x1e0]
mov dword [rcx + 0x54c], eax
mov rax, qword [rbp + 0x1e0]
mov eax, dword [rax + 0x54c]
mov ecx, 1
mov dword [rbp + 0x1b4], ecx
movzx ecx, al
mov eax, dword [rbp + 0x1b4]
shl eax, cl
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
shl rax, 1
mov ecx, dword [rbp + 0x44]
imul rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14005b062
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov eax, dword [rbp + 0x24]
shl rax, 1
mov ecx, dword [rbp + 0x44]
imul rax, rcx
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x68]
call sub.VCRUNTIME140D.dll_memset
mov dword [rbp + 4], 0
jmp 0x14005b08e
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 4], eax
jae 0x14005b124
mov dword [rbp + 0xa4], 0
jmp 0x14005b0b4
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0x102
jae 0x14005b11f
mov eax, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0x88]
movzx eax, byte [rcx + rax]
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 4]
imul rax, rax, 0x40c
mov rcx, qword [rbp + 0x1e0]
add rax, qword [rcx + 0x20]
mov ecx, dword [rbp + 0xa4]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 4]
imul eax, dword [rbp + 0x44]
mov eax, eax
mov rcx, qword [rbp + 0x68]
lea rax, [rcx + rax*2]
mov ecx, dword [rbp + 0xe4]
movzx edx, word [rbp + 0xc4]
mov word [rax + rcx*2], dx
jmp 0x14005b0a6
jmp 0x14005b086
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x68]
mov qword [rax + 0x550], rcx
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x14005b460
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a151f]
call fcn.140068b20
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14005b4c5
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov rax, qword [rbp + 0x100]
cmp qword [rax], 0
jne 0x14005b4e2
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov qword [rax], rcx
jmp 0x14005b4f5
mov rax, qword [rbp + 0x100]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 8]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0x108]
mov dword [rax], ecx
mov rax, qword [rbp + 8]
mov qword [rax + 8], 0
mov rax, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
mov qword [rax + 8], rcx
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14005b530
Capabilities:
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a151f]
call fcn.140068b20
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14005b58d
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.smack
lea rdx, str._s:_out_of_memory_error_n
mov rcx, rax
call fcn.140001b10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140D.dll_memset
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret