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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov dword [ebp], 0
mov eax, dword [edi + 0x18]
mov ebx, 3
cmp dword [eax + 0x8c], 1
je 0x813425
mov ebx, 4
push dword [esp + 0x68]
push edi
call fcn.007cbdd0
add esp, 8
test al, al
je 0x813425
lea eax, [esp + 0x6c]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
mov byte [esp + 1], 0
mov word [esp + 4], 0
mov word [esp + 2], 0
lea eax, [esp + 1]
lea ebx, [esp + 0x3c]
push eax
push ebx
call sym.adb.exe_CBS_get_u8
add esp, 8
test eax, eax
je 0x813419
lea eax, [esp + 4]
push eax
push ebx
call sym.adb.exe_CBS_get_u16
add esp, 8
test eax, eax
je 0x813419
lea eax, [esp + 2]
push eax
push ebx
call sym.adb.exe_CBS_get_u16
add esp, 8
test eax, eax
je 0x813419
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0xd0]
cmp dword [ecx], 0
movzx edi, word [esp + 4]
je 0x81342f
call fcn.007d2b00
cmp di, ax
jne 0x81343d
movzx eax, word [esp + 2]
cmp eax, 0x4141
mov edi, dword [esp + 0x68]
jb 0x813466
push 0xf9
push str.external_boringssl_src_ssl_tls_record.cc
push 0x92
push 0
push 0x10
call sym.adb.exe_ERR_put_error
add esp, 0x14
mov byte [edi], 0x16
mov ebx, 4
jmp 0x813425
mov dword [ebp], 5
mov ebx, 2
mov eax, ebx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
and edi, 0xff00
cmp edi, 0x300
je 0x8133e4
push 0xf2
push str.external_boringssl_src_ssl_tls_record.cc
push 0xf7
push 0
push 0x10
call sym.adb.exe_ERR_put_error
add esp, 0x14
mov eax, dword [esp + 0x68]
mov byte [eax], 0x46
mov ebx, 4
jmp 0x813425
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea ecx, [esp + 0xc]
push eax
push ecx
push ebx
call sym.adb.exe_CBS_get_bytes
add esp, 0xc
test eax, eax
je 0x813572
cmp esi, 5
mov ecx, 5
cmovb ecx, esi
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], ecx
sub esp, 0x14
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0xc], xmm0
mov edi, dword [esp + 0x6c]
mov dword [esp], edi
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0
call fcn.00730be0
add esp, 0x14
push ebx
call sym.adb.exe_CBS_len
add esp, 4
sub esi, eax
mov dword [ebp], esi
mov eax, dword [edi + 0x18]
test byte [eax + 0xb4], 2
je 0x813559
push edi
call fcn.00736f40
add esp, 4
movzx eax, ax
cmp eax, 0x304
jb 0x813559
push edi
call sym.adb.exe_SSL_in_init
add esp, 4
test eax, eax
je 0x813559
cmp byte [esp + 1], 0x14
jne 0x813559
cmp word [esp + 2], 1
jne 0x813559
lea eax, [esp + 0xc]
push eax
call sym.adb.exe_CBS_data
add esp, 4
cmp byte [eax], 1
jne 0x813559
mov eax, dword [edi + 0x18]
inc byte [eax + 0xaa]
mov eax, dword [edi + 0x18]
mov ebx, 1
cmp byte [eax + 0xaa], 0x21
jb 0x813425
push 0x112
jmp 0x8137a6
mov esi, dword [edi + 0x18]
mov ecx, dword [esi + 0xd0]
test byte [esi + 0xb4], 1
jne 0x813582
movzx eax, byte [esp + 1]
jmp 0x81359d
movzx eax, word [esp + 2]
add eax, 5
mov dword [ebp], eax
jmp 0x813420
cmp dword [ecx], 0
movzx eax, byte [esp + 1]
mov edx, dword [esp + 0x68]
jne 0x81359d
cmp al, 0x17
jne 0x81359d
mov ecx, dword [esp + 0x58]
jmp 0x8136f0
mov byte [esp + 7], al
movzx eax, word [esp + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
lea edi, [esp + 0xc]
push edi
mov dword [esp + 0xc], ecx
call sym.adb.exe_CBS_data
add esp, 4
mov ebx, eax
push edi
call sym.adb.exe_CBS_len
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
sub esp, 0x20
movsd xmm0, qword [esp + 0x44]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x27]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov ebx, eax
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
call fcn.007d2d00
mov esi, dword [esp + 0x58]
mov ecx, dword [esi + 0x18]
movzx edx, word [ecx + 0xb4]
test al, al
je 0x8136d3
and edx, 0xfffe
mov word [ecx + 0xb4], dx
push 8
push dword [esi + 0x18]
call fcn.00813220
add esp, 8
test al, al
je 0x81372e
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xd0]
cmp dword [ecx], 0
je 0x81373f
call fcn.007d2ad0
movzx ecx, ax
xor edx, edx
cmp ecx, 0x304
setae dl
or edx, 0x4000
mov eax, dword [ebx + 4]
cmp eax, edx
ja 0x81374b
mov esi, ebx
cmp ecx, 0x304
jb 0x813777
cmp byte [esp + 1], 0x17
jne 0x81383e
test eax, eax
je 0x81388a
mov ecx, dword [esi]
lea edx, [eax - 1]
movzx ebx, byte [ecx + eax - 1]
cmp eax, edx
cmovae eax, edx
mov byte [esp + 1], bl
mov dword [esi + 4], eax
mov dword [esi], ecx
test bl, bl
je 0x8136aa
jmp 0x813777
test dl, 1
je 0x813702
mov eax, dword [ecx + 0xd0]
cmp dword [eax], 0
je 0x813702
call sym.adb.exe_ERR_clear_error
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
push dword [ebp]
call fcn.008138c0
add esp, 4
mov ebx, eax
jmp 0x813425
push 0x12a
push str.external_boringssl_src_ssl_tls_record.cc
push 0x8b
push 0
push 0x10
call sym.adb.exe_ERR_put_error
add esp, 0x14
mov eax, dword [esp + 0x68]
mov byte [eax], 0x14
mov ebx, 4
jmp 0x813425
mov eax, dword [esp + 0x68]
mov byte [eax], 0x50
mov ebx, 4
jmp 0x813425
mov esi, ebx
mov eax, dword [ebx + 4]
cmp eax, 0x4001
jb 0x813777
push 0x140
push str.external_boringssl_src_ssl_tls_record.cc
push 0x88
push 0
push 0x10
call sym.adb.exe_ERR_put_error
add esp, 0x14
mov eax, dword [esp + 0x68]
mov byte [eax], 0x16
mov ebx, 4
jmp 0x813425
mov ecx, dword [esp + 0x58]
mov ecx, dword [ecx + 0x18]
test eax, eax
je 0x81378b
mov byte [ecx + 0xaa], 0
jmp 0x8137cd
inc byte [ecx + 0xaa]
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0xaa], 0x21
jb 0x8137cd
push 0x15c
push str.external_boringssl_src_ssl_tls_record.cc
push 0xdb
push 0
push 0x10
call sym.adb.exe_ERR_put_error
add esp, 0x14
mov eax, dword [esp + 0x68]
mov byte [eax], 0xa
mov ebx, 4
jmp 0x813425
movzx eax, byte [esp + 1]
cmp eax, 0x16
je 0x81386f
cmp eax, 0x15
jne 0x81381a
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00813930
add esp, 0x10
mov ebx, eax
jmp 0x813425
push dword [esp + 0x58]
call fcn.007cbe70
add esp, 4
test al, al
je 0x81386a
push 0x16d
push str.external_boringssl_src_ssl_tls_record.cc
push 0xe1
jmp 0x8137b0
push 0x148
push str.external_boringssl_src_ssl_tls_record.cc
push 0xfb
push 0
push 0x10
call sym.adb.exe_ERR_put_error
add esp, 0x14
mov eax, dword [esp + 0x68]
mov byte [eax], 0x32
mov ebx, 4
jmp 0x813425
movzx eax, byte [esp + 1]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov edx, dword [edx + 0x18]
mov byte [edx + 0xab], 0
mov byte [ecx], al
xor ebx, ebx
jmp 0x813425
push 0x14f
push str.external_boringssl_src_ssl_tls_record.cc
push 0x8b
push 0
push 0x10
call sym.adb.exe_ERR_put_error
add esp, 0x14
mov eax, dword [esp + 0x68]
mov byte [eax], 0x33
mov ebx, 4
jmp 0x813425