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

Disassembly:
mov eax, 0x58
call fcn.0062f130
mov eax, dword [0x6d3f68]
xor eax, esp
mov dword [esp + 0x54], eax
cmp dword [esp + 0x64], 1
mov ecx, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x64]
je 0x6200b5
call fcn.004dd410
push str.tls13_enc
push 0x26
push str.ssl_record_ssl3_record_tls13.c
call fcn.004dd510
push 0
push 0xc0103
push 0x50
push ebp
call fcn.005f72f0
add esp, 0x1c
xor eax, eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0062e5ad
add esp, 0x58
ret
push esi
test ecx, ecx
je 0x6200c2
mov esi, dword [ebp + 0x744]
jmp 0x6200c8
mov esi, dword [ebp + 0x724]
xor eax, eax
mov dword [esp + 0x14], esi
test ecx, ecx
mov edx, 0x728
setne al
lea eax, [eax*8 + 0x1308]
add eax, ebp
test ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, 0x748
cmove eax, edx
add eax, ebp
mov dword [esp + 0x10], eax
test esi, esi
je 0x62052b
cmp dword [ebx + 4], 0x15
je 0x62052b
push edi
push esi
call fcn.004dc000
mov ecx, dword [ebp + 0x68]
add esp, 4
mov edx, eax
mov dword [esp + 0x1c], edx
cmp ecx, 4
je 0x620170
cmp ecx, 3
je 0x620170
mov edi, dword [ebp + 0x28c]
test edi, edi
jne 0x62016b
call fcn.004dd410
push str.tls13_enc
push 0x54
push str.ssl_record_ssl3_record_tls13.c
call fcn.004dd510
push 0
push 0xc0103
push 0x50
push ebp
call fcn.005f72f0
add esp, 0x1c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0062e5ad
add esp, 0x58
ret
mov edi, dword [edi + 0x18]
jmp 0x6201a7
mov eax, dword [ebp + 0x7cc]
test eax, eax
je 0x620183
cmp dword [eax + 0x300], 0
ja 0x62019e
mov eax, dword [ebp + 0x7d0]
test eax, eax
je 0x62051a
cmp dword [eax + 0x300], 0
jbe 0x62051a
mov eax, dword [eax + 0x2d0]
mov edi, dword [eax + 0x18]
mov eax, edi
and eax, 0x3c000
mov dword [esp + 0x28], eax
je 0x6201f4
and edi, 0x30000
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 0x10
cmp dword [esp + 0x78], 0
je 0x620214
push 0
push edi
push 0x11
push esi
call fcn.004cb120
add esp, 0x10
test eax, eax
jg 0x6201ee
call fcn.004dd410
push str.tls13_enc
push 0x61
jmp 0x62013a
mov edx, dword [esp + 0x1c]
jmp 0x62020d
test edi, 0x3000
jne 0x620208
test edi, 0x80000
je 0x620509
mov edi, 0x10
cmp dword [esp + 0x78], 0
jne 0x620227
mov ecx, dword [ebx + 8]
lea eax, [edi + 1]
cmp ecx, eax
jb 0x620156
sub ecx, edi
mov dword [ebx + 8], ecx
cmp edx, 8
jae 0x62023d
call fcn.004dd410
push str.tls13_enc
push 0x7a
jmp 0x62013a
lea esi, [edx - 8]
push esi
push dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x20]
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
nop
add byte [ecx], 1
jne 0x6202de
dec ecx
sub eax, 1
jne 0x6202c0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0062e5ad
add esp, 0x58
ret
push dword [esp + 0x78]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0
push esi
call fcn.004cbd00
add esp, 0x18
test eax, eax
jle 0x6204f5
cmp dword [esp + 0x78], 0
jne 0x620324
mov eax, dword [ebx + 0x14]
add eax, dword [ebx + 8]
push eax
push edi
push 0x11
push esi
call fcn.004cb120
add esp, 0x10
test eax, eax
jle 0x6204f5
push 0
push 5
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.005d00a0
add esp, 0x10
test eax, eax
je 0x6204ab
push 1
push dword [ebx + 4]
lea eax, [esp + 0x38]
push eax
call fcn.005d01d0
add esp, 0xc
test eax, eax
je 0x6204ab
push 2
push dword [ebx]
lea eax, [esp + 0x38]
push eax
call fcn.005d01d0
add esp, 0xc
test eax, eax
je 0x6204ab
mov eax, dword [ebx + 8]
add eax, edi
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.005d01d0
add esp, 0xc
test eax, eax
je 0x6204ab
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.005cfe00
add esp, 8
test eax, eax
je 0x6204ab
cmp dword [esp + 0x24], 5
jne 0x6204ab
lea eax, [esp + 0x30]
push eax
call fcn.005cfd50
add esp, 4
test eax, eax
je 0x6204ab
cmp dword [esp + 0x28], 0
je 0x6203f0
push dword [ebx + 8]
lea eax, [esp + 0x14]
push 0
push eax
push 0
push esi
call fcn.004cbd30
add esp, 0x14
test eax, eax
jle 0x620156
push 5
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push esi
call fcn.004cbd30
add esp, 0x14
test eax, eax
jle 0x620156
push dword [ebx + 8]
lea eax, [esp + 0x14]
push dword [ebx + 0x18]
push eax
push dword [ebx + 0x14]
push esi
call fcn.004cbd30
add esp, 0x14
test eax, eax
jle 0x620156
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 0x14]
add eax, dword [esp + 0x14]
push eax
push esi
call fcn.004cbce0
add esp, 0xc
test eax, eax
jle 0x620156
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x10]
mov edx, dword [ebx + 8]
cmp eax, edx
jne 0x620156
cmp dword [esp + 0x78], 0
je 0x620493
mov eax, dword [ebx + 0x14]
add eax, edx
push eax
push edi
push 0x10
push esi
call fcn.004cb120
add esp, 0x10
test eax, eax
jg 0x620490
call fcn.004dd410
push str.tls13_enc
push 0xb5
jmp 0x62013a
add dword [ebx + 8], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0062e5ad
add esp, 0x58
ret
call fcn.004dd410
push str.tls13_enc
push 0x9d
push str.ssl_record_ssl3_record_tls13.c
call fcn.004dd510
push 0
push 0xc0103
push 0x50
push ebp
call fcn.005f72f0
lea eax, [esp + 0x4c]
push eax
call fcn.005cfbd0
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0062e5ad
add esp, 0x58
ret
call fcn.004dd410
push str.tls13_enc
push 0x91
jmp 0x62013a
call fcn.004dd410
push str.tls13_enc
push 0x69
jmp 0x62013a
call fcn.004dd410
push str.tls13_enc
push 0x49
jmp 0x62013a
push dword [ebx + 8]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebx + 0x14]
add esp, 0xc
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0x18], eax
mov eax, 1
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0062e5ad
add esp, 0x58
ret