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

Disassembly:
mov eax, 0x58
call fcn.0059eec0
mov eax, dword [0x647f80]
xor eax, esp
mov dword [esp + 0x54], eax
cmp dword [esp + 0x64], 1
push ebx
mov ebx, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x68]
je 0x486020
push 0x29
push str.ssl_record_ssl3_record_tls13.c
push 0x44
push 0
push 0x50
push ebx
call fcn.004610a0
add esp, 0x18
or eax, 0xffffffff
pop edi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0059e4d3
add esp, 0x58
ret
cmp dword [esp + 0x70], 0
push esi
je 0x486040
mov esi, dword [ebx + 0x744]
lea ecx, [ebx + 0x748]
mov dword [esp + 0x10], ecx
lea eax, [ebx + 0x130c]
jmp 0x486056
mov esi, dword [ebx + 0x724]
lea eax, [ebx + 0x728]
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x1304]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x48644a
cmp dword [edi + 4], 0x15
je 0x48644a
push esi
call fcn.0049bc00
mov ecx, dword [ebx + 0x68]
add esp, 4
mov edx, eax
mov dword [esp + 0x20], edx
cmp ecx, 4
je 0x4860c0
cmp ecx, 3
je 0x4860c0
mov eax, dword [ebx + 0x28c]
test eax, eax
jne 0x4860f4
push 0x59
push str.ssl_record_ssl3_record_tls13.c
push 0x44
push eax
push 0x50
push ebx
call fcn.004610a0
add esp, 0x18
or eax, 0xffffffff
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0059e4d3
add esp, 0x58
ret
mov eax, dword [ebx + 0x7cc]
test eax, eax
je 0x4860d3
cmp dword [eax + 0x1e8], 0
ja 0x4860ee
mov eax, dword [ebx + 0x7d0]
test eax, eax
je 0x48641f
cmp dword [eax + 0x1e8], 0
jbe 0x48641f
mov eax, dword [eax + 0x1bc]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], eax
push ebp
test eax, 0x3c000
je 0x486160
mov ebp, eax
and ebp, 0x30000
neg ebp
sbb ebp, ebp
and ebp, 0xfffffff8
add ebp, 0x10
cmp dword [esp + 0x78], 0
je 0x48617e
push 0
push ebp
push 0x11
push esi
call fcn.0049d1f0
add esp, 0x10
test eax, eax
jg 0x48615a
push 0x67
push str.ssl_record_ssl3_record_tls13.c
push 0x44
push 0
push 0x50
push ebx
call fcn.004610a0
add esp, 0x18
pop ebp
pop esi
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0059e4d3
add esp, 0x58
ret
mov edx, dword [esp + 0x24]
jmp 0x486177
test eax, 0x3000
jne 0x486172
test eax, 0x80000
je 0x486418
mov ebp, 0x10
cmp dword [esp + 0x78], 0
jne 0x4861a2
mov ecx, dword [edi + 8]
lea eax, [ebp + 1]
cmp ecx, eax
jae 0x48619d
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0059e4d3
add esp, 0x58
ret
sub ecx, ebp
mov dword [edi + 8], ecx
cmp edx, 8
jae 0x4861ae
push 0x82
jmp 0x486130
lea esi, [edx - 8]
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
call fcn.0059fdf0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
movzx eax, byte [esi + edx]
xor al, byte [ecx]
mov byte [esp + esi + 0x4c], al
movzx eax, byte [esi + edx + 1]
xor al, byte [ecx + 1]
mov byte [esp + esi + 0x4d], al
movzx eax, byte [esi + edx + 2]
xor al, byte [ecx + 2]
mov byte [esp + esi + 0x4e], al
movzx eax, byte [esi + edx + 3]
xor al, byte [ecx + 3]
mov byte [esp + esi + 0x4f], al
movzx eax, byte [esi + edx + 4]
xor al, byte [ecx + 4]
mov byte [esp + esi + 0x50], al
movzx eax, byte [esi + edx + 5]
xor al, byte [ecx + 5]
mov byte [esp + esi + 0x51], al
movzx eax, byte [esi + edx + 6]
xor al, byte [ecx + 6]
add ecx, 7
mov byte [esp + esi + 0x52], al
movzx eax, byte [esi + edx + 7]
xor al, byte [ecx]
mov byte [esp + esi + 0x53], al
mov eax, 8
add byte [ecx], 1
jne 0x486240
dec ecx
sub eax, 1
jne 0x486230
jmp 0x486144
push dword [esp + 0x78]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0
push esi
call fcn.0049ddc0
add esp, 0x18
test eax, eax
jle 0x486144
cmp dword [esp + 0x78], 0
jne 0x486286
mov eax, dword [edi + 0x14]
add eax, dword [edi + 8]
push eax
push ebp
push 0x11
push esi
call fcn.0049d1f0
add esp, 0x10
test eax, eax
jle 0x486144
push 0
push 5
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0047cb30
add esp, 0x10
test eax, eax
je 0x486406
push 1
push dword [edi + 4]
lea eax, [esp + 0x38]
push eax
call fcn.0047cc50
add esp, 0xc
test eax, eax
je 0x486406
push 2
push dword [edi]
lea eax, [esp + 0x38]
push eax
call fcn.0047cc50
add esp, 0xc
test eax, eax
je 0x486406
mov eax, dword [edi + 8]
add eax, ebp
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0047cc50
add esp, 0xc
test eax, eax
je 0x486406
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0047c8a0
add esp, 8
test eax, eax
je 0x486406
cmp dword [esp + 0x28], 5
jne 0x486406
lea eax, [esp + 0x30]
push eax
call fcn.0047c7f0
add esp, 4
test eax, eax
je 0x486406
test dword [esp + 0x18], 0x3c000
je 0x486355
push dword [edi + 8]
lea eax, [esp + 0x14]
push 0
push eax
push 0
push esi
call fcn.0049e6e0
add esp, 0x14
test eax, eax
jle 0x486144
push 5
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
call fcn.0049e6e0
add esp, 0x14
test eax, eax
jle 0x486144
push dword [edi + 8]
lea eax, [esp + 0x14]
push dword [edi + 0x18]
push eax
push dword [edi + 0x14]
push esi
call fcn.0049e6e0
add esp, 0x14
test eax, eax
jle 0x486144
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edi + 0x14]
add eax, dword [esp + 0x14]
push eax
push esi
call fcn.0049dda0
add esp, 0xc
test eax, eax
jle 0x486144
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x10]
mov edx, dword [edi + 8]
cmp eax, edx
jne 0x486144
cmp dword [esp + 0x78], 0
je 0x4863ee
mov eax, dword [edi + 0x14]
add eax, edx
push eax
push ebp
push 0x10
push esi
call fcn.0049d1f0
add esp, 0x10
test eax, eax
jg 0x4863eb
push 0xbd
jmp 0x486130
add dword [edi + 8], ebp
pop ebp
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0059e4d3
add esp, 0x58
ret
lea eax, [esp + 0x30]
push eax
call fcn.0047c670
add esp, 4
jmp 0x486144
push 0x70
jmp 0x486130
push 0x4d
push str.ssl_record_ssl3_record_tls13.c
push 0x44
push 0
push 0x50
push ebx
call fcn.004610a0
add esp, 0x18
or eax, 0xffffffff
pop esi
pop edi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0059e4d3
add esp, 0x58
ret
push dword [edi + 8]
push dword [edi + 0x18]
push dword [edi + 0x14]
call fcn.0059fdf0
mov eax, dword [edi + 0x14]
add esp, 0xc
mov ecx, dword [esp + 0x60]
mov dword [edi + 0x18], eax
mov eax, 1
pop esi
pop edi
pop ebx
xor ecx, esp
call fcn.0059e4d3
add esp, 0x58
ret