joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007a520
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], 0x1007bb10
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.1015c580
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.10075940
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.1015c640
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 0x1007aa10
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], 0x1007bb40
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.1015c580
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.10075da0
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.1015c640
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 0x1007ab90
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], 0x1007bb50
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.1015c580
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 0x1007ac89
test eax, eax
jne 0x1007acdc
cmp byte [ecx + 0x4c], 2
je 0x1007acdc
add ecx, 0x14
mov dword [esi + 0x80], 1
call fcn.1002a9f0
jmp 0x1007acdc
mov eax, dword [ecx + 0x18]
or eax, dword [ecx + 0x1c]
je 0x1007acdc
mov eax, dword [ecx + 0x20]
test eax, eax
mov dword [esi + 8], eax
je 0x1007acdc
mov eax, dword [ecx + 0x24]
mov dword [esi + 4], eax
mov eax, dword [eax]
test eax, eax
je 0x1007acb9
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 0x1007acdc
push dword [ecx + 8]
push eax
push dword [esi + 8]
call fcn.10013460
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.1015c640
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 0x10085050
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

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], 0x1008b2c0
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x98]
mov edx, dword fs:[0]
mov dword [esi + 0x98], edx
mov dword fs:[0], ecx
mov byte [esi + 2], 1
mov dword [esi + 0xa0], 0
mov ecx, dword [eax + 0x10]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov dword [esi + 0x40], ecx
movsd qword [esi + 0x38], xmm1
movsd qword [esi + 0x30], xmm0
call fcn.1014df60
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x40]
movsd xmm0, qword [esi + 0x30]
movsd xmm1, qword [esi + 0x38]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x20], eax
lea eax, [esi + 0x28]
movsd qword [esi + 0x18], xmm1
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0xc], eax
call fcn.1015a7a0
movzx ecx, byte [eax + 0x38]
mov dword [esi + 4], eax
test ecx, ecx
je 0x10085118
cmp ecx, 1
je 0x1008513b
lea ecx, [esi + 0x10]
mov byte [esi + 2], 0
call fcn.10081080
mov al, 1
jmp 0x1008525c
mov byte [esi + 3], 1
mov dword [esi + 0xa0], 1
push 0x100ec300
push eax
call fcn.101ac2c0
add esp, 8
mov eax, dword [esi + 4]
mov byte [eax + 0x38], 1
movsd xmm0, qword [esi + 0x1c]
movsd xmm2, qword [esi + 0xc]
movsd xmm1, qword [esi + 0x14]
movsd qword [esi + 0x88], xmm0
movsd qword [esi + 0x80], xmm1
movsd qword [esi + 0x78], xmm2
mov ecx, dword [eax + 0x18]
cmp ecx, 0x7ffffffe
mov dword [esi + 0x24], ecx
ja 0x10085229
inc ecx
mov dword [eax + 0x18], ecx
mov eax, dword [eax + 0x1c]
movsd xmm0, qword [esi + 0x1c]
movsd xmm2, qword [esi + 0xc]
movsd xmm1, qword [esi + 0x14]
test eax, eax
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x50], xmm1
movsd qword [esi + 0x48], xmm2
je 0x10085242
lea edx, [esi + 0x10]
mov ecx, dword [esi + 0x48]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov edx, dword [edx + 0x10]
movsd qword [esi + 0x68], xmm1
movsd qword [esi + 0x60], xmm0
mov dword [esi + 0x70], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
lock inc dword [eax]
jle 0x10085278
mov dword [esi + 0xa0], 3
lea edi, [esi + 0x60]
push edx
push ecx
push eax
add eax, 0x38
push edi
push eax
call fcn.100593f0
add esp, 0x14
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
test edx, edx
je 0x1008520f
mov eax, dword [esi + 4]
mov dword [esi + 0xa0], 4
add eax, 0x1c
push edx
push eax
call fcn.1015a560
mov eax, dword [esi + 4]
add esp, 8
dec dword [eax + 0x18]
mov eax, dword [esi + 0x98]
mov dword fs:[0], eax
mov eax, dword [esi + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0xa0], 2
push 0x101db6ac
call fcn.101cc470
add esp, 4
jmp 0x10085278
lea ecx, [esi + 0x4c]
mov dword [esi + 0xa0], 3
call fcn.10081080
mov eax, dword [esi + 4]
dec dword [eax + 0x18]
xor eax, eax
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x48]
mov byte [esi + 0x48], al
mov byte [esi + 2], 0
mov dword [esi + 0xa0], 0
call fcn.101c6570
ud2
Function at 0x1008e4d0
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], 0x10097960
lea esi, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], 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 - 0x24], esi
jbe 0x1008e56e
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 - 0x28]
mov esi, 1
mov eax, dword [edi]
test eax, eax
je 0x1008e558
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
mov edx, dword [ebp - 0x24]
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
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 - 0x2c], 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 0x1008e5cb
lea eax, [ecx + 0x20]
mov dword [ebp - 0x10], 1
push eax
call fcn.100506b0
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov ebx, dword [ebp - 0x24]
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 - 0x28], 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 dword [eax]
cmp edi, ecx
mov eax, 0
cmovae edi, eax
test ecx, ecx
je 0x1008e680
movzx eax, word [edx + edi*4]
cmp ax, 0xffff
je 0x1008e682
movzx esi, word [edx + edi*4 + 2]
mov word [edx + edi*4], bx
movzx ebx, word [ebp - 0x1e]
inc dword [ebp - 0x28]
mov word [edx + edi*4 + 2], bx
inc edi
mov word [ebp - 0x1e], si
mov ebx, eax
jmp 0x1008e640
jmp 0x1008e680
movzx eax, word [ebp - 0x1e]
cmp dword [ebp - 0x28], 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 0x1008e558
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
or eax, dword [ecx]
jne 0x1008e55b
mov dword [ecx + 4], 0
mov dword [ecx], 1
jmp 0x1008e55b
Function at 0x1009ea10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
cmp byte [ecx + 0x49], 0
je 0x1009ea24
xor eax, eax
jmp 0x1009ebe2
mov esi, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
test byte [ecx], 1
mov dword [esp], esi
je 0x1009ea54
mov ebx, dword [ecx + 0x38]
cmp dword [ecx + 0x24], 0xffffffff
mov eax, dword [ecx + 0x3c]
mov esi, edx
lea edx, [ecx + 8]
mov edi, ecx
lea ecx, [esp + 8]
je 0x1009eb47
push 0
jmp 0x1009eb49
xor eax, eax
cmp byte [ecx + 0xe], 0
je 0x1009ea72
mov ebx, edx
mov dword [esp + 8], eax
test byte [esp + 8], 1
je 0x1009eb80
jmp 0x1009ebce
mov edi, dword [ecx + 4]
movzx ebx, byte [ecx + 0xc]
mov dword [esp + 4], edx
jmp 0x1009ea85
add edi, eax
mov dword [ecx + 4], edi
mov bh, bl
xor bl, 1
test edi, edi
je 0x1009eaa6
cmp edi, esi
jae 0x1009eaa0
cmp byte [edx + edi], 0xbf
jg 0x1009eaa6
jmp 0x1009ebea
jne 0x1009ebea
cmp edi, esi
je 0x1009eb65
movzx eax, byte [edx + edi]
movzx ebp, al
test al, al
jns 0x1009eb09
movzx esi, byte [edx + edi + 1]
and ebp, 0x1f
and esi, 0x3f
cmp al, 0xdf
jbe 0x1009eaf6
movzx edx, byte [edx + edi + 2]
shl esi, 6
and edx, 0x3f
or edx, esi
cmp al, 0xf0
jb 0x1009eafd
mov esi, dword [esp + 4]
and ebp, 7
shl edx, 6
shl ebp, 0x12
movzx eax, byte [esi + edi + 3]
and eax, 0x3f
or eax, edx
mov edx, esi
or ebp, eax
jmp 0x1009eb06
shl ebp, 6
or ebp, esi
jmp 0x1009eb06
shl ebp, 0xc
or ebp, edx
mov edx, dword [esp + 4]
mov esi, dword [esp]
test bh, 1
jne 0x1009ebaf
mov eax, 1
cmp ebp, 0x80
jb 0x1009ea80
mov eax, 2
cmp ebp, 0x800
jb 0x1009ea80
cmp ebp, 0x10000
mov eax, 4
sbb eax, 0
jmp 0x1009ea80
push 1
push eax
push ebx
push dword [esp + 0xc]
mov ebx, esi
push esi
call fcn.1009d3b0
add esp, 0x14
mov ecx, edi
test byte [esp + 8], 1
je 0x1009eb80
jmp 0x1009ebce
test bh, 1
mov byte [ecx + 0xc], bl
jne 0x1009ebb4
xor eax, eax
mov ebx, edx
mov byte [ecx + 0xe], 1
mov dword [esp + 8], eax
test byte [esp + 8], 1
jne 0x1009ebce
xor eax, eax
cmp byte [ecx + 0x49], 0
je 0x1009eb8a
jmp 0x1009ebe2
mov byte [ecx + 0x49], 1
cmp byte [ecx + 0x48], 1
jne 0x1009eb9c
mov esi, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
jmp 0x1009eba6
mov esi, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
cmp edx, esi
je 0x1009ebe2
sub edx, esi
add esi, dword [ecx + 0x30]
mov eax, esi
jmp 0x1009ebe2
mov esi, edi
mov byte [ecx + 0xc], bl
mov eax, 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov ebx, edx
mov dword [esp + 8], eax
test byte [esp + 8], 1
je 0x1009eb80
mov edx, dword [esp + 0xc]
mov edi, dword [ecx + 0x40]
mov esi, dword [esp + 0x10]
mov eax, ebx
sub edx, edi
add eax, edi
mov dword [ecx + 0x40], esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [ecx + 0xc], bl
push 0x101dd548
push esi
push edi
push esi
push edx
call fcn.101ccb20
int3
Function at 0x100a6180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100af670
mov dword [ebp - 0x40], edx
mov edi, ecx
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add ecx, eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x20], 0
mov dword [ebp - 0x2c], 1
push ecx
push eax
call fcn.1009f1d0
add esp, 8
mov dword [ebp - 0x30], 0x800
mov dword [ebp - 0x3c], 0
movzx eax, byte [0x10284b09]
push 1
push 0x800
call fcn.10013450
add esp, 8
test eax, eax
je 0x100a62ec
mov ecx, dword [ebp - 0x48]
mov esi, eax
mov dword [ebp - 0x2c], 0x800
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], ecx
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
sub ebx, edi
nop
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x40]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x100a6273
mov eax, dword [ebp - 0x30]
cmp ebx, eax
jae 0x100a6230
mov dword [ebp - 0x10], 1
push 1
push 1
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.101c6270
add esp, 0x14
mov esi, dword [ebp - 0x28]
jmp 0x100a6226
test eax, eax
jne 0x100a62a1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, 0xde
cmp ecx, 0xb
ja 0x100a62a4
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x2c]
mov dword [edx + 8], eax
movsd qword [edx], xmm0
mov byte [edx + 0xc], cl
jmp 0x100a62c4
mov edx, dword [ebp - 0x34]
mov byte [edx + 4], 0
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx], 0x80000000
test eax, eax
je 0x100a62c4
push 1
push eax
push esi
call fcn.10013460
add esp, 0xc
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100a62db
add eax, eax
push 2
push eax
push dword [ebp - 0x38]
call fcn.10013460
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x800
push 1
call fcn.101cc311
add esp, 8
ud2
Function at 0x100c54e0
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], 0x100c5c30
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 0x100c55fe
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.100d5190
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], edx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xa0], 1
call fcn.100b5a40
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.1002e3f0
mov eax, dword [edi]
test eax, eax
je 0x100c5550
cmp eax, 1
jne 0x100c562c
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 0x101deafc
push 0x28
push 0x101de851
call fcn.101cc600
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0xa4]
mov ebp, dword [esi + 0x90]
lea ecx, [esi + 0x40]
call fcn.1002e3f0
add esp, 0xc
pop ebp
ret
Function at 0x100e0c10
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], 0x100e2010
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 [0x10284b09]
push 1
push 0x2000
call fcn.10013450
add esp, 8
test eax, eax
je 0x100e0d18
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.101cc311
add esp, 8
ud2
Function at 0x100f3d90
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 0x100f3db9
mov dword [esi], 0
jmp 0x100f3dbf
mov eax, dword [esp]
mov byte [esi], 4
mov dword [esi + 4], eax
mov eax, esi
add esp, 4
pop esi
ret
Function at 0x10100ae0
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], 0x10102180
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.1015c580
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.100ffc70
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.1015c640
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