joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401945e7
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rsi, rcx
mov ecx, dword [0x140214618]
test ecx, ecx
je 0x140194722
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140194622
mov rbx, rax
cmp qword [rax + 8], 0
je 0x140194622
add rbx, 0x10
jmp 0x140194714
mov ecx, dword [0x140214618]
test ecx, ecx
je 0x140194735
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1401946b2
mov rbx, rax
test rax, rax
jne 0x14019468d
mov al, byte [0x14030f1a8]
mov edx, 0x60
xor ecx, ecx
call dbg.process_heap_alloc
test rax, rax
je 0x14019475b
mov rbx, rax
lea rax, sym.std::sys::pal::common::thread_local::os_local::destroy_value::h2f896903f35335b2
mov qword [rbx], rax
mov qword [rbx + 8], 0
mov ecx, dword [0x140214618]
test ecx, ecx
je 0x140194748
dec ecx
mov rdx, rbx
call fcn.1401a808c
lea rax, [rbx + 8]
test rsi, rsi
je 0x1401946b6
lea rcx, [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
lea rsi, [0x14028b420]
cmovne rsi, rcx
jmp 0x1401946bd
xor ebx, ebx
jmp 0x140194714
lea rsi, [0x14028b420]
lea rdx, [rsp + 0x80]
mov ecx, 0xa
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea r8, [rsp + 0x28]
mov ecx, 0xb
mov rdi, r8
mov rsi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rbx + 8], 1
add rbx, 0x10
mov ecx, 0xa
mov rdi, rbx
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
cmp qword [r8], 0
je 0x140194714
cmp dword [rsp + 0x38], 2
je 0x140194714
lea rcx, [rsp + 0x38]
call sym.core::ptr::drop_in_place_tokio::runtime::scheduler::Handle_::h050f7a5bde251ced
mov rax, rbx
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
lea rcx, sym.std::sys::pal::common::thread_local::os_local::destroy_value::h2f896903f35335b2
call dbg.init
mov ecx, eax
jmp 0x140194604
lea rcx, sym.std::sys::pal::common::thread_local::os_local::destroy_value::h2f896903f35335b2
call dbg.init
mov ecx, eax
jmp 0x140194632
lea rcx, sym.std::sys::pal::common::thread_local::os_local::destroy_value::h2f896903f35335b2
call dbg.init
mov ecx, eax
jmp 0x140194685
mov ecx, 8
mov edx, 0x60
call dbg.handle_alloc_error
int3

Function at 0x14019476b
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140194782
dec ecx
jmp 0x14019478c
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.1401a808c
mov rcx, rdi
call sym._ZN4core3ptr138drop_in_place_LT_alloc..boxed..Box_LT_std..sys..pal..common..thread_local..os_local..Value_LT_tokio..runtime..c
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x1401947a9
dec ecx
jmp 0x1401947b3
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
call fcn.1401a808c
xor ecx, ecx
call sym._ZN4core3ptr130drop_in_place_LT_core..result..Result_LT__LP__RP__C_alloc..boxed..Box_LT_dyn_u20_core..any..Any_u2b_core..marke
nop
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x14019484c
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rdi, rcx
mov rsi, qword [rcx]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x140194863
dec ecx
jmp 0x14019486d
mov rcx, rsi
call dbg.init
mov ecx, eax
mov edx, 1
call fcn.1401a808c
mov rcx, rdi
call sym._ZN4core3ptr138drop_in_place_LT_alloc..boxed..Box_LT_std..sys..pal..common..thread_local..os_local..Value_LT_tokio..runtime..p
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x14019488a
dec ecx
jmp 0x140194894
mov rcx, rsi
call dbg.init
mov ecx, eax
xor edx, edx
call fcn.1401a808c
xor ecx, ecx
call sym._ZN4core3ptr130drop_in_place_LT_core..result..Result_LT__LP__RP__C_alloc..boxed..Box_LT_dyn_u20_core..any..Any_u2b_core..marke
nop
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x140196c84
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140196c8b
test al, 1
je 0x140196caa
test al, 2
jne 0x140196cc2
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140289c30]
mov edx, 0x23
call dbg.panic
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140289c70]
mov edx, 0x25
call dbg.panic
int3

