joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100db910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], esp
mov dword [esi + 0x98], 0xffffffff
mov dword [esi + 0x94], 0x100de190
mov edx, dword [ebp + 8]
lea eax, [esi + 0x90]
mov ecx, dword fs:[0]
mov dword [esi + 0x90], ecx
mov dword fs:[0], eax
mov eax, dword [edx + 0x10]
or eax, dword [edx + 0x14]
jne 0x100dbacf
lea eax, [esi + 0x50]
lea ebx, [edx + 0x18]
push dword [edx + 0xc]
push dword [edx + 8]
push eax
call fcn.101600e0
add esp, 0xc
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0x54]
mov dword [esi + 0x98], 0
mov dword [esi + 0xc], edi
mov dword [esi + 8], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
push dword [ebp + 0xc]
push ebx
call fcn.10096510
add esp, 8
mov ebx, eax
lea eax, [esi + 8]
mov dword [esi + 0x98], 0xffffffff
push eax
call fcn.101601a0
add esp, 4
test bl, bl
jne 0x100dbab9
mov ecx, dword [ebp + 8]
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 2
mov byte [esi + 3], bl
lea edx, [esi + 0x40]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov byte [esi + 2], 1
mov dword [esi + 0x98], 1
push ecx
push eax
push edx
call fcn.101600e0
add esp, 0xc
movsd xmm1, qword [esi + 0x68]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x78]
mov dword [esi + 0x98], 2
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esi + 0x70]
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x3c], eax
movsd qword [esi + 8], xmm0
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x18], xmm1
movsd xmm1, qword [esi + 0x80]
add ecx, 0x10
mov dword [esi + 4], ecx
movsd qword [esi + 0x28], xmm1
call fcn.1003fad0
movsd xmm0, qword [esi + 0x28]
mov eax, dword [esi + 4]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esi + 0x20]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x18]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 8]
movsd xmm1, qword [esi + 0x10]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 0x30]
mov byte [esi + 2], 0
mov dword [esi + 0x98], 1
push eax
call fcn.101601a0
add esp, 4
movzx ebx, byte [esi + 3]
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x60]
mov dword [esi + 8], 0x101e0848
mov dword [esi + 0xc], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
lea eax, [esi + 8]
push 0x101e08bc
push eax
call fcn.101cc880
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x9c]
mov ebp, dword [esi + 0x88]
lea eax, [esi + 8]
push eax
call fcn.101601a0
add esp, 0x10
pop ebp
ret
Function at 0x100dc760
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], esp
mov dword [esi + 0x60], 0xffffffff
mov dword [esi + 0x5c], 0x100de1d0
mov edx, dword [ebp + 8]
lea eax, [esi + 0x58]
mov ecx, dword fs:[0]
mov dword [esi + 0x58], ecx
mov dword fs:[0], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov byte [esi + 3], 1
mov dword [esi + 0x60], 0
lea edx, [esi + 0x40]
push ecx
push eax
push edx
call fcn.101600e0
add esp, 0xc
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x60], 1
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
movsd xmm2, qword [ecx + 0x18]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [esi + 0x18], xmm0
movsd qword [esi + 0x30], xmm2
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [ecx + 0x20]
mov ecx, dword [ebp + 8]
add ecx, 0x10
movsd qword [esi + 0x38], xmm1
mov dword [esi + 4], ecx
call fcn.1003fad0
movsd xmm0, qword [esi + 0x38]
mov eax, dword [esi + 4]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 8]
mov byte [esi + 3], 0
mov dword [esi + 0x60], 0
push eax
call fcn.101601a0
add esp, 4
mov eax, dword [esi + 0x58]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100dc910
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x54], 0x100de1e0
mov edx, dword [ebp + 8]
lea eax, [esi + 0x50]
mov ecx, dword fs:[0]
mov dword [esi + 0x50], ecx
mov dword fs:[0], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov byte [esi + 3], 1
mov dword [esi + 0x58], 0
lea edx, [esi + 0x38]
push ecx
push eax
push edx
call fcn.101600e0
add esp, 0xc
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x3c]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x58], 1
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
movsd xmm2, qword [ecx + 0x10]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [ecx + 0x18]
mov ecx, dword [ebp + 8]
movsd qword [esi + 0x18], xmm0
movsd qword [esi + 0x28], xmm2
add ecx, 0x10
movsd qword [esi + 0x30], xmm1
mov dword [esi + 4], ecx
call fcn.100d7090
movsd xmm0, qword [esi + 0x30]
mov eax, dword [esi + 4]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 8]
mov byte [esi + 3], 0
mov dword [esi + 0x58], 0
push eax
call fcn.101601a0
add esp, 4
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100dcc00
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], esp
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x74], 0x100de200
mov edx, dword [ebp + 8]
lea eax, [esi + 0x70]
mov ecx, dword fs:[0]
mov dword [esi + 0x70], ecx
mov dword fs:[0], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov byte [esi + 3], 1
mov dword [esi + 0x78], 0
lea edx, [esi + 0x58]
push ecx
push eax
push edx
call fcn.101600e0
add esp, 0xc
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x58]
mov edi, dword [esi + 0x5c]
mov eax, dword [esi + 0x64]
mov dword [esi + 0x78], 1
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
movsd xmm1, qword [ecx + 8]
movsd xmm2, qword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [ecx + 0x18]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [ecx + 0x20]
movsd qword [esi + 0x18], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [ecx + 0x28]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [ecx + 0x30]
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [ecx + 0x38]
mov ecx, dword [ebp + 8]
movsd qword [esi + 0x48], xmm2
add ecx, 0x10
movsd qword [esi + 0x50], xmm1
mov dword [esi + 4], ecx
call fcn.100d6c30
movsd xmm0, qword [esi + 0x50]
mov eax, dword [esi + 4]
movsd qword [eax + 0x38], xmm0
movsd xmm0, qword [esi + 0x48]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [esi + 0x40]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esi + 0x38]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x18]
movsd xmm1, qword [esi + 0x20]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 8]
mov byte [esi + 3], 0
mov dword [esi + 0x78], 0
push eax
call fcn.101601a0
add esp, 4
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100dd250
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], 0x100de240
mov edx, dword [ebp + 8]
lea eax, [esi + 0x78]
mov ecx, dword fs:[0]
mov dword [esi + 0x78], ecx
mov dword fs:[0], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov byte [esi + 3], 1
mov dword [esi + 0x80], 0
lea edx, [esi + 0x60]
push ecx
push eax
push edx
call fcn.101600e0
add esp, 0xc
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x60]
mov edi, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 8]
movsd xmm1, qword [eax + 0x30]
movsd xmm2, qword [eax + 0x28]
movsd xmm0, qword [eax + 0x38]
movsd qword [esi + 0x50], xmm1
movsd xmm1, qword [eax + 0x20]
movsd qword [esi + 0x48], xmm2
movsd xmm2, qword [eax + 0x18]
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [eax]
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [eax + 8]
lea eax, [ecx + 0x10]
movsd qword [esi + 0x20], xmm2
mov dword [esi + 0xc], eax
movsd qword [esi + 0x28], xmm1
mov eax, dword [ecx + 0x10]
cmp eax, 1
je 0x100dd349
test eax, eax
jne 0x100dd39c
cmp byte [ecx + 0x4c], 2
je 0x100dd39c
add ecx, 0x14
mov dword [esi + 0x80], 1
call fcn.1002b5a0
jmp 0x100dd39c
mov eax, dword [ecx + 0x18]
or eax, dword [ecx + 0x1c]
je 0x100dd39c
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esi + 8], eax
je 0x100dd39c
mov eax, dword [ecx + 0x24]
mov dword [esi + 4], eax
mov eax, dword [eax]
test eax, eax
je 0x100dd379
mov dword [esi + 0x80], 2
push dword [esi + 8]
call eax
add esp, 4
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x100dd39c
push dword [ecx + 8]
push eax
push dword [esi + 8]
call fcn.10013780
add esp, 0xc
mov dword [esi + 0x80], 0
movsd xmm0, qword [esi + 0x58]
mov eax, dword [esi + 0xc]
movsd qword [eax + 0x38], xmm0
movsd xmm0, qword [esi + 0x50]
movsd qword [eax + 0x30], xmm0
movsd xmm0, qword [esi + 0x48]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [esi + 0x40]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [esi + 0x38]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x30]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esi + 0x20]
movsd xmm1, qword [esi + 0x28]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [esi + 0x10]
mov byte [esi + 3], 0
mov dword [esi + 0x80], 0
push eax
call fcn.101601a0
add esp, 4
mov eax, dword [esi + 0x78]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100dddb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov esi, esp
mov dword [esi + 0x90], ebp
mov dword [esi + 0x94], esp
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0x9c], 0x100de270
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x98]
lea ebx, [esi + 0x40]
mov eax, dword fs:[0]
lea edx, [edi + 0x30]
mov dword [esi + 0x98], eax
mov dword fs:[0], ecx
lea ecx, [edi + 4]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov eax, dword [edi]
test eax, eax
jne 0x100ddece
nop word cs:[eax + eax]
push 0x50
push dword [esi + 0xc]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [esi + 0xa0], 0
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax]
movsd xmm2, qword [eax + 0x18]
movsd qword [esi + 0x18], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 0x28], xmm2
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
mov dword [edi], 2
mov dword [esi + 0x38], eax
lea eax, [esi + 0x10]
movsd qword [esi + 0x30], xmm1
push eax
push ebx
call fcn.100f0670
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], edx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xa0], 1
call fcn.100d4650
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea ebx, [esi + 0x40]
mov dword [esi + 0xa0], 0xffffffff
mov dword [edi], 1
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, ebx
call fcn.1002fb90
mov eax, dword [edi]
test eax, eax
je 0x100dde20
cmp eax, 1
jne 0x100ddefc
mov eax, dword [edi + 8]
push dword [ebp + 0x10]
push dword [edi + 4]
mov edi, dword [ebp + 8]
push edi
call dword [eax + 0xc]
add esp, 0xc
mov eax, dword [esi + 0x98]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x101e0acc
push 0x28
push 0x101e0a3a
call fcn.101cc940
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0xa4]
mov ebp, dword [esi + 0x90]
lea ecx, [esi + 0x40]
call fcn.1002fb90
add esp, 0xc
pop ebp
ret
Function at 0x100e1eb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100f0f70
lea esi, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov edi, dword fs:[0]
mov dword [ebp - 0x18], edi
mov dword fs:[0], esi
mov esi, dword [ecx + 0x28]
cmp esi, 0x7fff
mov dword [ebp - 0x2c], esi
jbe 0x100e1f41
mov ecx, dword [eax]
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
add eax, 0xc
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x10], 0
push esi
push edx
push eax
call ecx
add esp, 0xc
mov edi, dword [ebp - 0x24]
mov esi, 1
mov eax, dword [edi]
test eax, eax
je 0x100e208d
lea ecx, [edi + 0xc]
mov edx, dword [edi + 4]
mov edi, dword [edi + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], 0xffffffff
push edi
push edx
push ecx
call eax
add esp, 0xc
jmp 0x100e208d
movsd xmm1, qword [edx + 8]
movzx edi, word [ebp + 0xc]
movsd xmm0, qword [edx]
cmp esi, dword [ecx + 0x20]
movsd xmm2, qword [eax]
mov dword [ebp - 0x28], ecx
movsd qword [ebp - 0x38], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [ebp - 0x40], xmm0
movsd qword [ebp - 0x54], xmm2
mov word [ebp - 0x1e], di
movsd qword [ebp - 0x4c], xmm1
mov dword [ebp - 0x44], eax
mov word [ebp - 0x30], di
mov dword [ebp - 0x60], 0
jne 0x100e1f9e
lea eax, [ecx + 0x20]
mov dword [ebp - 0x10], 1
push eax
call fcn.1007a200
mov ecx, dword [ebp - 0x28]
add esp, 4
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x24]
movsd xmm0, qword [ebp - 0x60]
movsd xmm1, qword [ebp - 0x58]
movsd xmm2, qword [ebp - 0x50]
movsd xmm3, qword [ebp - 0x48]
movsd xmm4, qword [ebp - 0x40]
movsd xmm5, qword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0
imul edx, ebx, 0x34
mov dword [eax + edx + 0x30], esi
movsd qword [eax + edx + 0x28], xmm5
movsd qword [eax + edx + 0x20], xmm4
movsd qword [eax + edx + 0x18], xmm3
movsd qword [eax + edx + 0x10], xmm2
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
lea edx, [ebx + 1]
mov dword [ecx + 0x28], edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
nop word cs:[eax + eax]
nop
cmp edi, ecx
mov eax, 0
cmovae edi, eax
test ecx, ecx
je 0x100e2050
movzx eax, word [edx + edi*4]
cmp ax, 0xffff
je 0x100e2052
movzx esi, word [edx + edi*4 + 2]
mov word [edx + edi*4], bx
movzx ebx, word [ebp - 0x1e]
inc dword [ebp - 0x24]
mov word [edx + edi*4 + 2], bx
inc edi
mov word [ebp - 0x1e], si
mov ebx, eax
jmp 0x100e2010
jmp 0x100e2050
movzx eax, word [ebp - 0x1e]
cmp dword [ebp - 0x24], 0x80
movzx ecx, byte [ebp + 0x14]
mov word [edx + edi*4], bx
mov word [edx + edi*4 + 2], ax
setb dl
xor cl, 1
xor esi, esi
test dl, cl
jne 0x100e208d
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
or eax, dword [ecx]
jne 0x100e208d
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100f40a0
Capabilities:
Get remote cert context via schannel

Disassembly:
push esi
push eax
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, esp
mov dword [esp], 0
push ecx
push 0x53
push eax
call dword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x100f40c9
mov dword [esi], 0
jmp 0x100f40cf
mov eax, dword [esp]
mov byte [esi], 4
mov dword [esi + 4], eax
mov eax, esi
add esp, 4
pop esi
ret
Function at 0x101051e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x10106880
mov edx, dword [ebp + 8]
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov byte [esi + 3], 1
mov dword [esi + 0x38], 0
lea edx, [esi + 0x18]
push ecx
push eax
push edx
call fcn.101600e0
add esp, 0xc
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x38], 1
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], eax
add ecx, 8
mov dword [esi + 4], ecx
call fcn.10104370
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
movsd xmm0, qword [eax + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
lea eax, [esi + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov byte [esi + 3], 0
mov dword [esi + 0x38], 0
push eax
call fcn.101601a0
add esp, 4
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1010c400
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], 0x1010ca80
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.100e37a0
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1010c465
shl eax, 3
push 4
push eax
push dword [esi + 0x34]
call fcn.10013780
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1010c483
lock dec dword [eax]
jne 0x1010c483
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
lea ecx, [eax + 0x64]
call fcn.10007280
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x1010c4ca
mov edi, dword [ebp - 0x20]
push dword [edi + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
mov esi, edi
jne 0x1010c4ac
lea eax, [esi + 0x68]
push eax
call fcn.10006c40
add esp, 4
mov eax, dword [esi + 0x6c]
lock dec dword [eax]
jne 0x1010c4ca
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
add eax, 0x6c
push eax
call fcn.1010c8c0
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.10113cf0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x1010c500
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x10], 1
call fcn.10007080
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1010c52d
lock dec dword [eax]
jne 0x1010c52d
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x84]
mov dword [ebp - 0x10], 0
call fcn.10007080
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x1010c557
lock dec dword [eax]
jne 0x1010c557
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov dword [ebp - 0x10], 0xffffffff
call fcn.10007080
cmp esi, 0xffffffff
je 0x1010c572
lock dec dword [esi + 4]
jne 0x1010c572
push 8
push 0xa8
push esi
call fcn.10013780
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 0x1011c7c0
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.10120ca0
add esp, 8
test al, 1
jne 0x1011c979
add ebx, dword [esp + 4]
jo 0x1011c7fa
mov dword [esp + 4], ebx
mov eax, dword [0x1027132c]
mov eax, dword [eax]
test eax, eax
je 0x1011c884
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 [0x10270930]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x1011c957
movzx eax, al
push eax
push dword [0x10270928]
call fcn.10149b60
add esp, 8
test al, al
je 0x1011c805
mov eax, dword [0x10270928]
cmp dword [eax + 0x20], 0
je 0x1011c998
lea edx, [esp + 8]
movsd xmm0, qword [eax + 0x1c]
movsd xmm1, qword [eax + 0x24]
mov dword [esp + 0x2c], 0x101f0b40
mov dword [esp + 0x30], 1
mov dword [esp + 0x3c], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x10120040
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], 0x101f0b48
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.1014a450
add esp, 8
jmp 0x1011c805
test ecx, ecx
je 0x1011c805
push 0x10270928
call fcn.101c9ee0
add esp, 4
test al, al
jne 0x1011c89a
jmp 0x1011c805
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
push 0x101f0ae4
push 0x101f09d8
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.101ccb80
push 0x101f0b18
push 0x22
push 0x101f0af4
call fcn.101cc830
int3