joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003ede4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14003ee14
xor eax, eax
jmp 0x14003eed7
mov rbp, rbx
cmp word [rax], si
je 0x14003ee39
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003ee20
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003ee1c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14003ed04
movsxd r14, eax
test eax, eax
jne 0x14003ee77
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003ee0d
mov rcx, r14
call fcn.140039328
mov rdi, rax
test rax, rax
jne 0x14003ee90
xor ecx, ecx
call fcn.1400392ec
jmp 0x14003ee6c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14003ed04
test eax, eax
jne 0x14003eec1
mov rcx, rdi
call fcn.1400392ec
jmp 0x14003eecb
xor ecx, ecx
call fcn.1400392ec
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14003eef4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14003ef7b
mov rsi, rbx
cmp word [rax], bp
je 0x14003ef3a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003ef24
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003ef20
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140039328
mov rdi, rax
test rax, rax
je 0x14003ef68
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140046ae0
mov rbp, rdi
xor ecx, ecx
call fcn.1400392ec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140044a14
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400322cc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140044a9e
cmp byte [rbp - 0x21], r15b
je 0x140044a99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140044ad4
call fcn.14003baa0
test eax, eax
jne 0x140044ac0
cmp byte [rbp - 0x21], r15b
je 0x140044ab8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140044ad4
cmp byte [rbp - 0x21], r15b
je 0x140044ad1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14003d1bc
test eax, eax
jne 0x140044b74
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400322cc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140044b13
cmp byte [rbp - 0x21], r15b
je 0x140044b48
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140044b48
call fcn.14003baa0
test eax, eax
jne 0x140044b34
cmp byte [rbp - 0x21], r15b
je 0x140044b2d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140044b48
cmp byte [rbp - 0x21], r15b
je 0x140044b45
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14003d1bc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140044b74
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140044b77
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140044b85
mov rcx, rdi
call fcn.1400392ec
cmp byte [rbp + 0x3f], r15b
je 0x140044b94
mov rcx, qword [rbp + 0x27]
call fcn.1400392ec
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140046590
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400465b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400465b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000191c
Capabilities:
Parse pe header

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

Function at 0x140005990
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400057bc