Function at 0x14019c9e4
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
cmp byte [rcx + 0x60], 0
je 0x14019ca81
mov rdi, rcx
mov rbx, qword [rcx + 0x30]
mov rcx, rbx
mov edx, 1
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x14019ca13
mov byte [rdi + 0x60], 0
jmp 0x14019ca81
call sub.kernel32.dll_GetLastError
mov esi, eax
cmp eax, 5
jne 0x14019ca71
mov rcx, rbx
xor edx, edx
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x14019ca36
cmp eax, 0x102
je 0x14019ca0d
jmp 0x14019ca4d
lea rdx, [rsp + 0x3c]
mov dword [rdx], 0
mov rcx, rbx
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x14019ca0d
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
call dbg.drop_in_place<std::io::error::Error>
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call sym.core::ptr::drop_in_place_std::io::error::Error_::h1f4daee6a98f4d2e
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x14019d611
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x14019d659
movzx eax, dl
lea r9, [rsp + 0x34]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14019d647
xor eax, eax
jmp 0x14019d654
call sub.WS2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
lea rcx, str.C:Users_soras.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rs
call dbg.unwrap_failed
int3
Function at 0x14019d8bf
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r13, r9
mov rbx, r8
mov rbp, rcx
mov rax, qword [rsp + 0xd0]
lea r14, [rsp + 0x3a]
lea r12, [rsp + 0x4a]
mov rdi, qword [rdx + 0x10]
mov r15, qword [rdx + 0x18]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x50], rax
lea rax, [rdi + 0x80]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rdi
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8, rbx
mov r9b, 1
call sym.tokio::runtime::io::registration::Registration::poll_ready::h5514ffa3f9f6758b
mov al, byte [rsp + 0x39]
cmp al, 3
je 0x14019da37
mov rcx, qword [rsp + 0x30]
cmp al, 2
je 0x14019da41
mov dl, byte [rsp + 0x38]
movzx r8d, word [r14 + 4]
mov word [r12 + 4], r8w
mov r8d, dword [r14]
mov dword [r12], r8d
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x48], dl
mov byte [rsp + 0x49], al
cmp r15, 0xffffffffffffffff
je 0x14019da7f
mov rcx, r15
mov rdx, r13
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x14019da4f
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call sym._ZN3std2io5error5Error4kind17ha4bba0dd38156312E.10921
cmp al, 0xd
jne 0x14019da0f
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14019da0f
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14019da8b
mov rdi, r15
mov r15, r14
mov r14, rbx
mov rbx, r13
mov r13, rbp
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call sym.mio::sys::windows::selector::SelectorInner::reregister::he56076f3b0883d55
mov rbp, rax
test rax, rax
je 0x14019d9fb
mov rcx, rsi
call sym.core::ptr::drop_in_place_std::io::error::Error_::h1f4daee6a98f4d2e
mov rsi, rbp
mov rbp, r13
mov r13, rbx
mov rbx, r14
mov r14, r15
mov r15, rdi
mov rdi, qword [rsp + 0x28]
mov rcx, rsi
call sym._ZN3std2io5error5Error4kind17ha4bba0dd38156312E.10921
cmp al, 0xd
jne 0x14019da5f
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x40]
call sym.tokio::runtime::io::scheduled_io::ScheduledIo::clear_readiness::h5b36b2bdb298980e
mov rcx, rsi
call sym.core::ptr::drop_in_place_std::io::error::Error_::h1f4daee6a98f4d2e
jmp 0x14019d91d
mov qword [rbp], 2
jmp 0x14019da6b
mov qword [rbp], 1
mov qword [rbp + 8], rcx
jmp 0x14019da6b
cdqe
mov qword [rbp], 0
mov qword [rbp + 8], rax
jmp 0x14019da6b
mov qword [rbp], 1
mov qword [rbp + 8], rsi
mov rax, rbp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:Users_soras.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rs
call dbg.unwrap_failed
ud2
Function at 0x1401b8730
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1401b87a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14030fc04]
mov rbx, rcx
test esi, esi
jle 0x1401b88d0
mov rax, qword [0x14030fc08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1401b87eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1401b8875
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1401b87d0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1401b88f2
mov rax, qword [0x14030fc08]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14030fc08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1401b88d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1401b886e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1401b8880
add dword [0x14030fc04], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14030fc08]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1401b886e
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1401b87f8
mov rax, qword [0x14030fc08]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1401b8e80
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14030fc60]
mov rcx, r12
call qword [sym.imp.kernel32.dll_EnterCriticalSection]
mov rbx, qword [0x14030fc40]
test rbx, rbx
je 0x1401b8edc
mov rbp, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rdi, qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1401b8ed3
test eax, eax
jne 0x1401b8ed3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401b8eb8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.kernel32.dll_LeaveCriticalSection]
Function at 0x1401b90f0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1401b9108
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1401b9110
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1401b9120
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1401b916d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1401b9164
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1401b916f
add rax, 0x28
cmp rax, r9
jne 0x1401b9150
xor eax, eax
ret

Function at 0x1401b9170
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1401b9200
mov rdx, qword [0x1402c1bc0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1401b91ee
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1401b91ee
cmp word [rax + 0x18], 0x20b
jne 0x1401b91ee
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1401b9200
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1401b91d9
add rbx, 0x28
cmp rbx, rdi
je 0x1401b9200
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1401b91d0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1401b9210
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402c1bc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401b9230
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401b9238
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401b9230
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1401b928d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401b9284
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401b9230
add rax, 0x28
cmp rax, r9
jne 0x1401b9270
xor eax, eax
ret

Function at 0x1401b9290
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402c1bc0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1401b92af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401b92b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401b92af
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1401b92d0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1402c1bc0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1401b92f0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1401b92f8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1401b92f0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1401b9340
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1401b9337
test rcx, rcx
je 0x1401b92f0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1401b9328
xor eax, eax
ret

Function at 0x1401b9350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402c1bc0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1401b936f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1401b9378
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1401b9390
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1402c1bc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401b93b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401b93b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401b93b0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1401b93b0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1401b9404
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1401b9410
add rdx, 0x28
cmp rdx, r9
jne 0x1401b93f0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1401b9420
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1402c1bc0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1401b9442
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1401b9450
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401b9442
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1401b9442
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1401b9442
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1401b94a5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1401b94b8
add rdx, 0x28
cmp r10, rdx
jne 0x1401b9490
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1401b94c7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1401b94d7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1401b94ae
test ecx, ecx
jg 0x1401b94c0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1401ba010
Capabilities:
Authenticate hmac

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov eax, dword [rcx + 0x18]
add eax, eax
mov rdi, rdx
mov edx, dword [rcx + 0x20]
mov rbx, rcx
mov ebp, r8d
lea rcx, [rax + rdx + 0x18]
mov rax, qword [0x1402c1ab0]
call qword [rax]
mov rsi, rax
test rax, rax
je 0x1401ba118
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsi + 0x10], rax
cmp dword [rbx + 0x1c], ebp
jae 0x1401ba086
call qword [rbx]
mov r8d, ebp
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [rbx + 8]
mov edi, dword [rbx + 0x18]
add rdi, qword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, rdi
call qword [rbx + 0x10]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rsi + 8]
xor r12d, r12d
lea r14, [rsp + 0x2f]
call qword [rbx]
mov rcx, qword [rsi + 0x10]
call qword [rbx]
mov r13d, ebp
cmp r12, r13
jae 0x1401ba0dd
mov al, byte [rdi + r12]
mov rcx, qword [rsi + 8]
mov r8d, 1
mov rdx, r14
xor eax, 0x36
mov byte [rsp + 0x2f], al
call qword [rbx + 8]
mov al, byte [rdi + r12]
mov rcx, qword [rsi + 0x10]
mov rdx, r14
mov r8d, 1
inc r12
xor eax, 0x5c
mov byte [rsp + 0x2f], al
call qword [rbx + 8]
jmp 0x1401ba09a
lea rdi, [0x1402c64e0]
lea rbp, [0x1402c64f0]
mov eax, dword [rbx + 0x1c]
cmp r13, rax
jae 0x1401ba118
mov rcx, qword [rsi + 8]
mov r8d, 1
mov rdx, rdi
inc r13
call qword [rbx + 8]
mov rcx, qword [rsi + 0x10]
mov r8d, 1
mov rdx, rbp
call qword [rbx + 8]
jmp 0x1401ba0eb
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1401bbf80
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
xor eax, eax
xor esi, esi
mov qword [rsp + 0xc0], rax
mov rbx, rdx
mov rdi, r8
test rdx, rdx
je 0x1401bc1e5
test r8, r8
jne 0x1401bbfb6
mov rdi, qword [rdx]
xor esi, esi
test byte [rbx + 0x28], 4
jne 0x1401bc1e5
test rdi, rdi
je 0x1401bc1e5
cmp byte [rdi], 0
je 0x1401bc1e5
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0xb8]
mov rdx, rdi
call sym.Curl_fopen
mov esi, eax
test eax, eax
jne 0x1401bc1d4
mov rdx, qword [rsp + 0xb8]
lea rcx, [0x1402b9e2d]
lea r12, [0x1402b9e25]
call sym.fputs
mov rbp, qword [rbx + 8]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xa0], rax
test rbp, rbp
je 0x1401bc193
mov rbx, qword [rbp]
lea rdx, [rsp + 0xdc]
mov rbp, qword [rbp + 0x10]
mov rcx, qword [rbx + 0x20]
call sym.Curl_gmtime
test eax, eax
je 0x1401bc052
mov esi, eax
jmp 0x1401bc193
mov rdx, qword [rbx + 0x10]
lea r8, [rsp + 0xcc]
mov ecx, 0x17
lea r14, [0x1402b9e29]
mov qword [rsp + 0xa8], r8
lea r13, [0x1402b9e2b]
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rbx]
mov ecx, 0x17
dec eax
cmovne r14, r12
cmovne r13, r12
call qword [sym.imp.WS2_32.dll_inet_pton]
mov rdx, qword [rbx + 0x10]
mov ecx, dword [rbx + 0x1c]
lea r10, [0x1402b9e29]
dec eax
lea r9, [0x1402b9e2b]
mov r8d, dword [rbx + 0x2c]
mov qword [rsp + 0xa8], rdx
cmovne r10, r12
cmovne r9, r12
call sym.Curl_alpnid2str
mov ecx, dword [rbx + 0xc]
mov r15, qword [rbx]
mov r11, rax
call sym.Curl_alpnid2str
mov dword [rsp + 0x98], r8d
movzx ecx, byte [rbx + 0x28]
mov edx, dword [rsp + 0xec]
mov r8, rax
mov dword [rsp + 0x90], ecx
mov ecx, dword [rsp + 0xdc]
mov dword [rsp + 0x88], ecx
mov ecx, dword [rsp + 0xe0]
mov dword [rsp + 0x80], ecx
mov ecx, dword [rsp + 0xe4]
mov dword [rsp + 0x78], ecx
mov ecx, dword [rsp + 0xe8]
mov dword [rsp + 0x70], ecx
lea ecx, [rdx + 1]
mov edx, dword [rsp + 0xf0]
mov dword [rsp + 0x68], ecx
lea ecx, [rdx + 0x76c]
mov rdx, qword [rsp + 0xa8]
mov dword [rsp + 0x60], ecx
movzx ecx, word [rbx + 0x18]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r11
movzx edx, word [rbx + 8]
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x30], edx
lea rdx, str._s__s_s_s__u__s__s_s_s__u___d_02d_02d__02d:_02d:_02d___u__d_n
mov qword [rsp + 0x20], r15
mov rcx, qword [rsp + 0xa0]
call sym.curl_mfprintf
jmp 0x1401bc015
mov rcx, qword [rsp + 0xb8]
call sym.fclose
test esi, esi
jne 0x1401bc1c2
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1401bc1d4
mov rdx, rdi
call sym.Curl_rename
test eax, eax
je 0x1401bc1d4
mov esi, 0x17
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1401bc1d4
call sym.unlink
mov rax, qword [0x1402c1aa0]
mov rcx, qword [rsp + 0xc0]
call qword [rax]
mov eax, esi
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret