joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010c0a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1010c720
lea eax, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 5
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
add eax, 0x30
mov dword [ebp - 0x24], eax
push eax
call fcn.1000a630
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1010c105
shl eax, 3
push 4
push eax
push dword [esi + 0x34]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1010c123
lock dec dword [eax]
jne 0x1010c123
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
lea ecx, [eax + 0x64]
call fcn.10007410
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x1010c16a
mov edi, dword [ebp - 0x20]
push dword [edi + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
mov esi, edi
jne 0x1010c14c
lea eax, [esi + 0x68]
push eax
call fcn.100069c0
add esp, 4
mov eax, dword [esi + 0x6c]
lock dec dword [eax]
jne 0x1010c16a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
add eax, 0x6c
push eax
call fcn.1010c370
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.1010d8e0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x1010c1a0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x10], 1
call fcn.10006b10
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1010c1cd
lock dec dword [eax]
jne 0x1010c1cd
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x84]
mov dword [ebp - 0x10], 0
call fcn.10006b10
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x1010c1f7
lock dec dword [eax]
jne 0x1010c1f7
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov dword [ebp - 0x10], 0xffffffff
call fcn.10006b10
cmp esi, 0xffffffff
je 0x1010c212
lock dec dword [esi + 4]
jne 0x1010c212
push 8
push 0xa8
push esi
call fcn.10013460
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10126850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x64
mov esi, dword [esp + 0x78]
mov edi, esp
mov dword [esp], 0
mov dword [esp + 4], 0
mov ebx, dword [esi + 0x38]
push ebx
push edi
call fcn.10119ab0
add esp, 8
test al, 1
jne 0x10126a09
add ebx, dword [esp + 4]
jo 0x1012688a
mov dword [esp + 4], ebx
mov eax, dword [0x1027132c]
mov eax, dword [eax]
test eax, eax
je 0x10126914
mov eax, dword [esp + 0x74]
movsd xmm1, qword [esp + 0x18]
movsd xmm0, qword [esp + 0x10]
movsd xmm3, qword [esp + 0x10]
mov ecx, dword [esi + 0x28]
movsd xmm2, qword [esp + 0x10]
mov dword [eax], 0
movsd qword [eax + 0xc], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [eax + 4], xmm0
mov dword [eax + 0x14], 0
movsd qword [eax + 0x18], xmm3
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [esp + 0x18]
mov dword [eax + 0x28], 0
movsd qword [eax + 0x2c], xmm2
movsd qword [eax + 0x34], xmm1
movsd xmm1, qword [esp]
movsd qword [eax + 0x48], xmm1
mov dword [eax + 0x50], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x54], ecx
add esp, 0x64
pop esi
pop edi
pop ebx
ret
movzx eax, byte [0x10270a7c]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x101269e7
movzx eax, al
push eax
push dword [0x10270a74]
call fcn.101498b0
add esp, 8
test al, al
je 0x10126895
mov eax, dword [0x10270a74]
cmp dword [eax + 0x20], 0
je 0x10126a28
lea edx, [esp + 8]
movsd xmm0, qword [eax + 0x1c]
movsd xmm1, qword [eax + 0x24]
mov dword [esp + 0x2c], 0x101fce34
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x10129d70
mov dword [esp + 0x34], edx
lea edx, [esp + 0x50]
mov dword [esp + 0x38], 1
mov dword [esp + 0x20], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x24], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x28], 0x101fce3c
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x44]
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
push ecx
push eax
call fcn.1014a4e0
add esp, 8
jmp 0x10126895
test ecx, ecx
je 0x10126895
push 0x10270a74
call fcn.101c9b80
add esp, 4
test al, al
jne 0x1012692a
jmp 0x10126895
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
push 0x101fcdd8
push 0x101fcb58
push eax
push 0x1b
push str.invalid_initial_window_sizeC:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcproto_streamsprioritize.rs
call fcn.101cc840
push 0x101fce0c
push 0x22
push 0x101fcde8
call fcn.101cc4e0
int3
Function at 0x1013c590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov ebp, dword [esp + 0x70]
cmp dword [ebp + 8], 1
je 0x1013c79e
mov ebx, dword [esp + 0x7c]
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
lea edx, [esp + 4]
movzx ecx, byte [ebx + 0x2c]
movzx eax, al
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
push eax
push edi
push ecx
push edx
call fcn.101192f0
add esp, 0x10
cmp byte [esp + 4], 3
jne 0x1013c60c
test byte [ebp], 1
je 0x1013c636
mov word [esi], 0x101
mov dword [esi + 4], 1
mov dword [esi + 8], 0x10205cd8
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jmp 0x1013c62c
movsd xmm0, qword [esp + 0x14]
movsd xmm2, qword [esp + 4]
movsd xmm1, qword [esp + 0xc]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm2
mov eax, esi
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 4]
cmp eax, edi
mov dword [esp], eax
jbe 0x1013c741
mov eax, dword [0x1027132c]
mov eax, dword [eax]
cmp eax, 2
jae 0x1013c5e2
movzx eax, byte [0x10271118]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1013c77c
movzx eax, al
push eax
push dword [0x10271110]
call fcn.101498b0
add esp, 8
test al, al
je 0x1013c5e2
mov eax, dword [0x10271110]
cmp dword [eax + 0x20], 0
je 0x1013c7af
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x1013c7af
lea edi, [eax + 0x20]
mov dword [esp + 0x1c], edx
lea ebx, [esp + 0x74]
movsd xmm0, qword [edi]
movsd qword [esp + 0x20], xmm0
mov edx, dword [edi + 8]
mov edi, esp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x10142b90
lea ebx, [esp + 0x48]
mov dword [esp + 4], 0x10205e64
mov dword [esp + 8], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x50], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 4]
mov dword [esp + 0x54], 0x10142b90
mov dword [esp + 0x10], 2
mov dword [esp + 0x30], edi
lea edi, [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x10205e7c
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0
push ecx
push eax
call fcn.1014a4e0
add esp, 8
jmp 0x1013c5e2
lea eax, [edi + 2]
mov ecx, eax
shr ecx, 0x1f
mov dword [ebp], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp + 4], eax
cmp ecx, dword [ebx + 0x14]
jbe 0x1013c763
mov dword [esi + 4], 1
mov dword [esi + 8], edi
jmp 0x1013c774
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], edi
mov dword [esi + 4], 0
mov byte [esi], 3
jmp 0x1013c62c
test ecx, ecx
je 0x1013c5e2
push 0x10271110
call fcn.101c9b80
add esp, 4
test al, al
jne 0x1013c666
jmp 0x1013c5e2
push 0x10205de8
push 0x28
push 0x10205dc0
call fcn.101cc600
push 0x10205e1c
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cc4e0
Function at 0x1014f110
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
nop word cs:[eax + eax]
mov edx, eax
xor edx, 3
lock cmpxchg dword [ecx], edx
jne 0x1014f120
test al, 1
je 0x1014f137
test al, 2
jne 0x1014f148
xor eax, 3
ret
push 0x1020afd8
push 0x23
push str.assertion_failed:_prev.is_running__
call fcn.101cc600
push 0x1020b010
push 0x25
push 0x1020afe8
call fcn.101cc600
int3
Function at 0x1015a0f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1015a690
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov dword [ebp - 0x10], 5
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
add eax, 0x30
mov dword [ebp - 0x24], eax
push eax
call fcn.10161540
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1015a159
shl eax, 3
push 4
push eax
push dword [esi + 0x34]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1015a17b
lock dec dword [eax]
jne 0x1015a17b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
add eax, 0x64
push eax
call fcn.10159ff0
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x1015a1c2
mov edi, dword [ebp - 0x20]
push dword [edi + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
mov esi, edi
jne 0x1015a1a4
lea eax, [esi + 0x68]
push eax
call fcn.100069c0
add esp, 4
mov eax, dword [esi + 0x6c]
lock dec dword [eax]
jne 0x1015a1c2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
add eax, 0x6c
push eax
call fcn.10159eb0
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.10161fd0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x1015a1f9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 1
add eax, 0x20
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1015a223
lock dec dword [eax]
jne 0x1015a223
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
add eax, 0x80
push eax
call fcn.100077c0
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x1015a24b
lock dec dword [eax]
jne 0x1015a24b
lea eax, [esi + 0x88]
mov dword [ebp - 0x10], 0xffffffff
push eax
call fcn.100077c0
add esp, 4
cmp esi, 0xffffffff
je 0x1015a266
lock dec dword [esi + 4]
jne 0x1015a266
push 8
push 0xa8
push esi
call fcn.10013460
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1015e8a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10160e70
mov dword [ebp - 0x20], ecx
add ecx, 0x30
lea eax, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 6
push ecx
call fcn.10161540
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1015e903
shl eax, 3
push 4
push eax
push dword [esi + 0x34]
call fcn.10013460
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1015e925
lock dec dword [eax]
jne 0x1015e925
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 5
add eax, 0x64
push eax
call fcn.10159ff0
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x1015e977
mov eax, dword [ebp - 0x20]
push dword [eax + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
jne 0x1015e956
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
add eax, 0x68
push eax
call fcn.100069c0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x6c]
lock dec dword [eax]
jne 0x1015e977
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
add eax, 0x6c
push eax
call fcn.10159eb0
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.10161fd0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x1015e9ae
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 1
add eax, 0x20
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1015e9d8
lock dec dword [eax]
jne 0x1015e9d8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
add eax, 0x80
push eax
call fcn.100077c0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x88]
test eax, eax
je 0x1015ea00
lock dec dword [eax]
jne 0x1015ea00
add ecx, 0x88
mov dword [ebp - 0x10], 0xffffffff
push ecx
call fcn.100077c0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101627b0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test byte [edx], 1
je 0x10162835
movsd xmm0, qword [edx + 4]
movsd xmm1, qword [edx + 0xc]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x18]
movzx edx, word [edx + 0x1c]
mov di, 0x17
movsd qword [eax + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax + 0x10], xmm1
mov dword [eax + 0x7c], 0
rol dx, 8
movsd qword [eax + 0x74], xmm0
movsd qword [eax + 0x6c], xmm0
movsd qword [eax + 0x64], xmm0
movsd qword [eax + 0x5c], xmm0
movsd qword [eax + 0x54], xmm0
movsd qword [eax + 0x4c], xmm0
movsd qword [eax + 0x44], xmm0
movsd qword [eax + 0x3c], xmm0
movsd qword [eax + 0x34], xmm0
movsd qword [eax + 0x2c], xmm0
movsd qword [eax + 0x24], xmm0
movsd qword [eax + 0x1c], xmm0
mov dword [eax + 0x18], esi
mov esi, 0x1c
jmp 0x10162897
mov ecx, dword [edx + 2]
movzx edx, word [edx + 6]
xorps xmm0, xmm0
mov esi, 0x10
mov di, 2
movsd qword [eax + 0x78], xmm0
movsd qword [eax + 0x70], xmm0
movsd qword [eax + 0x68], xmm0
movsd qword [eax + 0x60], xmm0
movsd qword [eax + 0x58], xmm0
movsd qword [eax + 0x50], xmm0
movsd qword [eax + 0x48], xmm0
movsd qword [eax + 0x40], xmm0
movsd qword [eax + 0x38], xmm0
movsd qword [eax + 0x30], xmm0
movsd qword [eax + 0x28], xmm0
movsd qword [eax + 0x20], xmm0
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 0x10], xmm0
movsd qword [eax + 8], xmm0
rol dx, 8
mov word [eax], di
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 0x80], esi
pop esi
pop edi
ret

Function at 0x101629e0
Capabilities:
Set socket configuration

Disassembly:
push esi
push eax
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp], ecx
mov ecx, esp
push ecx
push 0x8004667e
push eax
call dword [sym.imp.ws2_32.dll_ioctlsocket]
mov cl, 4
cmp eax, 0xffffffff
jne 0x10162a14
call fcn.101a29e0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret

Function at 0x10162a20
Capabilities:
Set socket configuration

Disassembly:
push esi
push eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [esp], eax
mov eax, esp
push 4
push eax
push 0x1002
push 0xffff
push ecx
call dword [sym.imp.ws2_32.dll_setsockopt]
mov cl, 4
cmp eax, 0xffffffff
jne 0x10162a5a
call fcn.101a29e0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret

Function at 0x10162a70
Capabilities:
Set socket configuration

Disassembly:
push esi
push eax
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp], ecx
mov ecx, esp
push 4
push ecx
push 4
push 0xffff
push eax
call dword [sym.imp.ws2_32.dll_setsockopt]
mov cl, 4
cmp eax, 0xffffffff
jne 0x10162aa8
call fcn.101a29e0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret
Function at 0x10162ac0
Capabilities:
Set socket configuration

Disassembly:
push esi
push eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [esp], eax
mov eax, esp
push 4
push eax
push 0x1001
push 0xffff
push ecx
call dword [sym.imp.ws2_32.dll_setsockopt]
mov cl, 4
cmp eax, 0xffffffff
jne 0x10162afa
call fcn.101a29e0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret

