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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c
call fcn.004d28e0
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.004a09d0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4a03f3
jmp 0x4a0978
cmp dword [ebp + 8], 0
je 0x4a0401
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x4a0416
call fcn.004721e0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4a0414
jmp 0x4a0978
jmp 0x4a041e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 1
je 0x4a0458
call fcn.0052db80
push str.d2i_SSL_SESSION
push 0x10a
push str.ssl_ssl_asn1.c
call fcn.0052ddd0
add esp, 0xc
push 0
push 0xfe
push 0x14
call fcn.0052df00
add esp, 0xc
jmp 0x4a0978
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
sar eax, 8
cmp eax, 3
je 0x4a04b5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
sar edx, 8
cmp edx, 0xfe
je 0x4a04b5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0x100
je 0x4a04b5
call fcn.0052db80
push str.d2i_SSL_SESSION
push 0x111
push str.ssl_ssl_asn1.c
call fcn.0052ddd0
add esp, 0xc
push 0
push 0x103
push 0x14
call fcn.0052df00
add esp, 0xc
jmp 0x4a0978
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 0x4a050c
call fcn.0052db80
push str.d2i_SSL_SESSION
push 0x11a
push str.ssl_ssl_asn1.c
call fcn.0052ddd0
add esp, 0xc
push 0
push 0x89
push 0x14
call fcn.0052df00
add esp, 0xc
jmp 0x4a0978
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.0049b450
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2d0], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2d0], 0
jne 0x4a0564
jmp 0x4a0978
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.004a0a60
add esp, 0x10
test eax, eax
jne 0x4a0591
jmp 0x4a0978
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.004a0a60
add esp, 0x10
test eax, eax
jne 0x4a05b9
jmp 0x4a0978
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 0x4a05f0
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 0x4a0609
push 0
call fcn.004a09b0
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 0x4a0637
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 0x4a064e
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2b0], 3
mov dword [edx + 0x2b4], 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00472040
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x29c]
push edx
call fcn.00503f50
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.004a0a60
add esp, 0x10
test eax, eax
jne 0x4a06b2
jmp 0x4a0978
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.004a09f0
add esp, 8
test eax, eax
jne 0x4a06e3
jmp 0x4a0978
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x290
push ecx
call fcn.004a09f0
add esp, 8
test eax, eax
jne 0x4a0705
jmp 0x4a0978
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x294
push ecx
call fcn.004a09f0
add esp, 8
test eax, eax
jne 0x4a0727
jmp 0x4a0978
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.0050e530
add esp, 0xc
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x4c], 0
je 0x4a079c
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 0x4a07a9
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2f0], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc], 0
je 0x4a0806
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
cmp dword [eax], 1
je 0x4a07ef
call fcn.0052db80
push str.d2i_SSL_SESSION
push 0x15d
push str.ssl_ssl_asn1.c
call fcn.0052ddd0
add esp, 0xc
push 0
push 0x10f
push 0x14
call fcn.0052df00
add esp, 0xc
jmp 0x4a0978
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 0x4a0813
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.004a09f0
add esp, 8
test eax, eax
jne 0x4a0834
jmp 0x4a0978
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.0050e530
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x6c], 0
je 0x4a08a9
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 0x4a08c3
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.0050e530
add esp, 0xc
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x74], 0
je 0x4a0929
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 0x4a0943
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x314], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x318], 0
call fcn.004a0330
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00572940
add esp, 8
cmp dword [ebp + 8], 0
je 0x4a096b
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x4a096b
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 0x4a09a8
call fcn.004a0330
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00572940
add esp, 8
cmp dword [ebp + 8], 0
je 0x4a099a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x10]
je 0x4a09a6
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004736e0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret