Function at 0x4dab80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x57254c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [eax + eax*4]
shl ebx, 4
add ebx, edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
cmp dword [edi + 0xe8], 2
mov esi, dword [edi]
jne 0x4dabd8
cmp dword [edi + 0x194], 0xffffffff
mov eax, 0x278
mov ecx, 0x2c8
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x4dabd8
mov eax, dword [edi + 0xdc]
jmp 0x4dabde
mov eax, dword [edi + 0x98]
push dword [edi + 0xf8]
push eax
push str.schannel:_SSL_TLS_connection_with__s_port__hu__step_3_3__n
push esi
call fcn.004cbdb0
add esp, 0x10
cmp dword [ebx + 0x1e0], 0
je 0x4dac8a
mov eax, dword [ebx + 0x218]
cmp eax, dword [ebx + 0x214]
je 0x4daca0
test al, 8
jne 0x4dac2a
push str.schannel:_failed_to_setup_sequence_detection
push esi
call fcn.004cbd00
mov eax, dword [ebx + 0x218]
add esp, 8
test al, 4
jne 0x4dac42
push str.schannel:_failed_to_setup_replay_detection
push esi
call fcn.004cbd00
mov eax, dword [ebx + 0x218]
add esp, 8
test al, 0x10
jne 0x4dac5a
push str.schannel:_failed_to_setup_confidentiality
push esi
call fcn.004cbd00
mov eax, dword [ebx + 0x218]
add esp, 8
test eax, 0x100
jne 0x4dac75
push str.schannel:_failed_to_setup_memory_allocation
push esi
call fcn.004cbd00
mov eax, dword [ebx + 0x218]
add esp, 8
test eax, 0x8000
jne 0x4dac8a
push str.schannel:_failed_to_setup_stream_orientation
push esi
call fcn.004cbd00
add esp, 8
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x2f0], 0
je 0x4dad60
push edi
mov dword [ebp - 0x38], 0
call fcn.004c3310
push dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push 0
push eax
push edi
call fcn.004c2ef0
add esp, 0x14
test al, al
sete cl
test al, al
jne 0x4dacf9
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebx + 0x1e0]
je 0x4dacf9
push str.schannel:_old_credential_handle_is_stale__removing_n
push esi
call fcn.004cbdb0
push dword [ebp - 0x38]
push edi
call fcn.004c2e40
add esp, 0x10
jmp 0x4dacfd
test cl, cl
jne 0x4dad57
push dword [ebp - 0x34]
push 0x18
push dword [ebx + 0x1e0]
push edi
call fcn.004c2a10
add esp, 0x10
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4dad40
push edi
call fcn.004c3340
push str.schannel:_failed_to_store_credential_handle
push esi
call fcn.004cbd00
mov eax, dword [ebp - 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1e0]
push str.schannel:_stored_credential_handle_in_session_cache_n
push esi
inc dword [eax + 0x10]
call fcn.004cbdb0
add esp, 8
push edi
call fcn.004c3340
add esp, 4
cmp byte [esi + 0x288], 0
je 0x4dae3e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x575428]
push 0x53
push dword [ebx + 0x1e4]
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
jne 0x4dae34
cmp dword [ebp - 0x30], eax
je 0x4dae34
push 1
push esi
call fcn.004c3110
mov esi, eax
add esp, 8
test esi, esi
jne 0x4dadc7
mov ecx, dword [ebp - 0x30]
test byte [ecx], 1
je 0x4dadc7
mov eax, dword [ecx + 8]
test eax, eax
je 0x4dadc7
mov ecx, dword [ecx + 4]
add eax, ecx
push eax
push ecx
push esi
push edi
call fcn.004f0a60
add esp, 0x10
mov esi, eax
movaps xmm0, xmmword [str.CertFreeCertificCryptAcquireContCryptReleaseCont]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x70797263
push eax
mov dword [ebp - 0xc], 0x2e323374
mov dword [ebp - 8], 0x6c6c64
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x43657461
mov dword [ebp - 0x18], 0x65746e6f
mov word [ebp - 0x14], 0x7478
mov byte [ebp - 0x12], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4dae1d
push dword [ebp - 0x30]
call eax
test esi, esi
je 0x4dae3e
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8955
mov esp, ebp
pop ebp
ret
push str.schannel:_failed_to_retrieve_remote_cert_context
jmp 0x4dac81
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
mov dword [ebx + 0x1dc], 5
xor ecx, ebp
pop ebx
call fcn.004f8955
mov esp, ebp
pop ebp
ret