Function at 0x4db660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526392
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xac], esi
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x180]
push eax
mov dword [ebp - 0xc0], vtable.ProtocolFilters::AutoLock.0
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x18], 0
mov dword [ebp - 4], 0
jne 0x4dba64
call fcn.00401010
call fcn.00401010
call fcn.00401000
call fcn.00435a90
push 0xc1
push str.f:projectshttpdebugger_sdkprotocolfilters_ssl_ssldataprovider.cpp
call fcn.0042baf0
shl eax, 2
push eax
call fcn.0042c1a0
add esp, 0xc
mov dword [0x58b398], eax
xor esi, esi
call fcn.0042baf0
test eax, eax
jle 0x4db72b
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
nop dword [eax]
push 0
push 0
push 0
call edi
mov ecx, dword [0x58b398]
mov dword [ecx + esi*4], eax
inc esi
call fcn.0042baf0
cmp esi, eax
jl 0x4db710
push 0x4ddc60
call fcn.0042bc50
mov ecx, ebx
add esp, 4
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4db740
mov esi, dword [ebp - 0xac]
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, esi
call fcn.004c3110
push 0xf
push 0x575064
lea ecx, [esi + 0x1c]
call fcn.004a4bf0
push str.cert.db
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.004d45f0
add esp, 0xc
mov ebx, eax
lea edi, [esi + 0xa0]
mov dword [ebp - 0xb8], vtable.ProtocolFilters::AutoLock.0
lea eax, [edi + 0x14]
push eax
mov dword [ebp - 0xb4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.004d9cf0
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4db7b9
mov eax, dword [ebx]
push 0x52bc94
push eax
call fcn.0050a7e8
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
jne 0x4db7fa
cmp dword [ebx + 0x14], 8
jb 0x4db7d6
mov ebx, dword [ebx]
push 0x52bc9c
push ebx
call fcn.0050a7e8
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
jne 0x4db7fa
lea eax, [edi + 0x14]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
mov bl, 1
jmp 0x4db81c
mov ecx, edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.004dbe80
lea eax, [edi + 0x14]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor bl, bl
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
call fcn.004c33b0
test bl, bl
jne 0x4db91c
push esi
mov ecx, edi
call fcn.004dae10
push str.x.db
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.004d45f0
add esp, 0xc
push eax
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 3
call fcn.004db3f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
mov bl, al
call fcn.004c33b0
test bl, bl
je 0x4db91c
push str.xtls.db
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.004d45f0
add esp, 0xc
push eax
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 4
call fcn.004db3f0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
mov bl, al
call fcn.004c33b0
test bl, bl
je 0x4db91c
push str.xv.db
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.004d45f0
add esp, 0xc
push eax
lea ecx, [esi + 0x140]
mov byte [ebp - 4], 5
call fcn.004db3f0
lea ecx, [ebp - 0xa8]
mov bl, al
call fcn.004c33b0
test bl, bl
je 0x4db91c
call fcn.004309c0
mov dword [ebp - 0xb0], eax
call fcn.0042aef0
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x4db91c
push str.Root
push 0
call dword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov ebx, eax
test ebx, ebx
jne 0x4db94a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
push dword [ebp - 0xbc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 4
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov edi, eax
test edi, edi
je 0x4db9f7
nop dword [eax]
push dword [edi + 8]
lea ecx, [edi + 4]
push ecx
push 0
call fcn.00434440
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4db9df
push 0x80
lea eax, [ebp - 0x90]
push eax
push esi
call fcn.00434bd0
add esp, 4
push eax
call fcn.00434580
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x10]
push dword [eax]
call fcn.00432b50
add esp, 0x14
test eax, eax
jns 0x4db9df
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x10]
push dword [eax + 4]
call fcn.00432b50
add esp, 8
test eax, eax
jle 0x4db9df
push esi
push dword [ebp - 0xb0]
call fcn.00430f90
add esp, 8
test eax, eax
je 0x4db9df
push esi
push dword [ebp - 0xb4]
call fcn.0042aba0
add esp, 8
push edi
push ebx
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov edi, eax
test edi, edi
jne 0x4db960
mov esi, dword [ebp - 0xac]
push 0
push ebx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
test eax, eax
jne 0x4dba0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0xb0]
mov ecx, esi
mov dword [esi + 0x178], eax
mov eax, dword [ebp - 0xb4]
mov dword [esi + 0x17c], eax
call fcn.004dcc20
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push esi
push 0x4ddc40
push 0
push 0
call fcn.0050ec18
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4dba60
mov ecx, dword [esi + 0x5c]
cmp ecx, 0xffffffff
je 0x4dba5d
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x5c], edi
mov byte [esi + 0x18], 1
mov bl, 1
jmp 0x4db91e