joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101256f0
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.1012a000
add esp, 8
test eax, eax
jne 0x101258a9
add ebx, dword [esp + 4]
jo 0x1012572a
mov dword [esp + 4], ebx
mov eax, dword [0x1027032c]
mov eax, dword [eax]
test eax, eax
je 0x101257b4
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 [0x1026fae4]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x10125887
movzx eax, al
push eax
push dword [0x1026fadc]
call fcn.10147240
add esp, 8
test al, al
je 0x10125735
mov eax, dword [0x1026fadc]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x101258c8
mov ebx, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 8], edi
lea edi, [esp + 0x50]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x2c], 0x101f2be8
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0xc], 0x10128bb0
mov dword [esp + 0x20], edi
lea edi, [esp + 0x20]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x50], ebx
lea ebx, [esp + 8]
mov dword [esp + 0x54], edx
movlps qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x34], ebx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x38], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x101f2bf0
push ecx
push eax
call fcn.10147e50
add esp, 8
jmp 0x10125735
test ecx, ecx
je 0x10125735
push 0x1026fadc
call fcn.101c84c0
add esp, 4
test al, al
jne 0x101257ca
jmp 0x10125735
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
push 0x101f2b8c
push 0x101f2914
push eax
push 0x1b
push 0x101f2b00
call fcn.101cbbf0
push 0x101f2bc0
push 0x22
push 0x101f2b9c
call fcn.101cb830
int3
Function at 0x10136200
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 0x10136402
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.101336c0
add esp, 0x10
cmp byte [esp + 4], 3
jne 0x1013627c
test byte [ebp], 1
je 0x101362a6
mov word [esi], 0x101
mov dword [esi + 4], 1
mov dword [esi + 8], 0x101fb09c
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jmp 0x1013629c
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 0x101363a5
mov eax, dword [0x1027032c]
mov eax, dword [eax]
cmp eax, 2
jae 0x10136252
movzx eax, byte [0x10270088]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x101363e0
movzx eax, al
push eax
push dword [0x10270080]
call fcn.10147240
add esp, 8
test al, al
je 0x10136252
mov eax, dword [0x10270080]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x10136413
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ebx, [esp + 0x74]
lea ecx, [eax + 0x1c]
mov dword [esp + 4], 0x101fb228
mov dword [esp + 8], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x1013c6d0
lea ebx, [esp + 0x48]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 4]
mov dword [esp + 0x10], 2
mov dword [esp + 0x1c], edi
mov edi, esp
mov dword [esp + 0x20], edx
movlps qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x50], edi
lea edi, [esp + 0x1c]
mov dword [esp + 0x54], 0x1013c6d0
mov dword [esp + 0x30], edi
lea edi, [esp + 0x30]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x101fb240
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.10147e50
add esp, 8
jmp 0x10136252
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 0x101363c7
mov dword [esi + 4], 1
mov dword [esi + 8], edi
jmp 0x101363d8
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], edi
mov dword [esi + 4], 0
mov byte [esi], 3
jmp 0x1013629c
test ecx, ecx
je 0x10136252
push 0x10270080
call fcn.101c84c0
add esp, 4
test al, al
jne 0x101362d6
jmp 0x10136252
push 0x101fb1ac
push 0x28
push 0x101fb184
call fcn.101cb950
push 0x101fb1e0
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cb830
int3
Function at 0x10139440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [0x1027032c]
mov esi, dword [esp + 0x70]
mov eax, dword [eax]
test eax, eax
je 0x1013948d
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x7c]
mov eax, 1
add edx, ecx
jno 0x10139470
mov edx, 3
add esp, 0x60
pop esi
pop edi
pop ebx
ret
js 0x101395f5
mov edi, dword [esp + 0x74]
mov ebx, edi
sub ebx, edx
jbe 0x10139583
add ecx, ebx
jo 0x10139464
jmp 0x1013958d
movzx eax, byte [0x1027010c]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x101395d3
movzx eax, al
push eax
push dword [0x10270104]
call fcn.10147240
add esp, 8
test al, al
je 0x10139455
mov eax, dword [0x10270104]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x10139606
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
lea ebx, [esp + 0x1c]
mov dword [esp + 0x48], 0x101fb694
mov dword [esp + 0x4c], 3
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], ebx
lea ebx, [esp + 0x48]
mov dword [esp + 0x54], 3
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x24]
lea edi, [esp + 0x74]
movlps qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], edi
mov edi, esp
mov dword [esp + 0x20], fcn.101bd8d0
mov dword [esp + 0x24], edi
lea edi, [esp + 0x34]
mov dword [esp + 0x28], fcn.1012a5a0
mov dword [esp + 4], edi
lea edi, [esp + 4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x101fb240
mov dword [esp], edx
lea edx, [esi + 0x7c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], fcn.101bd8d0
push ecx
push eax
call fcn.10147e50
add esp, 8
jmp 0x10139455
sub edx, edi
sub ecx, edx
jo 0x10139464
mov dword [esi + 0x24], ecx
xor eax, eax
mov edx, dword [esi + 0x20]
sub ecx, edx
jle 0x10139464
mov esi, edx
shr esi, 0x1f
add esi, edx
sar esi, 1
cmp ecx, esi
jl 0x10139464
mov esi, dword [esp + 0x78]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esi], 0
test ecx, ecx
je 0x10139464
push edx
call dword [ecx + 4]
xor eax, eax
add esp, 4
jmp 0x10139464
test ecx, ecx
je 0x10139455
push 0x10270104
call fcn.101c84c0
add esp, 4
test al, al
jne 0x101394a3
jmp 0x10139455
push 0x101f6120
push 0xf
push 0x101f6110
call fcn.101c7880
push 0x101fb648
push 0x22
push str.FieldSet_corrupted__this_is_a_bug_
call fcn.101cb830
int3
Function at 0x1014b8a0
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 0x1014b8b0
test al, 1
je 0x1014b8c7
test al, 2
jne 0x1014b8d8
xor eax, 3
ret
push 0x10209a90
push 0x23
push str.assertion_failed:_prev.is_running__
call fcn.101cb950
push 0x10209ac8
push 0x25
push 0x10209aa0
call fcn.101cb950
int3
Function at 0x101543f0
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], 0x10156b40
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.10159ce0
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10154453
shl eax, 3
push 4
push eax
push dword [esi + 0x34]
call fcn.10013870
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x10154475
lock dec dword [eax]
jne 0x10154475
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 5
add eax, 0x64
push eax
call fcn.1015add0
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x101544c7
mov eax, dword [ebp - 0x20]
push dword [eax + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
jne 0x101544a6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
add eax, 0x68
push eax
call fcn.10007330
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x6c]
lock dec dword [eax]
jne 0x101544c7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
add eax, 0x6c
push eax
call fcn.1015b180
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.1015f940
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x101544fe
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 1
add eax, 0x20
push eax
call fcn.100067e0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x10154528
lock dec dword [eax]
jne 0x10154528
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
add eax, 0x80
push eax
call fcn.100067e0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x88]
test eax, eax
je 0x10154550
lock dec dword [eax]
jne 0x10154550
add ecx, 0x88
mov dword [ebp - 0x10], 0xffffffff
push ecx
call fcn.100067e0
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 0x1015b400
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], 0x1015bad0
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.10159ce0
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1015b469
shl eax, 3
push 4
push eax
push dword [esi + 0x34]
call fcn.10013870
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1015b48b
lock dec dword [eax]
jne 0x1015b48b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
add eax, 0x64
push eax
call fcn.1015add0
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x1015b4d2
mov edi, dword [ebp - 0x20]
push dword [edi + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
mov esi, edi
jne 0x1015b4b4
lea eax, [esi + 0x68]
push eax
call fcn.10007330
add esp, 4
mov eax, dword [esi + 0x6c]
lock dec dword [eax]
jne 0x1015b4d2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
add eax, 0x6c
push eax
call fcn.1015b180
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.1015f940
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x1015b509
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 1
add eax, 0x20
push eax
call fcn.100067e0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1015b533
lock dec dword [eax]
jne 0x1015b533
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
add eax, 0x80
push eax
call fcn.100067e0
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x1015b55b
lock dec dword [eax]
jne 0x1015b55b
lea eax, [esi + 0x88]
mov dword [ebp - 0x10], 0xffffffff
push eax
call fcn.100067e0
add esp, 4
cmp esi, 0xffffffff
je 0x1015b576
lock dec dword [esi + 4]
jne 0x1015b576
push 8
push 0xa8
push esi
call fcn.10013870
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 0x101600f0
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 0x10160175
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 0x101601d7
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 0x10160310
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 0x10160344
call fcn.101a17d0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret

Function at 0x10160350
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 0x1016038a
call fcn.101a17d0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret

Function at 0x101603a0
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 0x101603d8
call fcn.101a17d0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret
Function at 0x101603f0
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 0x1016042a
call fcn.101a17d0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
mov eax, esi
add esp, 4
pop esi
ret

Function at 0x10160440
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 0x1016058e
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 0x101604e3
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 0x1016053d
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 0x1016058a
call fcn.101a17d0
xor ecx, ecx
mov dword [esi + 4], eax
mov byte [esi], cl
jmp 0x1016059c
call fcn.101a17d0
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 0x10170d50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, 2
test edx, edx
je 0x10170d8a
cmp edx, 1
jne 0x10170d8f
xor esi, esi
nop word cs:[eax + eax]
cmp edx, esi
je 0x10170e10
movzx ebx, byte [ecx + esi]
inc esi
add bl, 0xd0
cmp bl, 0xa
jb 0x10170d70
jmp 0x10170e1c
jmp 0x10170e47
cmp word [ecx], 0x7830
je 0x10170dd3
cmp word [ecx], 0x5830
je 0x10170dd3
cmp byte [ecx], 0x30
jne 0x10170d64
cmp byte [ecx + 1], 0xbf
jle 0x10170e5d
inc ecx
lea esi, [edx - 1]
dec edx
mov edi, ecx
nop word cs:[eax + eax]
nop dword [eax]
test edx, edx
je 0x10170e27
movzx ebx, byte [edi]
inc edi
dec edx
and bl, 0xf8
cmp bl, 0x30
je 0x10170dc0
jmp 0x10170e1c
cmp edx, 3
jb 0x10170e17
cmp byte [ecx + 2], 0xbf
jle 0x10170e4e
add ecx, 2
lea esi, [edx - 2]
add edx, 0xfffffffe
mov edi, ecx
nop dword [eax]
test edx, edx
je 0x10170e20
movzx ebx, byte [edi]
inc edi
dec edx
mov bh, bl
add bh, 0xd0
cmp bh, 0xa
jb 0x10170df0
and bl, 0xdf
add bl, 0xbf
cmp bl, 6
jb 0x10170df0
jmp 0x10170e1c
mov eax, 0xa
jmp 0x10170e2e
mov eax, 1
xor edx, edx
jmp 0x10170e47
mov eax, 0x10
jmp 0x10170e2c
mov eax, 8
mov edx, esi
mov esi, esp
push eax
push edx
push ecx
push esi
call fcn.101bcbd0
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 0x1020d288
push edx
push 2
push edx
push ecx
call fcn.101cbe90
push 0x1020d278
push edx
push 1
push edx
push ecx
call fcn.101cbe90
int3
Function at 0x1017b0c0
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], 0x1017c070
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], 0x1023f7e8
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0x1023f7e8
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.1017ac00
add esp, 8
mov eax, dword [esi + 0x30]
xor eax, 3
or eax, dword [esi + 0x34]
je 0x1017b22c
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 0x1023f880
push 0x1023f7d8
push eax
push 0x1f
push 0x1023f7fd
call fcn.101cbbf0
add esp, 0x14
ud2