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

Disassembly:
mov eax, 8
call fcn.0053e710
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
mov eax, dword [eax]
xor esi, esi
push 0x74b580
push dword [esp + 0x24]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00594ab0
mov ebx, dword [esp + 0x28]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x5df3ee
test ebx, ebx
je 0x5df3b4
mov esi, dword [ebx]
test esi, esi
jne 0x5df3bf
call fcn.0056b950
mov esi, eax
test esi, esi
je 0x5df3ee
cmp dword [edi], 1
je 0x5df416
call fcn.0054cc90
push str.d2i_SSL_SESSION_ex
push 0x11e
push str.ssl_ssl_asn1.c
call fcn.0054cd90
push 0
push 0xfe
push 0x14
call fcn.0054cea0
add esp, 0x18
push 0x74b580
push edi
call fcn.00594600
add esp, 8
test ebx, ebx
je 0x5df404
cmp dword [ebx], esi
je 0x5df40d
push esi
call fcn.0056ba10
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [edi + 4]
mov eax, ecx
sar eax, 8
cmp eax, 3
je 0x5df454
cmp eax, 0xfe
je 0x5df454
cmp ecx, 0x100
je 0x5df454
call fcn.0054cc90
push str.d2i_SSL_SESSION_ex
push 0x125
push str.ssl_ssl_asn1.c
call fcn.0054cd90
push 0
push 0x103
jmp 0x5df3e4
mov dword [esi], ecx
mov eax, dword [edi + 0x78]
mov dword [esi + 0x2d4], eax
mov eax, dword [edi + 8]
cmp dword [eax], 2
je 0x5df48c
call fcn.0054cc90
push str.d2i_SSL_SESSION_ex
push 0x12e
push str.ssl_ssl_asn1.c
call fcn.0054cd90
push 0
push 0x89
jmp 0x5df3e4
mov eax, dword [eax + 8]
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
or ecx, 0x30000
shl ecx, 8
or ecx, eax
push ecx
mov dword [esi + 0x2d0], ecx
call fcn.005e0f10
add esp, 4
mov dword [esi + 0x2cc], eax
test eax, eax
je 0x5df3ee
push 0x20
push dword [edi + 0x14]
lea eax, [esi + 0x248]
push eax
lea eax, [esi + 0x24c]
push eax
call fcn.005df870
add esp, 0x10
test eax, eax
je 0x5df3ee
push 0x200
push dword [edi + 0x10]
lea eax, [esp + 0x18]
push eax
lea eax, [esi + 0x48]
push eax
call fcn.005df870
add esp, 0x10
test eax, eax
je 0x5df3ee
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x20]
mov ecx, eax
or ecx, dword [edi + 0x24]
push ebp
je 0x5df52f
cdq
mov ebp, 0x3b9aca00
mov ecx, eax
mov eax, edx
mul ebp
mov ebp, eax
mov eax, ecx
mov ecx, 0x3b9aca00
mul ecx
add ebp, edx
jmp 0x5df536
call fcn.005b0be0
mov ebp, edx
mov dword [esi + 0x2b8], eax
mov dword [esi + 0x2bc], ebp
mov ebp, dword [edi + 0x28]
mov ecx, ebp
mov eax, dword [edi + 0x2c]
or ecx, eax
je 0x5df564
mov ecx, 0x3b9aca00
mul ecx
mov edx, 0x3b9aca00
mov ecx, eax
mov eax, ebp
mul edx
add ecx, edx
jmp 0x5df56b
mov eax, 0xb2d05e00
xor ecx, ecx
mov dword [esi + 0x2b0], eax
push esi
mov dword [esi + 0x2b4], ecx
call fcn.0056cb20
push dword [esi + 0x2a0]
call fcn.0054ac80
mov eax, dword [edi + 0x30]
mov dword [esi + 0x2a0], eax
mov dword [edi + 0x30], 0
push dword [esi + 0x29c]
call fcn.00560b20
add esp, 0xc
mov dword [esi + 0x29c], 0
mov ecx, dword [edi + 0x7c]
pop ebp
test ecx, ecx
je 0x5df5e6
push dword [esp + 0x28]
mov eax, dword [ecx + 8]
push dword [esp + 0x28]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push dword [ecx]
push eax
push 0
call fcn.00565f40
add esp, 0x14
mov dword [esi + 0x29c], eax
test eax, eax
je 0x5df3ee
push 0x20
push dword [edi + 0x34]
lea eax, [esi + 0x26c]
push eax
lea eax, [esi + 0x270]
push eax
call fcn.005df870
add esp, 0x10
test eax, eax
je 0x5df3ee
mov eax, dword [edi + 0x38]
mov dword [esi + 0x2a8], eax
lea eax, [esi + 0x2e8]
push dword [edi + 0x3c]
push eax
call fcn.005df810
add esp, 8
test eax, eax
je 0x5df3ee
push dword [edi + 0x50]
lea eax, [esi + 0x290]
push eax
call fcn.005df810
add esp, 8
test eax, eax
je 0x5df3ee
push dword [edi + 0x54]
lea eax, [esi + 0x294]
push eax
call fcn.005df810
add esp, 8
test eax, eax
je 0x5df3ee
mov eax, dword [edi + 0x40]
push 0x173
push str.ssl_ssl_asn1.c
push dword [esi + 0x2ec]
mov dword [esi + 0x2f4], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x2f8], eax
call fcn.0054c6e0
mov eax, dword [edi + 0x4c]
add esp, 0xc
test eax, eax
je 0x5df6b1
mov eax, dword [eax + 8]
mov dword [esi + 0x2ec], eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax]
mov dword [esi + 0x2f0], eax
mov eax, dword [edi + 0x4c]
mov dword [eax + 8], 0
jmp 0x5df6bb
mov dword [esi + 0x2ec], 0
mov eax, dword [edi + 0xc]
test eax, eax
je 0x5df6f4
cmp dword [eax], 1
je 0x5df6ec
call fcn.0054cc90
push str.d2i_SSL_SESSION_ex
push 0x17e
push str.ssl_ssl_asn1.c
call fcn.0054cd90
push 0
push 0x10f
jmp 0x5df3e4
mov eax, dword [eax + 8]
movzx eax, byte [eax]
jmp 0x5df6f6
xor eax, eax
mov dword [esi + 0x2c8], eax
lea eax, [esi + 0x30c]
push dword [edi + 0x58]
push eax
call fcn.005df810
add esp, 8
test eax, eax
je 0x5df3ee
mov eax, dword [edi + 0x60]
push 0x18f
push str.ssl_ssl_asn1.c
push dword [esi + 0x300]
mov dword [esi + 0x318], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x2fc], eax
call fcn.0054c6e0
mov eax, dword [edi + 0x6c]
add esp, 0xc
test eax, eax
je 0x5df767
mov eax, dword [eax + 8]
mov dword [esi + 0x300], eax
mov eax, dword [edi + 0x6c]
mov eax, dword [eax]
mov dword [esi + 0x304], eax
mov eax, dword [edi + 0x6c]
mov dword [eax + 8], 0
jmp 0x5df77b
mov dword [esi + 0x300], 0
mov dword [esi + 0x304], 0
mov al, byte [edi + 0x70]
push 0x19b
push str.ssl_ssl_asn1.c
push dword [esi + 0x310]
mov byte [esi + 0x308], al
call fcn.0054c6e0
mov eax, dword [edi + 0x74]
add esp, 0xc
test eax, eax
je 0x5df7c3
mov eax, dword [eax + 8]
mov dword [esi + 0x310], eax
mov eax, dword [edi + 0x74]
mov eax, dword [eax]
mov dword [esi + 0x314], eax
mov eax, dword [edi + 0x74]
mov dword [eax + 8], 0
jmp 0x5df7d7
mov dword [esi + 0x310], 0
mov dword [esi + 0x314], 0
push 0x74b580
push edi
call fcn.00594600
add esp, 8
test ebx, ebx
je 0x5df7f0
cmp dword [ebx], 0
jne 0x5df7f0
mov dword [ebx], esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
pop edi
mov dword [ecx], eax
mov eax, esi
pop esi
pop ebx
add esp, 8
ret