Function at 0x10162b10
Capabilities:
Set socket configuration

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], 1
mov edi, dword [eax]
lea eax, [esp + 8]
push 4
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x10162c5e
mov ecx, dword [esp + 0x34]
xor ebp, ebp
mov esi, 0
mov dword [esp + 4], edi
mov ebx, dword [ecx + 8]
cmp ebx, 0x3b9aca00
je 0x10162bb3
mov eax, 0x3e8
mul dword [ecx]
mov dword [esp], eax
mov eax, 0x3e8
mov esi, edx
mul dword [ecx + 4]
mov edi, eax
mov ecx, edx
mov edx, 0x431bde83
mov eax, ebx
add edi, esi
mov esi, 0xffffffff
adc ecx, 0
mul edx
shr edx, 0x12
add edx, dword [esp]
adc edi, 0
adc ecx, 0
setb al
xor ebx, ebx
neg edi
mov edi, dword [esp + 4]
sbb ebx, ebx
movzx eax, al
or ebx, edx
or eax, ecx
mov ecx, dword [esp + 0x34]
cmove esi, ebx
mov ebx, dword [ecx + 0x18]
cmp ebx, 0x3b9aca00
je 0x10162c0d
mov eax, 0x3e8
mul dword [ecx + 0x10]
mov dword [esp], eax
mov eax, 0x3e8
mov ebp, edx
mul dword [ecx + 0x14]
mov edi, eax
mov ecx, edx
mov edx, 0x431bde83
mov eax, ebx
add edi, ebp
mov ebp, 0xffffffff
adc ecx, 0
mul edx
shr edx, 0x12
add edx, dword [esp]
adc edi, 0
adc ecx, 0
setb al
xor ebx, ebx
neg edi
mov edi, dword [esp + 4]
sbb ebx, ebx
movzx eax, al
or ebx, edx
or eax, ecx
cmove ebp, ebx
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push 0
push 0
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x20]
push eax
push 0x98000004
push edi
call dword [sym.imp.ws2_32.dll_WSAIoctl]
mov esi, dword [esp + 0x2c]
mov cl, 4
cmp eax, 0xffffffff
jne 0x10162c5a
call fcn.101a29e0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
jmp 0x10162c6c
call fcn.101a29e0
mov dword [esi + 4], eax
mov dword [esi], 0
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101734d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, 2
test edx, edx
je 0x1017350a
cmp edx, 1
jne 0x1017350f
xor esi, esi
nop word cs:[eax + eax]
cmp edx, esi
je 0x10173590
movzx ebx, byte [ecx + esi]
inc esi
add bl, 0xd0
cmp bl, 0xa
jb 0x101734f0
jmp 0x1017359c
jmp 0x101735c7
cmp word [ecx], 0x7830
je 0x10173553
cmp word [ecx], 0x5830
je 0x10173553
cmp byte [ecx], 0x30
jne 0x101734e4
cmp byte [ecx + 1], 0xbf
jle 0x101735dd
inc ecx
lea esi, [edx - 1]
dec edx
mov edi, ecx
nop word cs:[eax + eax]
nop dword [eax]
test edx, edx
je 0x101735a7
movzx ebx, byte [edi]
inc edi
dec edx
and bl, 0xf8
cmp bl, 0x30
je 0x10173540
jmp 0x1017359c
cmp edx, 3
jb 0x10173597
cmp byte [ecx + 2], 0xbf
jle 0x101735ce
add ecx, 2
lea esi, [edx - 2]
add edx, 0xfffffffe
mov edi, ecx
nop dword [eax]
test edx, edx
je 0x101735a0
movzx ebx, byte [edi]
inc edi
dec edx
mov bh, bl
add bh, 0xd0
cmp bh, 0xa
jb 0x10173570
and bl, 0xdf
add bl, 0xbf
cmp bl, 6
jb 0x10173570
jmp 0x1017359c
mov eax, 0xa
jmp 0x101735ae
mov eax, 1
xor edx, edx
jmp 0x101735c7
mov eax, 0x10
jmp 0x101735ac
mov eax, 8
mov edx, esi
mov esi, esp
push eax
push edx
push ecx
push esi
call fcn.101be9a0
add esp, 0x10
movzx eax, byte [esp]
mov edx, dword [esp + 4]
xor eax, 1
add esp, 8
pop esi
pop edi
pop ebx
ret
push 0x1020e4f8
push edx
push 2
push edx
push ecx
call fcn.101ccb20
push 0x1020e4e8
push edx
push 1
push edx
push ecx
call fcn.101ccb20
int3
Function at 0x10180990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x74], esp
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x7c], 0x10181a30
lea eax, [esi + 0x78]
mov ecx, dword fs:[0]
mov dword [esi + 0x78], ecx
mov dword fs:[0], eax
mov byte [esi + 4], 0
mov dword [esi + 0xc], 0x102412f8
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0x102412f8
mov dword [esi + 0x20], str._zero_capacity_should_never_failC:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_0.2.12_srcheadermap.rs
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
mov word [esi + 0x2c], 0xffff
mov dword [esi + 0x80], 0
lea eax, [esi + 0x30]
push 0
push eax
call fcn.1017d3e0
add esp, 8
mov eax, dword [esi + 0x30]
xor eax, 3
or eax, dword [esi + 0x34]
je 0x10180afc
mov eax, dword [ebp + 8]
movsd xmm0, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x38]
movsd xmm2, qword [esi + 4]
mov ecx, dword [esi + 0x2c]
movsd qword [eax + 0x38], xmm0
movsd xmm0, qword [esi + 0x60]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [esi + 0xc]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [esi + 0x58]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esi + 0x50]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esi + 0x48]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x40]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [eax], xmm0
xorps xmm0, xmm0
mov byte [eax + 0x6c], 1
mov word [eax + 0x6d], 0
mov byte [eax + 0x6f], 0
movsd qword [eax + 0x70], xmm0
movsd qword [eax + 0x78], xmm0
movsd qword [eax + 0x48], xmm1
movsd xmm1, qword [esi + 0x14]
movsd qword [eax + 0x40], xmm2
movsd xmm2, qword [esi + 0x1c]
mov dword [eax + 0x68], ecx
mov ecx, dword [esi + 0x78]
movsd qword [eax + 0x50], xmm1
movsd xmm1, qword [esi + 0x24]
movsd qword [eax + 0x58], xmm2
movsd qword [eax + 0x60], xmm1
mov byte [eax + 0x84], 2
mov dword [eax + 0x80], 0
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 3]
push 0x1024154c
push 0x102412e8
push eax
push 0x1f
push 0x102414c9
call fcn.101cc840
add esp, 0x14
ud2