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

Disassembly:
mov eax, 0x58
call fcn.005c85a0
mov eax, dword [0x679dc8]
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
push esi
mov esi, dword [esp + 0x68]
push edi
mov dword [esp + 0x14], esi
jne 0x48ba04
test ecx, ecx
je 0x48b610
mov ebp, dword [esi + 0x744]
jmp 0x48b616
mov ebp, dword [esi + 0x724]
xor eax, eax
mov edx, 0x728
test ecx, ecx
setne al
lea eax, [eax*8 + 0x1308]
add eax, esi
test ecx, ecx
mov dword [esp + 0x20], eax
mov eax, 0x748
cmove eax, edx
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
je 0x48b9d1
cmp dword [ebx + 4], 0x15
je 0x48b9d1
push ebp
call fcn.004aacf0
mov ecx, dword [esi + 0x68]
add esp, 4
mov edx, eax
mov dword [esp + 0x1c], edx
cmp ecx, 4
je 0x48b680
cmp ecx, 3
je 0x48b680
mov edi, dword [esi + 0x28c]
test edi, edi
je 0x48ba04
mov edi, dword [edi + 0x18]
jmp 0x48b6b7
mov eax, dword [esi + 0x7cc]
test eax, eax
je 0x48b693
cmp dword [eax + 0x300], 0
ja 0x48b6ae
mov eax, dword [esi + 0x7d0]
test eax, eax
je 0x48ba04
cmp dword [eax + 0x300], 0
jbe 0x48ba04
mov eax, dword [eax + 0x2d0]
mov edi, dword [eax + 0x18]
mov eax, edi
and eax, 0x3c000
mov dword [esp + 0x28], eax
je 0x48b6f7
and edi, 0x30000
neg edi
sbb edi, edi
and edi, 0xfffffff8
add edi, 0x10
cmp dword [esp + 0x78], 0
je 0x48b717
push 0
push edi
push 0x11
push ebp
call fcn.004ac400
add esp, 0x10
test eax, eax
jle 0x48ba04
mov edx, dword [esp + 0x1c]
jmp 0x48b710
test edi, 0x3000
jne 0x48b70b
test edi, 0x80000
je 0x48ba04
mov edi, 0x10
cmp dword [esp + 0x78], 0
jne 0x48b72a
mov ecx, dword [ebx + 8]
lea eax, [edi + 1]
cmp ecx, eax
jb 0x48ba2c
sub ecx, edi
mov dword [ebx + 8], ecx
cmp edx, 8
jb 0x48ba04
lea esi, [edx - 8]
push esi
push dword [esp + 0x1c]
lea eax, [esp + 0x54]
push eax
call fcn.005c9520
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x18]
movzx eax, byte [ecx]
xor al, byte [esi + edx]
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 0x48b7d3
dec ecx
sub eax, 1
jne 0x48b7b5
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005c7d0a
add esp, 0x58
ret
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x4c]
push esi
push eax
push 0
push 0
push 0
push ebp
call fcn.004ad020
add esp, 0x18
test eax, eax
jle 0x48ba00
test esi, esi
jne 0x48b813
mov eax, dword [ebx + 0x14]
add eax, dword [ebx + 8]
push eax
push edi
push 0x11
push ebp
call fcn.004ac400
add esp, 0x10
test eax, eax
jle 0x48ba00
push 0
push 5
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004bf660
add esp, 0x10
test eax, eax
je 0x48b987
push 1
push dword [ebx + 4]
lea eax, [esp + 0x38]
push eax
call fcn.004bf790
add esp, 0xc
test eax, eax
je 0x48b987
push 2
push dword [ebx]
lea eax, [esp + 0x38]
push eax
call fcn.004bf790
add esp, 0xc
test eax, eax
je 0x48b987
mov eax, dword [ebx + 8]
add eax, edi
push 2
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004bf790
add esp, 0xc
test eax, eax
je 0x48b987
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004bf3c0
add esp, 8
test eax, eax
je 0x48b987
cmp dword [esp + 0x24], 5
jne 0x48b987
lea eax, [esp + 0x30]
push eax
call fcn.004bf310
add esp, 4
test eax, eax
je 0x48b987
cmp dword [esp + 0x28], 0
je 0x48b8df
push dword [ebx + 8]
lea eax, [esp + 0x14]
push 0
push eax
push 0
push ebp
call fcn.004ad050
add esp, 0x14
test eax, eax
jle 0x48ba2c
push 5
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push ebp
call fcn.004ad050
add esp, 0x14
test eax, eax
jle 0x48ba2c
push dword [ebx + 8]
lea eax, [esp + 0x14]
push dword [ebx + 0x18]
push eax
push dword [ebx + 0x14]
push ebp
call fcn.004ad050
add esp, 0x14
test eax, eax
jle 0x48ba2c
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebx + 0x14]
add eax, dword [esp + 0x14]
push eax
push ebp
call fcn.004ad000
add esp, 0xc
test eax, eax
jle 0x48ba2c
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x10]
mov edx, dword [ebx + 8]
cmp eax, edx
jne 0x48ba2c
test esi, esi
je 0x48b96f
mov eax, dword [ebx + 0x14]
add eax, edx
push eax
push edi
push 0x10
push ebp
call fcn.004ac400
add esp, 0x10
test eax, eax
jle 0x48ba00
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.005c7d0a
add esp, 0x58
ret
call fcn.004a9920
push str.tls13_enc
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0103
push 0x50
push dword [esp + 0x2c]
call fcn.00470bc0
lea eax, [esp + 0x4c]
push eax
call fcn.004bf190
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005c7d0a
add esp, 0x58
ret
push dword [ebx + 8]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
call fcn.005c9520
mov eax, dword [ebx + 0x14]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.005c7d0a
add esp, 0x58
ret
mov esi, dword [esp + 0x14]
call fcn.004a9920
push str.tls13_enc
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xc0103
push 0x50
push esi
call fcn.00470bc0
add esp, 0x1c
mov ecx, dword [esp + 0x64]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x58
ret