Function at 0x1400123c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400123e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400123e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011778
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a8
mov rax, qword [0x1404e8f18]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov eax, 0x88
movsxd r13, r9d
mov qword [rsp + 0x20], r8
mov ebp, edx
mov r12, rcx
mov esi, 0x64
sub esi, r13d
lea rcx, [rsp + 0x30]
lea r8d, [rax + 0x40]
add esi, esi
cmp r13d, r8d
cmove esi, eax
xor edx, edx
call fcn.140337660
mov eax, esi
movsxd r14, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r15, eax
xor edi, edi
cmp ebp, esi
jl 0x140011816
mov rcx, rdi
test r15, r15
jle 0x140011800
mov rax, qword [r12 + rcx*8]
xor qword [rsp + rcx*8 + 0x30], rax
inc rcx
cmp rcx, r15
jl 0x1400117ef
mov edx, 0x18
lea rcx, [rsp + 0x30]
call fcn.1400118b8
sub ebp, esi
add r12, r14
jmp 0x1400117e3
movsxd rbx, ebp
lea rcx, [rsp + 0x100]
mov r8, rbx
mov rdx, r12
call fcn.140336c00
inc ebp
mov byte [rsp + rbx + 0x100], 1
movsxd rax, ebp
lea rcx, [rsp + 0x100]
sub esi, ebp
add rcx, rax
movsxd r8, esi
xor edx, edx
call fcn.140337660
or byte [rsp + r14 + 0xff], 0x80
test r15, r15
jle 0x140011873
mov rax, qword [rsp + rdi*8 + 0x100]
xor qword [rsp + rdi*8 + 0x30], rax
inc rdi
cmp rdi, r15
jl 0x14001185e
mov edx, 0x18
lea rcx, [rsp + 0x30]
call fcn.1400118b8
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r8, r13
call fcn.140336c00
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1403358f0
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400165f8
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140016785
cmp ecx, 0x7c
je 0x140016785
cmp ecx, 0x29
jne 0x140016672
cmp dword [rdi + 0x1c], 0
jne 0x140016785
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
je 0x14001679e
cmp ecx, 0x5d
jne 0x14001664f
test dword [rbx], 0x10000000
je 0x1400167ac
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.140015bf4
mov rcx, rdi
call fcn.140018c68
mov rcx, rdi
call fcn.140018cdc
mov ecx, dword [rdi + 0x7c]
mov al, 1
jmp 0x14001660a
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x140016689
lea rcx, [rdi + 0x40]
call fcn.140015e78
jmp 0x14001665b
cmp ecx, 0x5c
jne 0x1400166d7
mov rcx, rdi
call fcn.140018c68
test byte [rbx], 0x80
je 0x1400166cd
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x1400166b5
lea rcx, [rdi + 0x40]
call fcn.1400165ec
mov rcx, rdi
call fcn.140018c68
jmp 0x14001666b
cmp al, 0x42
jne 0x1400166cd
lea rcx, [rdi + 0x40]
call fcn.1400165ec
lea rcx, [rdi + 0x40]
call fcn.140018c04
jmp 0x1400166ab
mov rcx, rdi
call fcn.1400167c8
jmp 0x140016663
cmp ecx, 0x5b
jne 0x140016702
mov rcx, rdi
call fcn.140018c68
mov rcx, rdi
call fcn.140016e4c
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.140018054
jmp 0x140016663
cmp ecx, 0x28
jne 0x140016737
mov rcx, rdi
call fcn.140018c68
mov rcx, rdi
call fcn.140019310
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.140018054
test bl, bl
je 0x14001666b
jmp 0x140016663
cmp ecx, 0x5e
jne 0x14001674a
lea rcx, [rdi + 0x40]
call fcn.140015be8
jmp 0x1400166ab
cmp ecx, 0x24
jne 0x14001675d
lea rcx, [rdi + 0x40]
call fcn.140015f78
jmp 0x1400166ab
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400167ba
cmp ecx, 0x3f
je 0x1400167ba
cmp ecx, 0x7b
je 0x1400167ba
cmp ecx, 0x7d
jne 0x14001663e
test dword [rbx], 0x10000000
je 0x140016790
jmp 0x14001664f
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 6
mov rcx, rdi
call fcn.140018048
int3
mov edx, 5
mov rcx, rdi
call fcn.140018048
int3
mov edx, 4
mov rcx, rdi
call fcn.140018048
int3
mov edx, 0xa
mov rcx, rdi
call fcn.140018048
int3

Function at 0x14001a514
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1404e8f18]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x100
call fcn.140337660
mov edx, 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x14001a56c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004039c
jmp 0x14001a57b
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx], 0
and qword [rbx + 8], 0
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1403358f0
add rsp, 0x140
pop rbx
ret
Function at 0x14004a30c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
call fcn.140021134
mov r14d, 0xa8
lea rdi, [r14 + rax]
cmp byte [rdi], 0
je 0x14004a45f
mov ecx, 0x20
call fcn.14033576c
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14004a362
lea rdx, [rbx + 0x18]
mov rcx, rax
call fcn.14017d020
mov rsi, rax
jmp 0x14004a364
xor esi, esi
mov qword [rbx + 0x38], rsi
mov rcx, qword [rbx + 0x10]
call fcn.140021134
lea rdx, [rax + 0x148]
mov rcx, rsi
call fcn.14017d194
movzx ebp, al
mov rcx, r14
call fcn.14033576c
mov qword [rsp + 0x50], rax
lea r14, [rdi + 8]
test rax, rax
je 0x14004a3ae
mov r9, qword [rbx + 0x38]
movzx r8d, word [rdi + 0x28]
mov rdx, r14
mov rcx, rax
call fcn.140054180
nop
mov qword [rbx + 0x28], rax
mov rcx, rax
call fcn.1400542b4
mov esi, eax
mov ecx, eax
test eax, eax
jns 0x14004a3cd
call fcn.1402aaf40
movzx ecx, word [rdi + 0x28]
jmp 0x14004a3d4
lea rax, [0x140370c0d]
xor ebp, 1
lea r8d, [rbp*4 + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, qword [r14]
lea rdx, str.HTTP_API
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1__dm_s:_d_e_1_31m_se_0m
call fcn.140020bc8
test esi, esi
jns 0x14004a40e
mov rcx, rbx
call fcn.14004a474
xor al, al
jmp 0x14004a461
mov word [rbx + 0x30], si
mov edx, 1
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14004a45f
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004a45f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x1404ef5c0], rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov qword [0x1404ef5c8], rcx
mov al, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14006b8e8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14006b916
xor eax, eax
jmp 0x14006b9fc
cmp qword [rcx + 0x68], 0
je 0x14006b927
call fcn.14002f8e8
jmp 0x14006b9fc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14006b93e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006b940
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006b972
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140336c00
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14006b9f6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14006b9a9
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14006b9d2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140346c68
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14006b9f6
cmp rsi, rbx
ja 0x14006b9b0
test rsi, rsi
je 0x14006b9f6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140346c68
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140077a68
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1404e8f18]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov rbx, rcx
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
test eax, eax
je 0x140077ad5
and qword [rbx + 0x10], 0
lea rax, [rsp + 0x30]
and qword [rbx + 0x18], 0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140077abc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140003aa8
jmp 0x140077afa
mov r8d, 1
mov qword [rbx + 0x18], 0xf
lea rdx, [0x14037fe6c]
mov qword [rbx + 0x10], r8
mov rcx, rbx
call fcn.140336c00
mov byte [rbx + 1], 0
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1403358f0
add rsp, 0x150
pop rbx
ret
Function at 0x14007ce7c
Capabilities:
Hash data using murmur3

Disassembly:
mov r8d, dword [rcx]
mov r10, rcx
movzx eax, r8w
imul r11d, eax, 0x9069
shr r8d, 0x10
add r11d, r8d
mov r8d, dword [rcx + 4]
mov dword [rcx], r11d
movzx eax, r8w
imul r9d, eax, 0x4650
mov eax, dword [rcx + 8]
shl eax, 0x11
xor eax, dword [rcx + 8]
shr r8d, 0x10
add r9d, r8d
shl r11d, 0x10
mov dword [rcx + 4], r9d
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
mov edx, ecx
lea eax, [r9 + r11]
shl edx, 5
xor edx, ecx
imul ecx, dword [r10 + 0xc], 0x10dcd
mov dword [r10 + 8], edx
add ecx, 0x12d687
xor eax, ecx
mov dword [r10 + 0xc], ecx
add eax, edx
ret
Function at 0x140087180
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1404e8f18]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rcx, qword [0x1404f0060]
lea rdx, [0x1404f0070]
test rcx, rcx
jne 0x1400871f6
lea rcx, str.nvml.dll
call fcn.1402ba240
test eax, eax
jne 0x1400871c0
mov al, 1
jmp 0x140087200
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.140337660
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, str._PROGRAMFILES_NVIDIA_CorporationNVSMI_nvml.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rdx, [0x1404f0070]
lea rcx, [rsp + 0x20]
call fcn.1402ba240
test eax, eax
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1403358f0
add rsp, 0x148
ret
Function at 0x14008d028
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov ecx, dword [r15]
mov r9, rsi
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rbp
mov rdx, r14
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14008d07d
call fcn.14033cf48
cmp dword [rax], 4
je 0x14008d053
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14008d09c
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x14008d0e7
call fcn.14033cf48
cmp dword [rax], 4
je 0x14008d0c4
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rdi, qword [rcx + 0x18]
mov rsi, qword [rcx + 0x10]
mov r14, qword [rcx + 8]
mov r15, qword [rcx]
mov r9d, dword [rdi]
mov r8d, dword [rsi]
mov rdx, qword [r14]
mov rcx, qword [r15]
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
test eax, eax
jns 0x14008d153
call fcn.14033cf48
cmp dword [rax], 4
je 0x14008d130
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x14008d174
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
mov r8, rsi
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14008d1bd
call fcn.14033cf48
cmp dword [rax], 4
je 0x14008d194
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x14008d1d8
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rcx + 8]
mov r14, qword [rcx]
mov ecx, dword [r14]
xor r9d, r9d
inc ecx
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14008d222
call fcn.14033cf48
cmp dword [rax], 4
je 0x14008d1f8
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14008e82c
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r15, r9
mov rcx, r8
mov rsi, r8
mov rdi, rdx
call fcn.140334238
test eax, eax
jne 0x14008e9a4
lea rbx, [rsi + 0x4c]
mov eax, dword [rbx]
cmp eax, 0x7fffffff
je 0x14008e995
mov rcx, rdi
call fcn.140180fe0
mov rcx, rsi
mov rdi, rax
call fcn.14033425c
test rdi, rdi
je 0x14008e930
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 1
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, ebp
call fcn.1401c2e00
xor r9d, r9d
mov rcx, rax
mov r14, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call fcn.1401c0dc0
mov r8, r14
mov rdx, r14
mov rcx, rdi
call fcn.140181850
mov r9, qword [rsp + 0x60]
add r9, 8
cmp qword [r9 + 0x18], 0x10
jb 0x14008e8e8
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x37]
call fcn.140180110
mov rdx, rdi
mov rcx, r15
call fcn.140093444
cmp al, 1
jne 0x14008e94c
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x66]
call fcn.1401c0dc0
and dword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov rcx, rdi
call fcn.140181bb0
mov rcx, rsi
call fcn.140334238
test eax, eax
jne 0x14008e9a4
mov eax, dword [rbx]
cmp eax, 0x7fffffff
je 0x14008e995
mov rcx, rdi
call fcn.1401805c0
mov rcx, rsi
call fcn.14033425c
and dword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
jmp 0x14008e933
dec eax
mov ecx, 6
mov dword [rbx], eax
call fcn.1403343ac
int3
mov ecx, 5
call fcn.1403343ac
int3
Function at 0x1400939b4
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rsi, rdx
mov dword [rax + 8], 1
mov rbx, r8
mov rdi, rcx
mov rcx, rsi
lea r8, [rax + 8]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r8d, dword [rbx + 0x10]
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x140093a45
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140093a1e
mov rax, qword [rdi + 8]
mov dword [rax], 2
xor al, al
jmp 0x140093b09
mov r8, qword [rdi + 0x18]
mov rcx, rsi
mov rdx, qword [rdi + 0x10]
mov r8, qword [r8]
mov rdx, qword [rdx]
call fcn.1400a4154
mov ecx, eax
mov rax, qword [rdi + 8]
mov dword [rax], ecx
mov rax, qword [rdi + 8]
cmp dword [rax], 0
jne 0x140093a17
and dword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, qword [rdi + 0x28]
lea r9, [rsp + 0x40]
movabs r14, 0x20c49ba5e353f7cf
mov dword [rsp + 0x20], 4
mov ebx, 0xffff
mov r8d, 0x1006
mov rcx, qword [rax]
mov rax, r14
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rdi + 0x20]
imul ecx, dword [rax], 0x3e8
add edx, ecx
mov rcx, rsi
mov dword [rsp + 0x40], edx
mov edx, ebx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rdi + 0x38]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov rcx, qword [rax]
mov rax, r14
imul rcx
sar rdx, 7
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
mov rcx, qword [rdi + 0x30]
imul r8d, dword [rcx], 0x3e8
mov rcx, rsi
add edx, r8d
mov r8d, 0x1005
mov dword [rsp + 0x40], edx
mov edx, ebx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 8]
mov al, 1
and dword [rcx], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret