Function at 0x4f97e0
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 0x9dded0
push eax
push ecx
push 0
call fcn.00575ec0
add esp, 0x10
mov edi, eax
xor esi, esi
test eax, eax
je 0x4f9975
test ebx, ebx
je 0x4f9824
mov eax, dword [ebx]
test eax, eax
jne 0x4f9831
call fcn.0050ce20
test eax, eax
je 0x4f9975
mov esi, eax
cmp dword [edi], 1
jne 0x4f992a
mov eax, dword [edi + 4]
mov ecx, eax
sar ecx, 8
cmp ecx, 3
je 0x4f985c
cmp ecx, 0xfe
je 0x4f985c
cmp eax, 0x100
jne 0x4f9942
mov dword [esi], eax
mov eax, dword [edi + 0x78]
mov dword [esi + 0x2d4], eax
mov eax, dword [edi + 8]
cmp dword [eax], 2
jne 0x4f9936
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.004f74f0
add esp, 4
mov dword [esi + 0x2cc], eax
test eax, eax
je 0x4f9975
mov ebp, dword [edi + 0x14]
xor edx, edx
mov ecx, 0
test ebp, ebp
je 0x4f98d8
mov eax, dword [ebp]
test eax, eax
je 0x4f98d8
cmp eax, 0x20
ja 0x4f9975
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 0x4f9904
mov eax, dword [ebx]
test eax, eax
je 0x4f9904
cmp eax, 0x200
ja 0x4f9971
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 0x4f99a0
mov ecx, 0x3b9aca00
mul ecx
mov ecx, edx
imul edx, ebx, 0x3b9aca00
add edx, ecx
jmp 0x4f99a5
mov ebp, 0xfe
mov ebx, 0x11e
jmp 0x4f994c
mov ebp, 0x89
mov ebx, 0x12e
jmp 0x4f994c
mov ebp, 0x103
mov ebx, 0x125
call fcn.005b7120
push str.d2i_SSL_SESSION_ex
push ebx
push str.ssl_ssl_asn1.c
call fcn.005b7220
add esp, 0xc
push 0
push ebp
push 0x14
call fcn.005b7310
add esp, 0xc
mov ebx, dword [esp + 0x20]
push 0x9dded0
push edi
call fcn.005787c0
add esp, 8
test ebx, ebx
je 0x4f998b
cmp dword [ebx], esi
je 0x4f9994
push esi
call fcn.0050d900
add esp, 4
xor esi, esi
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005e93d0
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.0050ccf0
add esp, 4
push dword [esi + 0x2a0]
call fcn.0063e400
add esp, 4
mov eax, dword [edi + 0x30]
mov dword [esi + 0x2a0], eax
mov dword [edi + 0x30], 0
push dword [esi + 0x29c]
call fcn.005cd230
add esp, 4
mov dword [esi + 0x29c], 0
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x4f9a60
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.0063cd70
add esp, 0x14
mov dword [esi + 0x29c], eax
test eax, eax
je 0x4f9971
mov ebx, dword [edi + 0x34]
test ebx, ebx
je 0x4f9a94
mov eax, dword [ebx]
test eax, eax
mov ebp, dword [esp + 0x24]
je 0x4f9a98
cmp eax, 0x20
ja 0x4f9971
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 0x4f9a98
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.004f9c40
test eax, eax
je 0x4f9971
lea ecx, [esi + 0x290]
mov edx, dword [edi + 0x50]
call fcn.004f9c40
test eax, eax
mov ebx, dword [esp + 0x20]
je 0x4f9975
lea ecx, [esi + 0x294]
mov edx, dword [edi + 0x54]
call fcn.004f9c40
test eax, eax
je 0x4f9975
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.005dcbc0
add esp, 0xc
mov ecx, dword [edi + 0x4c]
xor eax, eax
mov edx, 0
test ecx, ecx
je 0x4f9b3e
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 0x4f9b56
cmp dword [ecx], 1
jne 0x4f9bb1
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.004f9c40
test eax, eax
je 0x4f9975
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.005dcbc0
add esp, 0xc
mov edx, dword [edi + 0x6c]
test edx, edx
je 0x4f9bc0
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov dword [edx + 8], 0
jmp 0x4f9bc4
mov ebp, 0x10f
mov ebx, 0x17e
jmp 0x4f994c
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.005dcbc0
add esp, 0xc
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x4f9c07
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
jmp 0x4f9c0b
xor eax, eax
xor edx, edx
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], edx
push 0x9dded0
push edi
call fcn.005787c0
add esp, 8
test ebx, ebx
je 0x4f9c30
cmp dword [ebx], 0
jne 0x4f9c30
mov dword [ebx], esi
mov eax, dword [esp + 4]
mov dword [ebp], eax
jmp 0x4f9996