joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400296b0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x14002985b
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
lea rbp, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_signaler.cpp
test eax, eax
je 0x14002977b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
je 0x14002985b
cmp ebx, 0xffffffff
jne 0x14002977b
call fcn.14000fcc0
mov rsi, rax
test rax, rax
je 0x14002977b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x28], 0x78
mov qword [rsp + 0x20], rbp
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rsi
call fcn.1400102a0
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x1400297e7
call fcn.14000fcc0
mov rsi, rax
test rax, rax
je 0x1400297e7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x28], 0x7a
mov qword [rsp + 0x20], rbp
mov r9d, ebx
mov r8, rsi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rsi
call fcn.1400102a0
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x14002985b
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x14002985b
call fcn.14000fcc0
mov rdi, rax
test rax, rax
je 0x14002985b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x28], 0x7e
mov qword [rsp + 0x20], rbp
mov r9d, ebx
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rdi
call fcn.1400102a0
nop
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140029870
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
lea rsi, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_signaler.cpp
cmp eax, 0xffffffff
jne 0x1400299b3
mov qword [rsp + 0x50], rdi
call fcn.14000fcc0
mov rdi, rax
test rax, rax
je 0x140029909
mov qword [rsp + 0x48], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x28], 0x12a
lea rdx, str.Assertion_failed:__s___i____s:_d__n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r9d, ebx
mov r8, rdi
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rdi
call fcn.1400102a0
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
mov dword [rsp + 0x20], 0x132
mov rcx, rax
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1400102a0
cmp byte [rsp + 0x40], 0
je 0x1400299ad
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
mov dword [rsp + 0x20], 0x133
mov rcx, rax
lea r8, str.dummy__0
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str.dummy__0
call fcn.1400102a0
add rsp, 0x30
pop rsi
ret
cmp eax, 1
je 0x14002995a
jmp 0x14002990e
Function at 0x1400299c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_recv]
lea rsi, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_signaler.cpp
cmp eax, 0xffffffff
jne 0x140029b29
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140029a10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_inet_addr
mov eax, 0xffffffff
add rsp, 0x30
pop rsi
ret
mov qword [rsp + 0x50], rdi
call fcn.14000fcc0
mov rdi, rax
test rax, rax
je 0x140029a7d
mov qword [rsp + 0x48], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x28], 0x159
lea rdx, str.Assertion_failed:__s___i____s:_d__n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r9d, ebx
mov r8, rdi
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rdi
call fcn.1400102a0
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
mov dword [rsp + 0x20], 0x170
mov rcx, rax
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1400102a0
cmp byte [rsp + 0x40], 0
je 0x140029b21
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rsi
mov dword [rsp + 0x20], 0x171
mov rcx, rax
lea r8, str.dummy__0
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str.dummy__0
call fcn.1400102a0
xor eax, eax
add rsp, 0x30
pop rsi
ret
cmp eax, 1
je 0x140029ace
jmp 0x140029a82
Function at 0x140029b40
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x30
mov qword [rsp + 0x50], rsi
lea rbp, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_signaler.cpp
mov qword [rsp + 0x48], rbx
mov rsi, rcx
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x40], 0
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140029bea
call fcn.14000fcc0
mov rbx, rax
test rax, rax
je 0x140029b70
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov edi, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x28], 0xa3
lea rdx, str.Assertion_failed:__s___i____s:_d__n
mov rcx, rax
mov qword [rsp + 0x20], rbp
mov r9d, edi
mov r8, rbx
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rbx
call fcn.1400102a0
jmp 0x140029b70
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp eax, 1
je 0x140029c4a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbp
mov dword [rsp + 0x20], 0xa7
mov rcx, rax
lea r8, str.nbytes__sizeof__dummy_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str.nbytes__sizeof__dummy_
call fcn.1400102a0
add rsp, 0x30
pop rbp
ret
Function at 0x14002b0e0
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1400711c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea r15, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcipc_listener.cpp
cmp qword [rcx + 0x4e8], 0xffffffffffffffff
jne 0x14002b16d
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x20], 0xa3
mov r9, r15
lea r8, str._s___retired_fd
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str._s___retired_fd
call fcn.1400102a0
mov r14, qword [rdi + 0x4e8]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14002b1de
call fcn.14000fcc0
mov rbp, rax
test rax, rax
je 0x14002b1de
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea ecx, [rsi + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov dword [rsp + 0x28], 0xa7
mov qword [rsp + 0x20], r15
mov r9d, ebx
mov r8, rbp
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.14000f4d0
lea ecx, [rsi + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rbp
call fcn.1400102a0
mov qword [rdi + 0x4e8], 0xffffffffffffffff
cmp byte [rdi + 0x520], 0
je 0x14002b29a
cmp dword [rdi + 0x344], 0xffffffff
jne 0x14002b29a
cmp qword [rdi + 0x538], 0
je 0x14002b259
lea rcx, [rdi + 0x548]
cmp qword [rcx + 0x18], 0xf
jbe 0x14002b21e
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__unlink]
test eax, eax
jne 0x14002b25d
lea rbx, [rdi + 0x528]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14002b23c
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__rmdir]
mov esi, eax
mov qword [rbx + 0x10], 0
cmp qword [rbx + 0x18], 0xf
jbe 0x14002b256
mov rbx, qword [rbx]
mov byte [rbx], 0
test esi, esi
je 0x14002b29a
lea rdx, [rdi + 0x500]
lea rcx, [rsp + 0x30]
call fcn.140029500
mov rbx, rax
call fcn.14000f760
mov r8d, eax
mov rdx, rbx
mov rcx, qword [rdi + 0x4f8]
call fcn.14001c880
nop
lea rcx, [rsp + 0x30]
call fcn.1400192e0
mov eax, 0xffffffff
jmp 0x14002b2cb
lea rdx, [rdi + 0x500]
lea rcx, [rsp + 0x30]
call fcn.140029500
nop
mov r8, r14
mov rdx, rax
mov rcx, qword [rdi + 0x4f8]
call fcn.14001c900
nop
lea rcx, [rsp + 0x30]
call fcn.1400192e0
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140053e80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14003ba50
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rdi
sub rsp, 0x30
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14003bb33
mov qword [rsp + 0x50], rsi
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp eax, 0x2733
jne 0x14003ba8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_inet_addr
jmp 0x14003bb2e
add eax, 0xffffd8be
mov qword [rsp + 0x40], rbx
cmp eax, 0xb
ja 0x14003baa8
mov ecx, 0xcbd
bt ecx, eax
jb 0x14003bb17
mov qword [rsp + 0x48], rbp
call fcn.14000fcc0
mov rbp, rax
test rax, rax
je 0x14003bb12
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x28], 0x107
lea rdx, str.Assertion_failed:__s___i____s:_d__n
mov rcx, rax
mov r9d, ebx
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp.cpp
mov r8, rbp
mov qword [rsp + 0x20], rax
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rbp
call fcn.1400102a0
mov rbp, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, esi
mov rbx, rax
call fcn.14000fff0
mov dword [rbx], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov eax, 0xffffffff
cmp edi, eax
cmove edi, eax
mov eax, edi
add rsp, 0x30
pop rdi
ret

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

Disassembly:
push rsi
sub rsp, 0x30
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, 0xffffffff
jne 0x14003bcfc
cmp eax, 0x2733
je 0x14003bd04
lea ecx, [rax - 0x2742]
cmp ecx, 0xf
ja 0x14003bc78
mov edx, 0x841d
bt edx, ecx
jae 0x14003bc78
mov eax, esi
add rsp, 0x30
pop rsi
ret
cmp eax, 0x2747
je 0x14003bd04
mov qword [rsp + 0x48], rdi
call fcn.14000fcc0
mov rdi, rax
test rax, rax
je 0x14003bcf7
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x28], 0xd3
lea rdx, str.Assertion_failed:__s___i____s:_d__n
mov rcx, rax
mov r9d, ebx
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp.cpp
mov r8, rdi
mov qword [rsp + 0x20], rax
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rdi
call fcn.1400102a0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov eax, esi
add rsp, 0x30
pop rsi
ret
xor eax, eax
add rsp, 0x30
pop rsi
ret
Function at 0x14003bdf0
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
test edx, edx
jg 0x14003be05
xor eax, eax
add rsp, 0x30
pop rdi
ret
mov eax, 0x10624dd3
mov qword [rsp + 0x40], rbx
imul edx
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 4
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x48], edx
mov edx, 6
lea r8d, [rdx - 1]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.14001f5a0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14003be60
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edx, 6
mov dword [rsp + 0x48], 1
lea r9, [rsp + 0x48]
mov dword [rsp + 0x20], 4
mov rdi, rcx
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
mov ebx, eax
call fcn.14001f5a0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14004b8f0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rcx, qword [rcx + 0x578]
jmp fcn.14003bc30

Function at 0x140050830
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x60
cmp qword [rdx + 0x18], 0xff
mov rdi, rdx
mov r15, rcx
jbe 0x1400508a6
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_socks.cpp
mov dword [rsp + 0x20], 0xd0
mov rcx, rax
lea r8, str.req_.hostname.size______UINT8_MAX
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.14000f4d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
lea rcx, str.req_.hostname.size______UINT8_MAX
call fcn.1400102a0
lea rbx, [r15 + 0x10]
xorps xmm0, xmm0
mov byte [rbx], 5
lea rsi, [rdi + 8]
movzx eax, byte [rdi]
mov rcx, rsi
mov byte [rbx + 1], al
mov byte [rbx + 2], 0
cmp qword [rsi + 0x18], 0xf
mov qword [rsp + 0x98], r14
lea r14, [rdi + 0x18]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x90], 0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x30], 4
movups xmmword [rsp + 0x50], xmm0
jbe 0x1400508fa
mov rcx, qword [rsi]
lea r9, [rsp + 0x90]
xor edx, edx
lea r8, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rbp, qword [rsp + 0x90]
mov r13d, eax
test eax, eax
jne 0x140050959
mov ecx, dword [rbp + 4]
cmp ecx, 2
jne 0x14005093a
mov rax, qword [rbp + 0x20]
mov byte [rbx + 3], 1
mov eax, dword [rax + 4]
mov dword [rbx + 4], eax
add rbx, 8
jmp 0x140050988
cmp ecx, 0x17
jne 0x140050955
mov rax, qword [rbp + 0x20]
mov byte [rbx + 3], 4
movups xmm0, xmmword [rax + 8]
movups xmmword [rbx + 4], xmm0
add rbx, 0x14
jmp 0x140050988
lea r14, [rdi + 0x18]
mov byte [rbx + 3], 3
movzx eax, byte [rdi + 0x18]
mov byte [rbx + 4], al
add rbx, 5
cmp qword [rsi + 0x18], 0xf
jbe 0x140050972
mov rsi, qword [rsi]
mov r8, qword [r14]
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
add rbx, qword [r14]
test r13d, r13d
jne 0x140050991
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
movzx eax, byte [rdi + 0x29]
lea r11, [rsp + 0x60]
mov r14, qword [rsp + 0x98]
mov rbp, qword [r11 + 0x48]
mov byte [rbx], al
inc rbx
movzx eax, byte [rdi + 0x28]
mov byte [rbx], al
sub rbx, r15
sub rbx, 0xf
mov qword [r15 + 8], 0
mov qword [r15], rbx
mov rbx, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140054300
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.140055d50
sub rsp, rax
mov rax, qword [0x14006e040]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov edi, 0x28
mov word [rsp + 0x30], bp
test al, al
je 0x14002a592
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1400498dc
cmp rax, 1
jne 0x14002a5ee
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14002a56f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14002a563
cmp rcx, 1
jb 0x14002a5ee
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14002a530
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14002a5c3
lea rcx, [rsp + 0x80]
call fcn.14004ae1c
jmp 0x14002a5c5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.14003aea0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14003e5d0
int3

Function at 0x14002a600
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14006e040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebp, ebp
lea rsi, str.NUITKA_PYTHONPATH
mov word [rsp + 0x30], bp
lea rbx, [rsp + 0x30]
mov edi, 0x28
mov al, 0x4e
nop dword [rax]
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1400498dc
cmp rax, 1
jne 0x14002a6e5
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x14002a68c
nop
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x14002a680
cmp rcx, 1
jb 0x14002a6e5
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14002a650
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14003aea0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14003e5d0
int3
Function at 0x140035f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp byte [0x14007301e], 0
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
jne 0x140035f83
mov edx, 3
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140072ff0], rax
mov ebx, dword [rax]
lea rdx, [rax + 4]
mov qword [0x140072ff0], rdx
mov r8d, dword [rdx]
add rdx, 4
mov qword [0x140072ff0], rdx
call fcn.140034300
cmp eax, ebx
jne 0x1400360ed
mov byte [0x14007301e], 1
lea rdx, [0x140060430]
mov rcx, rsi
call fcn.140055f10
test eax, eax
je 0x14003600e
cmp byte [0x14007301f], 1
je 0x14003600e
call qword [sym.imp.python311.dll_PyDict_New]
mov qword [0x140073bc8], rax
call qword [sym.imp.python311.dll_PyDict_New]
mov qword [0x140074090], rax
call qword [sym.imp.python311.dll_PyDict_New]
mov qword [0x1400738d8], rax
call qword [sym.imp.python311.dll_PyDict_New]
mov qword [0x140073838], rax
call qword [sym.imp.python311.dll_PyDict_New]
mov qword [0x1400740e8], rax
call qword [sym.imp.python311.dll_PyDict_New]
mov qword [0x140073978], rax
call qword [sym.imp.python311.dll_PyDict_New]
mov qword [0x140074098], rax
call qword [sym.imp.python311.dll_PyDict_New]
mov qword [0x1400740a8], rax
mov byte [0x14007301f], 1
mov r8, qword [0x140072ff0]
mov rax, rsi
mov rdx, r8
sub rdx, rsi
nop
movzx ecx, byte [rax]
xor r9d, r9d
cmp cl, byte [rax + rdx]
jne 0x140036037
inc rax
test cl, cl
jne 0x140036020
mov ecx, r9d
jmp 0x14003603c
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
cmp byte [r8 + rax + 1], r9b
lea rax, [rax + 1]
jne 0x140036043
lea rdx, [r8 + rax]
mov eax, dword [r8 + rax + 1]
add rdx, 5
test ecx, ecx
je 0x1400360a8
nop
add rdx, rax
mov rax, rsi
mov r8, rdx
sub r8, rsi
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x140036085
inc rax
test cl, cl
jne 0x140036070
mov ecx, r9d
jmp 0x14003608a
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r9b
jne 0x140036091
add rdx, rax
mov eax, dword [rdx + 1]
add rdx, 5
test ecx, ecx
jne 0x140036060
movzx ecx, word [rdx]
lea rax, [rdx + 2]
cmp r9w, cx
jae 0x1400360d8
mov ebx, ecx
nop word [rax + rax]
mov r8, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140035000
add rdi, 8
sub rbx, 1
jne 0x1400360c0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea rcx, str.Error__corrupted_constants_object
call fcn.14004640c
call fcn.14003e5d0
int3

Function at 0x14003b878
Capabilities:
Parse pe header

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