Function at 0x4a3ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c
call fcn.004d61c0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 4]
push eax
push 0
call fcn.004a41c0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4a3be3
jmp 0x4a4168
cmp dword [ebp + 8], 0
je 0x4a3bf1
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x4a3c06
call fcn.00474f50
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4a3c04
jmp 0x4a4168
jmp 0x4a3c0e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 1
je 0x4a3c48
call fcn.005316f0
push str.d2i_SSL_SESSION
push 0x10a
push str.ssl_ssl_asn1.c
call fcn.00531940
add esp, 0xc
push 0
push 0xfe
push 0x14
call fcn.00531a70
add esp, 0xc
jmp 0x4a4168
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
sar eax, 8
cmp eax, 3
je 0x4a3ca5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
sar edx, 8
cmp edx, 0xfe
je 0x4a3ca5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0x100
je 0x4a3ca5
call fcn.005316f0
push str.d2i_SSL_SESSION
push 0x111
push str.ssl_ssl_asn1.c
call fcn.00531940
add esp, 0xc
push 0
push 0x103
push 0x14
call fcn.00531a70
add esp, 0xc
jmp 0x4a4168
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x2d8], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
cmp dword [edx], 2
je 0x4a3cfc
call fcn.005316f0
push str.d2i_SSL_SESSION
push 0x11a
push str.ssl_ssl_asn1.c
call fcn.00531940
add esp, 0xc
push 0
push 0x89
push 0x14
call fcn.00531a70
add esp, 0xc
jmp 0x4a4168
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
movzx eax, byte [edx]
shl eax, 8
or eax, 0x3000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 8]
movzx edx, byte [ecx + 1]
or eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x2d4], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0049eb30
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2d0], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2d0], 0
jne 0x4a3d54
jmp 0x4a4168
push 0x20
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x248
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x24c
push eax
call fcn.004a4250
add esp, 0x10
test eax, eax
jne 0x4a3d81
jmp 0x4a4168
push 0x200
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
push ecx
call fcn.004a4250
add esp, 0x10
test eax, eax
jne 0x4a3da9
jmp 0x4a4168
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 0x20]
or ecx, dword [eax + 0x24]
je 0x4a3de0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x2b8], ecx
mov eax, dword [eax + 0x24]
mov dword [edx + 0x2bc], eax
jmp 0x4a3df9
push 0
call fcn.004a41a0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2b8], eax
mov dword [ecx + 0x2bc], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x28]
or edx, dword [ecx + 0x2c]
je 0x4a3e27
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2b0], edx
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 0x2b4], ecx
jmp 0x4a3e3e
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2b0], 3
mov dword [edx + 0x2b4], 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00474db0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x29c]
push edx
call fcn.0050f280
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x29c], edx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
push 0x20
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x26c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x270
push ecx
call fcn.004a4250
add esp, 0x10
test eax, eax
jne 0x4a3ea2
jmp 0x4a4168
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x2a4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2ec
push ecx
call fcn.004a41e0
add esp, 8
test eax, eax
jne 0x4a3ed3
jmp 0x4a4168
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x290
push ecx
call fcn.004a41e0
add esp, 8
test eax, eax
jne 0x4a3ef5
jmp 0x4a4168
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x294
push ecx
call fcn.004a41e0
add esp, 8
test eax, eax
jne 0x4a3f17
jmp 0x4a4168
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x40]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2f8], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x48]
mov dword [edx + 0x2fc], ecx
push 0x152
push str.ssl_ssl_asn1.c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2f0]
push eax
call fcn.0051ca30
add esp, 0xc
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x4c], 0
je 0x4a3f8c
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x4c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + 8]
mov dword [ecx + 0x2f0], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [edx + 0x2f4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x4c]
mov dword [edx + 8], 0
jmp 0x4a3f99
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2f0], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc], 0
je 0x4a3ff6
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
cmp dword [eax], 1
je 0x4a3fdf
call fcn.005316f0
push str.d2i_SSL_SESSION
push 0x15d
push str.ssl_ssl_asn1.c
call fcn.00531940
add esp, 0xc
push 0
push 0x10f
push 0x14
call fcn.00531a70
add esp, 0xc
jmp 0x4a4168
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 8]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2cc], ecx
jmp 0x4a4003
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2cc], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x58]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x310
push eax
call fcn.004a41e0
add esp, 8
test eax, eax
jne 0x4a4024
jmp 0x4a4168
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x31c], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x68]
mov dword [ecx + 0x300], eax
push 0x16e
push str.ssl_ssl_asn1.c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x304]
push edx
call fcn.0051ca30
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x6c], 0
je 0x4a4099
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x6c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
mov dword [eax + 0x304], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [ecx + 0x308], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x6c]
mov dword [ecx + 8], 0
jmp 0x4a40b3
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x304], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x308], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 0x70]
mov byte [ecx + 0x30c], al
push 0x17a
push str.ssl_ssl_asn1.c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x314]
push edx
call fcn.0051ca30
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x74], 0
je 0x4a4119
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x74]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + 8]
mov dword [eax + 0x314], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x74]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
mov dword [ecx + 0x318], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x74]
mov dword [ecx + 8], 0
jmp 0x4a4133
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x314], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x318], 0
call fcn.004a3b20
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00575d40
add esp, 8
cmp dword [ebp + 8], 0
je 0x4a415b
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x4a415b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
jmp 0x4a4198
call fcn.004a3b20
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00575d40
add esp, 8
cmp dword [ebp + 8], 0
je 0x4a418a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x10]
je 0x4a4196
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004764c0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret