Function at 0x68003bf0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x1c]
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [ebp - 0x30], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call sym._CertGetEnhancedKeyUsage_16
sub esp, 0x10
test eax, eax
je 0x68003e30
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x2c], eax
call eax
sub esp, 0xc
mov dword [ebp - 0x34], eax
mov edi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 4
mov dword [esp], ebx
call sym._CertGetEnhancedKeyUsage_16
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
sub esp, 0x10
test eax, eax
je 0x68003ec8
test edi, edi
je 0x68003e60
mov ebx, dword [edi]
test ebx, ebx
je 0x68003f99
mov ebx, 1
xor esi, esi
jmp 0x68003cc1
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
add ebx, eax
mov edx, dword [edi]
lea eax, [edx - 1]
cmp eax, esi
ja 0x68003d10
add esi, 1
cmp edx, esi
jbe 0x68003d31
mov dword [esp + 8], 7
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._CryptFindOIDInfo_12
sub esp, 0xc
test eax, eax
je 0x68003ca0
mov edx, dword [eax + 8]
cmp word [edx], 0
je 0x68003cb1
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68003cf8
sub eax, edx
mov edx, dword [edi]
sar eax, 1
add ebx, eax
lea eax, [edx - 1]
cmp eax, esi
jbe 0x68003cba
mov eax, 0x6801769c
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68003d18
sub eax, 0x6801769c
add esi, 1
sar eax, 1
add ebx, eax
cmp edx, esi
ja 0x68003cc1
add ebx, ebx
mov dword [esp + 4], 0
mov dword [esp + 8], ebx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov ebx, eax
mov eax, dword [ebp - 0x30]
sub esp, 0xc
mov dword [eax], ebx
test ebx, ebx
je 0x68003dfa
mov ecx, dword [edi]
test ecx, ecx
je 0x68003df5
xor esi, esi
lea esi, [esi]
mov dword [esp + 8], 7
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._CryptFindOIDInfo_12
mov dword [ebp - 0x2c], eax
sub esp, 0xc
test eax, eax
je 0x68003ef0
mov ecx, dword [eax + 8]
xor eax, eax
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x68003db0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 8]
cmp word [edx], 0
je 0x68003ddd
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x68003dd0
sub eax, edx
add ebx, eax
mov edx, dword [edi]
lea eax, [edx - 1]
cmp eax, esi
ja 0x68003f23
add esi, 1
cmp edx, esi
ja 0x68003d78
xor eax, eax
mov word [ebx], ax
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], ebx
call sym._CertGetEnhancedKeyUsage_16
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0x10
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x68003f58
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], 0x400
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
mov dword [ecx], eax
test eax, eax
je 0x68003eba
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x68022004]
mov dword [esp + 4], 0x438
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x68003e60
mov eax, dword [edi + 4]
mov edx, dword [eax + esi*4]
movsx ax, byte [edx]
test al, al
je 0x68003f11
nop
add edx, 1
mov word [ebx], ax
add ebx, 2
movsx ax, byte [edx]
test al, al
jne 0x68003f00
xor edx, edx
mov word [ebx], dx
mov edx, dword [edi]
lea eax, [edx - 1]
cmp eax, esi
jbe 0x68003dea
xor eax, eax
lea esi, [esi]
movzx ecx, word [eax + 0x6801769c]
mov word [ebx + eax], cx
add eax, 2
test cx, cx
jne 0x68003f28
mov eax, 0x6801769c
add eax, 2
cmp word [eax], 0
jne 0x68003f40
sub eax, 0x6801769c
add ebx, eax
jmp 0x68003dea
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
mov dword [ebp - 0x34], eax
mov edi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 2
jmp 0x68003c6c
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], 0x400
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov edi, dword [ebp - 0x30]
sub esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x68003eba
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [0x68022004]
mov dword [esp + 4], 0x439
mov dword [esp + 0xc], edx
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret