joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008eb8
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov rcx, rax
mov qword [rbx], rax
call fcn.140008e24
add rsp, 0x30
pop rbx
ret

Function at 0x140008fd0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x140028b88]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor edi, edi
cmp dword [rbx + 0x10], edi
je 0x14000902d
mov eax, dword [0x140028b90]
cmp dword [rbx + 0x10], eax
jne 0x140009024
mov rax, qword [rbx + 8]
mov rdx, qword [0x140028b88]
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140009020
add rax, 2
test r8d, r8d
jne 0x14000900a
test ecx, ecx
je 0x14000902d
mov rcx, qword [rbx + 8]
call fcn.140003e04
mov rax, qword [rbx + 8]
mov dword [rbx + 0x10], edi
mov rbx, qword [rsp + 0x30]
mov word [rax], di
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14000b610
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14000b686
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000b686
mov rbx, qword [rsi + 8]
mov rdx, qword [0x140028af0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
call fcn.140005e98
mov ecx, 0x2d
call fcn.140004a70
mov rcx, qword [rsi + 8]
mov edx, 0x4b2
mov rdi, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
call fcn.140005e98
jmp 0x14000b6a5
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x14000a7cc]
mov r9, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000bd40
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x510
mov rdi, rcx
mov rcx, qword [rcx + 8]
mov edx, 0x4b6
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400044cc
mov r11d, dword [rsp + 0x3c]
mov ebx, 1
sub r11d, dword [rsp + 0x34]
mov r8d, ebx
mov edx, 0x4b6
add r11d, 2
mov rcx, rdi
mov dword [rdi + 0x80], r11d
call fcn.140009abc
mov r8d, ebx
mov ebx, 0x4b7
mov rcx, rdi
mov edx, ebx
call fcn.140009abc
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x48]
xor edx, edx
mov r8d, 0x2b0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x300]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x300]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x103
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r11, qword [rsp + 0x40]
mov rcx, qword [rdi + 8]
mov edx, ebx
mov qword [rdi + 0x70], r11
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r8, [0x14000a474]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, rdi
mov qword [rdi + 0x78], rax
call fcn.14000b8c8
mov rcx, rdi
mov ebx, eax
call fcn.14000ac04
mov eax, ebx
mov rbx, qword [rsp + 0x520]
add rsp, 0x510
pop rdi
ret
Function at 0x14000fb50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
mov r10d, dword [r9]
xor esi, esi
mov r13, r9
and r10d, 7
mov r12d, r8d
mov rdi, rcx
mov r11d, esi
cmp rdx, 5
jae 0x14000fb8a
xor eax, eax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r13
pop r12
ret
mov qword [rsp + 0x20], rbp
mov ebp, dword [rsp + 0x38]
lea r9, [rcx + rdx - 4]
mov qword [rsp + 0x18], rbx
nop dword [rax]
lea rdx, [r11 + rdi]
cmp rdx, r9
jae 0x14000fbc1
nop dword [rax]
movzx eax, byte [rdx]
and al, 0xfe
cmp al, 0xe8
je 0x14000fbc1
inc rdx
cmp rdx, r9
jb 0x14000fbb0
mov rax, rdx
sub rax, r11
mov r11, rdx
sub r11, rdi
sub rax, rdi
cmp rdx, r9
jae 0x14000fcbc
cmp rax, 2
jbe 0x14000fc22
mov r10d, esi
movzx r8d, byte [rdx + 4]
lea eax, [r8 + 1]
test al, 0xfe
jne 0x14000fc4a
movzx eax, byte [rdx + 3]
shl r8d, 8
lea ebx, [r11 + r12 + 5]
or r8d, eax
movzx eax, byte [rdx + 2]
add r11, 5
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 1]
shl r8d, 8
or r8d, eax
test ebp, ebp
je 0x14000fc59
add r8d, ebx
jmp 0x14000fc5c
mov ecx, eax
shr r10d, cl
test r10d, r10d
je 0x14000fbe2
cmp r10d, 4
ja 0x14000fc4a
cmp r10d, 3
je 0x14000fc4a
mov eax, r10d
shr eax, 1
inc eax
movzx ecx, byte [rax + rdx]
inc ecx
test cl, 0xfe
jne 0x14000fbe2
or r10d, 8
shr r10d, 1
inc r11
jmp 0x14000fba0
sub r8d, ebx
test r10d, r10d
je 0x14000fc92
and r10d, 6
mov eax, r8d
shl r10d, 2
mov ecx, r10d
shr eax, cl
inc eax
test al, 0xfe
jne 0x14000fc8f
mov eax, 0x100
shl eax, cl
dec eax
xor r8d, eax
test ebp, ebp
je 0x14000fc8c
add r8d, ebx
jmp 0x14000fc8f
sub r8d, ebx
mov r10d, esi
mov eax, r8d
mov byte [rdx + 1], r8b
shr eax, 8
mov byte [rdx + 2], al
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
and r8b, 1
neg r8b
mov byte [rdx + 3], al
mov byte [rdx + 4], r8b
jmp 0x14000fba0
mov rbp, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
cmp rax, 2
ja 0x14000fcd4
mov ecx, eax
shr r10d, cl
mov esi, r10d
mov rdi, qword [rsp + 0x30]
mov dword [r13], esi
mov rsi, qword [rsp + 0x28]
mov rax, r11
pop r13
pop r12
ret

Function at 0x140014f50
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140014f80
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140014f80
xor al, al
jmp 0x140014f93
mov ecx, dword [rsp + 0x40]
mov rax, rbx
mov al, 1
shl rcx, 0x20
add rcx, rbx
mov qword [rdi], rcx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140015008
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
and dword [rsp + 0x58], 0
and qword [rsp + 0x20], 0
mov rbx, r9
lea r9, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret
mov eax, dword [0x1400289c0]
cmp r8d, eax
cmova r8d, eax
jmp 0x140015008
Function at 0x14001503c
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
and dword [rsp + 0x58], 0
and qword [rsp + 0x20], 0
mov rbx, r9
lea r9, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret
mov eax, dword [0x1400289c0]
cmp r8d, eax
cmova r8d, eax
jmp 0x140015008

Function at 0x140015070
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1400289c0]
mov rcx, qword [rcx]
mov rbx, r9
cmp r8d, eax
lea r9, [rsp + 0x50]
cmova r8d, eax
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x50]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x140015120
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call fcn.140014fa0
test al, al
jne 0x14001514a
xor al, al
jmp 0x14001515f
cmp qword [rsp + 0x40], rdi
jne 0x140015146
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001f970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
lea r10, [0x14002b160]
xor edx, edx
mov r8, r10
mov ecx, edx
mov eax, edx
inc edx
shr eax, 1
and ecx, 1
add r8, 4
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x14001f982
mov eax, 0x800
movsxd rcx, edx
cmp edx, eax
jae 0x14001fa70
sub eax, edx
lea r8, [r10 + rcx*4]
mov r9d, eax
nop word [rax + rax]
mov edx, dword [r8 - 0x400]
add r8, 4
movzx ecx, dl
shr edx, 8
mov eax, dword [r10 + rcx*4]
xor eax, edx
dec r9
mov dword [r8 - 4], eax
jne 0x14001fa50
lea rax, [0x14001fdd0]
lea rbx, [0x14001fce0]
mov qword [0x14002b140], rax
mov qword [0x14002d160], rax
mov qword [0x14002b138], rbx
call fcn.14001fba0
mov rcx, qword [0x14002d160]
test eax, eax
cmove rcx, rbx
mov qword [0x14002d160], rcx
add rsp, 0x20
pop rbx
ret
Function at 0x140020360
Capabilities:
Parse pe header
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x140000000], 0x5a4d
je 0x14002039d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x140000000]
jmp 0x14002042b
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x1400203c1
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14002042b
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x140020408
cmp ecx, 0x20b
je 0x1400203e0
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14002042b
cmp dword [rax + 0x84], 0xe
ja 0x1400203f4
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14002042b
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x14002042b
cmp dword [rax + 0x74], 0xe
ja 0x140020419
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14002042b
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x14002d168], 0xffffffffffffffff
mov qword [0x14002d170], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x14002b134]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x14002b130]
mov dword [rcx], eax
call fcn.140020780
cmp dword [0x140028a80], 0
jne 0x140020485
lea rcx, [fcn.140020780]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x140021838]
lea rcx, [0x140021830]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x14002b12c]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x14002b128]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x140021828]
lea rcx, [0x140021748]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x140020526
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x140020516
cmp al, 0x22
je 0x140020516
jmp 0x140020500
cmp byte [r8], 0x22
jne 0x140020536
inc r8
mov qword [rsp + 0x30], r8
jmp 0x140020536
cmp byte [r8], 0x20
jbe 0x140020536
inc r8
mov qword [rsp + 0x30], r8
jmp 0x140020526
movzx eax, byte [r8]
test al, al
je 0x14002054c
cmp al, 0x20
ja 0x14002054c
inc r8
mov qword [rsp + 0x30], r8
jmp 0x140020536
test byte [rsp + 0x8c], 1
je 0x140020561
movzx r9d, word [rsp + 0x90]
jmp 0x140020567
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.140008e04
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x140020583
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x1400205a7
mov eax, edi
jmp 0x1400205b0
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x140005560
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x258
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0x101
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
call fcn.140008160
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x258
ret
Function at 0x140006c10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x80], 0
jg 0x140006c44
xor eax, eax
jmp 0x140006df0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x140006c6c
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140007c40
jmp 0x140006df0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x70]
call fcn.140009530
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140006d08
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140006e10
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x70]
call fcn.140009750
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call fcn.14000a770
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.1400096b0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x140006de0
mov rcx, qword [rsp + 0x70]
call fcn.140008e10
mov qword [rsp + 0x38], 0xfff
cmp qword [rsp + 0x40], 0xfff
jbe 0x140006da8
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140049288
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140006da6
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140006df0
jmp 0x140006d2e
cmp qword [rsp + 0x40], 0
jbe 0x140006de0
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call fcn.140049288
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x68
ret
Function at 0x140008ec0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x140008efd
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140008f04
mov al, 1
jmp 0x14000904c
call fcn.14000a670
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rcx
mov edx, eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x48]
call qword [rax + 0x18]
mov dword [rsp + 0x38], eax
call fcn.14000a670
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.14000a6d0
movzx eax, al
test eax, eax
je 0x140008f55
xor al, al
jmp 0x14000904c
mov qword [rsp + 0x50], 0x20
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa0]
add rcx, 0x74
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x60]
mov rdx, rcx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x68]
call fcn.14000a8b0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140008fba
cmp dword [rsp + 0x30], 1
je 0x140008fc6
cmp dword [rsp + 0x30], 3
je 0x14000903a
jmp 0x14000904a
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x140009011
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.140048bcc
cmp qword [rsp + 0x40], rax
je 0x140009011
xor al, al
jmp 0x14000904c
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14000902b
mov dword [rsp + 0x34], 1
jmp 0x140009033
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14000904c
mov rax, qword [rsp + 0xa0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000904c
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140039d70
add rsp, 0x98
ret
Function at 0x140022e90
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rdx
add rcx, 0x130
xor edx, edx
call fcn.140022820
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x140022eeb
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp byte [rdi + 0x12b], 0
jne 0x140022f6b
lea rsi, vtable.std::ios_base.0
nop dword [rax + rax]
mov rcx, rbx
call fcn.1400252d0
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14002d5c0
nop
mov rax, qword [rbx]
lea rdx, [rsp + 0xd8]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x140022f41
lea rcx, [rsp + 0xf0]
call fcn.14002d880
nop
mov qword [rsp + 0xf0], rsi
lea rcx, [rsp + 0xf0]
call fcn.14000f6e8
nop
cmp dword [rbx + 0x48], 0x64
je 0x140022f00
cmp byte [rdi + 0x30], 0
je 0x140022f81
mov rcx, rbx
call fcn.140024100
test al, al
jne 0x140022f81
mov al, 1
jmp 0x140022f83
xor al, al
mov byte [rdi + 0x129], al
cmp byte [rdi + 0x12a], 0
je 0x140023085
mov eax, dword [rbx + 0x48]
cmp eax, 0xc8
jl 0x140023085
cmp eax, 0xcc
je 0x140023085
cmp eax, 0x130
je 0x140023085
mov rcx, rbx
call fcn.140024090
test al, al
je 0x140022fff
mov ecx, 0x138
call fcn.14002f1f0
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140022fef
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call fcn.14002ef10
xor ecx, ecx
jmp 0x140022ff3
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0xc0]
jmp 0x1400230bc
lea rdx, [0x1400dfd60]
mov rcx, rbx
call fcn.140025740
test al, al
je 0x14002304f
mov ecx, 0x118
call fcn.14002e9e0
mov rsi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140023049
mov rcx, rbx
call fcn.1400240c0
mov r8, rax
mov r9d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.14002e790
xor ecx, ecx
jmp 0x14002304d
xor ecx, ecx
mov eax, ecx
jmp 0x1400230b5
mov ecx, pe_nt_image_headers64
call fcn.14002e330
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140023078
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call fcn.14002e0c0
xor ecx, ecx
jmp 0x14002307c
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0x98]
jmp 0x1400230bc
mov ecx, 0x118
call fcn.14002e9e0
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400230b1
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.14002e790
xor ecx, ecx
jmp 0x1400230b5
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0xa0]
test rax, rax
cmove rdx, rcx
mov rcx, qword [rsp + 0x30]
add rcx, 0x140
call fcn.140022820
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x148]
test rax, rax
je 0x14002310a
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140039d70
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.140015460
lea rdx, [0x1400dc9b0]
lea rcx, [rsp + 0x150]
call fcn.14003bc64
int3
Function at 0x140030230
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e0168]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor ebx, ebx
cmp qword [rdx + 0x10], rbx
je 0x140030318
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x30], 4
cmp qword [rdx + 0x18], 0x10
jb 0x14003028c
mov rax, qword [rdx]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140030318
mov rax, qword [rsp + 0x20]
mov rdi, qword [rax + 0x20]
mov ebx, dword [rdi + 0x18]
lea rcx, [rsp + 0x60]
call fcn.140067360
lea rbp, vtable.Poco::Net::Impl::IPv6AddressImpl.0
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x80], ebx
movups xmm0, xmmword [rdi + 8]
movups xmmword [rsp + 0x70], xmm0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, rsi
call fcn.140067360
mov qword [rsi], rbp
mov ecx, dword [rsp + 0x80]
mov dword [rsi + 0x20], ecx
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm0
lea rax, vtable.Poco::Net::Impl::IPAddressImpl.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140067390
jmp 0x140030334
mov rcx, rsi
call fcn.140067360
lea rbp, vtable.Poco::Net::Impl::IPv6AddressImpl.0
mov qword [rsi], rbp
mov dword [rsi + 0x20], ebx
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
mov rax, rsi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140039d70
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400322a0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], rcx
xorps xmm0, xmm0
cmp qword [rdx + 0x18], 0x10
mov rdi, rcx
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x30], r8d
mov rbx, rdx
movups xmmword [rsp + 0x40], xmm0
mov rcx, rdx
movups xmmword [rsp + 0x50], xmm0
jb 0x1400322d9
mov rcx, qword [rdx]
lea r9, [rsp + 0x20]
xor edx, edx
lea r8, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140032318
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140031c30
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rbx, qword [rsp + 0x88]
mov rax, rdi
add rsp, 0x60
pop rdi
ret
mov rdx, rbx
mov ecx, eax
call fcn.140031e10
int3