Function at 0x4e2d70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x57c54c]
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 0x4e2dc8
cmp dword [edi + 0x194], 0xffffffff
mov eax, 0x278
mov ecx, 0x2c8
cmovne eax, ecx
cmp dword [eax + edi], 2
je 0x4e2dc8
mov eax, dword [edi + 0xdc]
jmp 0x4e2dce
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.004d3fa0
add esp, 0x10
cmp dword [ebx + 0x1e0], 0
je 0x4e2e7a
mov eax, dword [ebx + 0x218]
cmp eax, dword [ebx + 0x214]
je 0x4e2e90
test al, 8
jne 0x4e2e1a
push str.schannel:_failed_to_setup_sequence_detection
push esi
call fcn.004d3ef0
mov eax, dword [ebx + 0x218]
add esp, 8
test al, 4
jne 0x4e2e32
push str.schannel:_failed_to_setup_replay_detection
push esi
call fcn.004d3ef0
mov eax, dword [ebx + 0x218]
add esp, 8
test al, 0x10
jne 0x4e2e4a
push str.schannel:_failed_to_setup_confidentiality
push esi
call fcn.004d3ef0
mov eax, dword [ebx + 0x218]
add esp, 8
test eax, 0x100
jne 0x4e2e65
push str.schannel:_failed_to_setup_memory_allocation
push esi
call fcn.004d3ef0
mov eax, dword [ebx + 0x218]
add esp, 8
test eax, 0x8000
jne 0x4e2e7a
push str.schannel:_failed_to_setup_stream_orientation
push esi
call fcn.004d3ef0
add esp, 8
pop edi
pop esi
mov eax, 0x23
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x2f0], 0
je 0x4e2f50
push edi
mov dword [ebp - 0x38], 0
call fcn.004cb500
push dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push 0
push eax
push edi
call fcn.004cb0e0
add esp, 0x14
test al, al
sete cl
test al, al
jne 0x4e2ee9
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebx + 0x1e0]
je 0x4e2ee9
push str.schannel:_old_credential_handle_is_stale__removing_n
push esi
call fcn.004d3fa0
push dword [ebp - 0x38]
push edi
call fcn.004cb030
add esp, 0x10
jmp 0x4e2eed
test cl, cl
jne 0x4e2f47
push dword [ebp - 0x34]
push 0x18
push dword [ebx + 0x1e0]
push edi
call fcn.004cac00
add esp, 0x10
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4e2f30
push edi
call fcn.004cb530
push str.schannel:_failed_to_store_credential_handle
push esi
call fcn.004d3ef0
mov eax, dword [ebp - 0x34]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
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.004d3fa0
add esp, 8
push edi
call fcn.004cb530
add esp, 4
cmp byte [esi + 0x288], 0
je 0x4e302e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x57f5bc]
push 0x53
push dword [ebx + 0x1e4]
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
jne 0x4e3024
cmp dword [ebp - 0x30], eax
je 0x4e3024
push 1
push esi
call fcn.004cb300
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e2fb7
mov ecx, dword [ebp - 0x30]
test byte [ecx], 1
je 0x4e2fb7
mov eax, dword [ecx + 8]
test eax, eax
je 0x4e2fb7
mov ecx, dword [ecx + 4]
add eax, ecx
push eax
push ecx
push esi
push edi
call fcn.004f8c50
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 0x4e300d
push dword [ebp - 0x30]
call eax
test esi, esi
je 0x4e302e
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret
push str.schannel:_failed_to_retrieve_remote_cert_context
jmp 0x4e2e71
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
mov dword [ebx + 0x1dc], 5
xor ecx, ebp
pop ebx
call fcn.00500b45
mov esp, ebp
pop ebp
ret