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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx]
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push 0x9426d0
push eax
push ecx
push 0
call fcn.005748b0
add esp, 0x10
mov edi, eax
xor esi, esi
test eax, eax
je 0x4f8365
test ebx, ebx
je 0x4f8214
mov eax, dword [ebx]
test eax, eax
jne 0x4f8221
call fcn.0050b810
test eax, eax
je 0x4f8365
mov esi, eax
cmp dword [edi], 1
jne 0x4f831a
mov eax, dword [edi + 4]
mov ecx, eax
sar ecx, 8
cmp ecx, 3
je 0x4f824c
cmp ecx, 0xfe
je 0x4f824c
cmp eax, 0x100
jne 0x4f8332
mov dword [esi], eax
mov eax, dword [edi + 0x78]
mov dword [esi + 0x2d4], eax
mov eax, dword [edi + 8]
cmp dword [eax], 2
jne 0x4f8326
mov eax, dword [eax + 8]
movzx eax, word [eax]
rol ax, 8
movzx eax, ax
or eax, 0x3000000
mov dword [esi + 0x2d0], eax
push eax
call fcn.004f5ee0
add esp, 4
mov dword [esi + 0x2cc], eax
test eax, eax
je 0x4f8365
mov ebp, dword [edi + 0x14]
xor edx, edx
mov ecx, 0
test ebp, ebp
je 0x4f82c8
mov eax, dword [ebp]
test eax, eax
je 0x4f82c8
cmp eax, 0x20
ja 0x4f8365
lea ecx, [esi + 0x24c]
push eax
push dword [ebp + 8]
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
xor edx, edx
add esp, 0xc
mov ecx, dword [ebp]
mov dword [esi + 0x248], ecx
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x4f82f4
mov eax, dword [ebx]
test eax, eax
je 0x4f82f4
cmp eax, 0x200
ja 0x4f8361
lea ecx, [esi + 0x48]
push eax
push dword [ebx + 8]
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov edx, dword [ebx]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x24]
mov ecx, eax
or ecx, ebx
je 0x4f8390
mov ecx, 0x3b9aca00
mul ecx
mov ecx, edx
imul edx, ebx, 0x3b9aca00
add edx, ecx
jmp 0x4f8395
mov ebp, 0xfe
mov ebx, 0x11e
jmp 0x4f833c
mov ebp, 0x89
mov ebx, 0x12e
jmp 0x4f833c
mov ebp, 0x103
mov ebx, 0x125
call fcn.005b5b10
push str.d2i_SSL_SESSION_ex
push ebx
push str.ssl_ssl_asn1.c
call fcn.005b5c10
add esp, 0xc
push 0
push ebp
push 0x14
call fcn.005b5d00
add esp, 0xc
mov ebx, dword [esp + 0x20]
push 0x9426d0
push edi
call fcn.005771b0
add esp, 8
test ebx, ebx
je 0x4f837b
cmp dword [ebx], esi
je 0x4f8384
push esi
call fcn.0050c2f0
add esp, 4
xor esi, esi
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005e7dc0
mov dword [esi + 0x2bc], edx
mov dword [esi + 0x2b8], eax
mov ebx, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
mov edx, 0x3b9aca00
mov eax, ecx
mul edx
imul ebp, ebx, 0x3b9aca00
add ebp, edx
xor edx, edx
or ecx, ebx
mov dword [esp], 0
cmove ebp, edx
mov ecx, 0xb2d05e00
cmovne ecx, eax
mov dword [esi + 0x2b0], ecx
mov dword [esi + 0x2b4], ebp
push esi
call fcn.0050b6e0
add esp, 4
push dword [esi + 0x2a0]
call fcn.0063ce00
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [esi + 0x2a0], eax
mov dword [edi + 0x30], 0
push dword [esi + 0x29c]
call fcn.005cbc20
add esp, 4
mov dword [esi + 0x29c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4f8450
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [eax + 8]
mov dword [esp + 8], ebx
lea ebx, [esp + 8]
push ecx
push edx
push dword [eax]
push ebx
push 0
call fcn.0063b770
add esp, 0x14
mov dword [esi + 0x29c], eax
test eax, eax
je 0x4f8361
mov ebx, dword [edi + 0x34]
test ebx, ebx
je 0x4f8484
mov eax, dword [ebx]
test eax, eax
mov ebp, dword [esp + 0x24]
je 0x4f8488
cmp eax, 0x20
ja 0x4f8361
lea ecx, [esi + 0x270]
push eax
push dword [ebx + 8]
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [ebx]
mov dword [esp], eax
jmp 0x4f8488
mov ebp, dword [esp + 0x24]
mov eax, dword [esp]
mov dword [esi + 0x26c], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x2a8], eax
lea ecx, [esi + 0x2e0]
mov edx, dword [edi + 0x3c]
call fcn.004f8630
test eax, eax
je 0x4f8361
lea ecx, [esi + 0x290]
mov edx, dword [edi + 0x50]
call fcn.004f8630
test eax, eax
mov ebx, dword [esp + 0x20]
je 0x4f8365
lea ecx, [esi + 0x294]
mov edx, dword [edi + 0x54]
call fcn.004f8630
test eax, eax
je 0x4f8365
mov eax, dword [edi + 0x40]
mov dword [esi + 0x2ec], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x2f0], eax
push 0x173
push str.ssl_ssl_asn1.c
push dword [esi + 0x2e4]
call fcn.005db5b0
add esp, 0xc
mov ecx, dword [edi + 0x4c]
xor eax, eax
mov edx, 0
test ecx, ecx
je 0x4f852e
mov ebx, dword [ecx]
mov edx, dword [ecx + 8]
mov dword [esi + 0x2e8], ebx
mov ebx, dword [esp + 0x20]
mov dword [ecx + 8], 0
mov dword [esi + 0x2e4], edx
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4f8546
cmp dword [ecx], 1
jne 0x4f85a1
mov eax, dword [ecx + 8]
movzx eax, byte [eax]
mov dword [esi + 0x2c8], eax
lea ecx, [esi + 0x304]
mov edx, dword [edi + 0x58]
call fcn.004f8630
test eax, eax
je 0x4f8365
mov eax, dword [edi + 0x60]
mov dword [esi + 0x310], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x2f4], eax
push 0x18f
push str.ssl_ssl_asn1.c
push dword [esi + 0x2f8]
call fcn.005db5b0
add esp, 0xc
mov edx, dword [edi + 0x6c]
test edx, edx
je 0x4f85b0
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov dword [edx + 8], 0
jmp 0x4f85b4
mov ebp, 0x10f
mov ebx, 0x17e
jmp 0x4f833c
xor ecx, ecx
xor eax, eax
mov dword [esi + 0x2f8], ecx
mov dword [esi + 0x2fc], eax
movzx eax, byte [edi + 0x70]
mov byte [esi + 0x300], al
push 0x19b
push str.ssl_ssl_asn1.c
push dword [esi + 0x308]
call fcn.005db5b0
add esp, 0xc
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x4f85f7
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
jmp 0x4f85fb
xor eax, eax
xor edx, edx
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], edx
push 0x9426d0
push edi
call fcn.005771b0
add esp, 8
test ebx, ebx
je 0x4f8620
cmp dword [ebx], 0
jne 0x4f8620
mov dword [ebx], esi
mov eax, dword [esp + 4]
mov dword [ebp], eax
jmp 0x4f8386