joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a76c0
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], 0x100b0260
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 0x100a787f
lea eax, [esi + 0x50]
lea ebx, [edx + 0x18]
push dword [edx + 0xc]
push dword [edx + 8]
push eax
call fcn.1015be00
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.100bb200
add esp, 8
mov ebx, eax
lea eax, [esi + 8]
mov dword [esi + 0x98], 0xffffffff
push eax
call fcn.1015bec0
add esp, 4
test bl, bl
jne 0x100a7869
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.1015be00
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.100a3120
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.1015bec0
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], 0x101dc448
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 0x101dc4bc
push eax
call fcn.101cb880
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x9c]
mov ebp, dword [esi + 0x88]
lea eax, [esi + 8]
push eax
call fcn.1015bec0
add esp, 0x10
pop ebp
ret
Function at 0x100a7c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], esp
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x8c], 0x100b0280
mov edx, dword [ebp + 8]
lea eax, [esi + 0x88]
mov ecx, dword fs:[0]
mov dword [esi + 0x88], ecx
mov dword fs:[0], eax
cmp dword [edx + 0x10], 0
jne 0x100a7e0f
lea eax, [esi + 0x50]
lea ebx, [edx + 0x14]
push dword [edx + 0xc]
push dword [edx + 8]
push eax
call fcn.1015be00
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 + 0x90], 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.1008f350
add esp, 8
mov ebx, eax
lea eax, [esi + 8]
mov dword [esi + 0x90], 0xffffffff
push eax
call fcn.1015bec0
add esp, 4
test bl, bl
jne 0x100a7df9
mov ecx, dword [ebp + 8]
mov dword [esi + 0x60], 2
mov byte [esi + 7], bl
lea edx, [esi + 0x40]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov byte [esi + 6], 1
mov dword [esi + 0x90], 1
push ecx
push eax
push edx
call fcn.1015be00
add esp, 0xc
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x40]
mov edi, dword [esi + 0x44]
movsd xmm1, qword [esi + 0x68]
mov eax, dword [esi + 0x4c]
movsd xmm0, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x70]
mov dword [esi + 0x90], 2
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp + 8]
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esi + 0x78]
mov dword [esi + 0x3c], eax
movsd qword [esi + 8], xmm0
movsd qword [esi + 0x18], xmm2
add ecx, 0x10
movsd qword [esi + 0x20], xmm1
mov dword [esi + 0x2c], ecx
call fcn.100a4900
movsd xmm0, qword [esi + 0x20]
mov eax, dword [esi + 0x2c]
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 + 6], 0
mov dword [esi + 0x90], 1
push eax
call fcn.1015bec0
add esp, 4
movzx ebx, byte [esi + 7]
mov eax, dword [esi + 0x88]
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], 0x101dc448
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 0x101dc4bc
push eax
call fcn.101cb880
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x94]
mov ebp, dword [esi + 0x80]
lea eax, [esi + 8]
push eax
call fcn.1015bec0
add esp, 0x10
pop ebp
ret
Function at 0x100a9900
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], 0x100b02e0
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.1015be00
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 0x100a99f9
test eax, eax
jne 0x100a9a4c
cmp byte [ecx + 0x4c], 2
je 0x100a9a4c
add ecx, 0x14
mov dword [esi + 0x80], 1
call fcn.100a1a20
jmp 0x100a9a4c
mov eax, dword [ecx + 0x18]
or eax, dword [ecx + 0x1c]
je 0x100a9a4c
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esi + 8], eax
je 0x100a9a4c
mov eax, dword [ecx + 0x24]
mov dword [esi + 4], eax
mov eax, dword [eax]
test eax, eax
je 0x100a9a29
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 0x100a9a4c
push dword [ecx + 8]
push eax
push dword [esi + 8]
call fcn.10013870
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.1015bec0
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 0x100a9d20
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], 0x100b0300
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.1015be00
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.100a44a0
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.1015bec0
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 0x100aa370
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], 0x100b0340
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.1015be00
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.100a3120
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.1015bec0
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 0x100aa520
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], 0x100b0350
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.1015be00
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.100a4900
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.1015bec0
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 0x100bb840
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], 0x100bbf80
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 0x100bb95e
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.1005a9e0
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], edx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xa0], 1
call fcn.100b1f20
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.10064370
mov eax, dword [edi]
test eax, eax
je 0x100bb8b0
cmp eax, 1
jne 0x100bb98c
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 0x101de0bc
push 0x28
push 0x101dd650
call fcn.101cb950
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0xa4]
mov ebp, dword [esi + 0x90]
lea ecx, [esi + 0x40]
call fcn.10064370
add esp, 0xc
pop ebp
ret
Function at 0x100d3530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
lea eax, [esi + 8]
push edi
push dword [esp + 0x6c]
push eax
call fcn.101262b0
add esp, 0xc
mov ecx, edx
cmp eax, 1
jne 0x100d3663
mov ebx, eax
mov eax, dword [0x1027032c]
mov dword [esp], ecx
mov eax, dword [eax]
cmp eax, 1
ja 0x100d3644
mov ebp, dword [0x10270068]
movzx eax, byte [ebp + 8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x100d3640
movzx eax, al
push eax
push dword [ebp]
call fcn.10147240
add esp, 8
test al, al
je 0x100d3644
mov eax, dword [ebp]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x100d367e
mov ebp, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 0x38], 0x101dfa10
mov dword [esp + 0x3c], 1
lea ecx, [eax + 0x1c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
mov edx, esp
lea ebp, [esp + 0xc]
movlps qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 4], edx
lea edx, [esp + 4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 8], fcn.1013fce0
mov dword [esp + 0x40], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x44], 1
mov dword [esp + 0xc], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x101df85c
push ecx
push eax
call fcn.10147e50
add esp, 8
jmp 0x100d3644
test ecx, ecx
jne 0x100d366b
push dword [esp + 0x78]
push dword [esp + 0x78]
push edi
push dword [esp + 0x78]
push 1
push 3
push esi
call fcn.100d2970
add esp, 0x1c
mov edx, dword [esp]
mov eax, ebx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
push ebp
call fcn.101c84c0
add esp, 4
test al, al
jne 0x100d3589
jmp 0x100d3644
push 0x101df9dc
push 0x22
push 0x101df714
call fcn.101cb830
int3
Function at 0x100ee8b0
Capabilities:
Access peb ldr_data
Get ntdll base address

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], 0x100ef540
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], ecx
push ecx
mov dword [ebp - 0x24], eax
call dword [eax + 0x20]
add esp, 4
mov ebx, eax
movzx eax, byte [0x10283b09]
push 1
push 0x2000
call fcn.10013860
add esp, 8
test eax, eax
je 0x100ee9b8
mov ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], 0x2000
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 4
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0x66000
mov byte [eax + 0x24], bl
mov word [eax + 0x50], 0
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], 1
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 1
mov word [eax + 0x28], 0
mov dword [eax + 0x2c], 0x2000
mov dword [eax + 0x30], 0x66000
mov dword fs:[0], edx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2000
push 1
call fcn.101cb650
add esp, 8
ud2
Function at 0x100f2170
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 0x100f2199
mov dword [esi], 0
jmp 0x100f219f
mov eax, dword [esp]
mov byte [esi], 4
mov dword [esi + 4], eax
mov eax, esi
add esp, 4
pop esi
ret
Function at 0x10104cb0
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], 0x10105170
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.1015be00
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.10103d60
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.1015bec0
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 0x1010e970
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], 0x1010edd0
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.1000d4c0
add esp, 4
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1010e9d5
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 0x1010e9f3
lock dec dword [eax]
jne 0x1010e9f3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
lea ecx, [eax + 0x64]
call fcn.100077d0
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x1010ea3a
mov edi, dword [ebp - 0x20]
push dword [edi + 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
mov esi, edi
jne 0x1010ea1c
lea eax, [esi + 0x68]
push eax
call fcn.10007330
add esp, 4
mov eax, dword [esi + 0x6c]
lock dec dword [eax]
jne 0x1010ea3a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
add eax, 0x6c
push eax
call fcn.1010e480
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.101126c0
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x1010ea70
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x10], 1
call fcn.10007770
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x1010ea9d
lock dec dword [eax]
jne 0x1010ea9d
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x84]
mov dword [ebp - 0x10], 0
call fcn.10007770
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x1010eac7
lock dec dword [eax]
jne 0x1010eac7
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov dword [ebp - 0x10], 0xffffffff
call fcn.10007770
cmp esi, 0xffffffff
je 0x1010eae2
lock dec dword [esi + 4]
jne 0x1010eae2
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