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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x138
mov esi, dword [esp + 0x18c]
mov edi, dword [esp + 0x14c]
mov dword [esp + 0x28], 0
mov eax, dword [edi + 4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov eax, 0x4000
cmp dword [esp + 0x154], 1
jne 0x5296ff
push edi
call fcn.00507f50
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
je 0x52971e
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x914]
test eax, eax
jne 0x5297a3
jmp 0x529730
mov dword [esp + 0x20], 0
mov eax, dword [edi + 0x914]
test eax, eax
jne 0x5297a3
cmp dword [esp + 0x158], 0
je 0x52978b
xor eax, eax
cmp dword [esp + 0x154], 0
sete bl
setne al
mov ecx, dword [edi + eax*4 + 0x91c]
mov dword [esp + 4], ecx
test ecx, ecx
jne 0x5297b7
call fcn.005b5560
push str.ssl_set_new_record_layer
push 0x4f9
push str.ssl_record_rec_layer_s3.c
call fcn.005b5660
add esp, 0xc
push 0
push 0xc0103
push 0x14
call fcn.005b5750
add esp, 0xc
jmp 0x529ea1
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x70]
test byte [eax + 0x28], 8
jne 0x52979e
mov eax, dword [0xb5af18]
jmp 0x5297a3
mov eax, dword [0xb5aee4]
mov dword [esp + 4], eax
xor eax, eax
cmp dword [esp + 0x154], 0
sete bl
setne al
lea ecx, [edi + eax*4]
add ecx, 0x91c
mov dword [esp + 8], ecx
lea ecx, [eax*4 + 0x924]
mov dword [esp + 0x1c], ecx
lea eax, [eax*4 + 0x24]
mov eax, dword [edi + eax]
mov dword [esp + 0x54], eax
lea eax, [edi + 0x788]
lea esi, [esp + 0x5c]
push eax
push 0xa6b554
push esi
call fcn.005e10b0
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xe4], eax
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [esp + 0xd4], xmm0
lea ebp, [esp + 0xfc]
lea eax, [edi + 0x790]
push eax
push 0xa6b55c
push esi
call fcn.005e0770
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xf8], eax
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [esp + 0xe8], xmm0
mov byte [esp + 2], bl
test bl, bl
je 0x5298eb
lea eax, [edi + 0x930]
lea ebx, [esp + 0x5c]
push eax
push 0xa6b561
push ebx
call fcn.005e1100
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [ebp], xmm0
lea eax, [edi + 0x934]
push eax
push 0xa6b571
push ebx
call fcn.005dfe50
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x24], eax
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [ebp + 0x14], xmm0
push ebx
call fcn.005e2360
add esp, 4
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x134], eax
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [esp + 0x124], xmm0
mov eax, dword [edi + 0xb4]
shr eax, 8
and eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 0x3a8]
test cl, 1
mov ebx, dword [esp + 4]
je 0x5298e4
mov dword [esp + 0x10], 1
test cl, 4
jne 0x529955
jmp 0x52995d
lea eax, [edi + 0x960]
push eax
push 0xa6b57c
push esi
call fcn.005e1100
add esp, 0xc
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [ebp], xmm0
push esi
call fcn.005e2360
add esp, 4
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x24], eax
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [ebp + 0x14], xmm0
mov eax, dword [edi + 0xb4]
shr eax, 0xa
and eax, 1
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 0x3a8]
test cl, 2
mov ebx, dword [esp + 4]
je 0x529950
mov dword [esp + 0x10], 1
test cl, 8
je 0x52995d
mov dword [esp + 0xc], 1
test eax, eax
je 0x52998e
lea esi, [esp + 0x70]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
push 0xa6b58a
push ecx
call fcn.005dfe50
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esp + 0x5c], xmm0
cmp dword [esp + 0x10], 0
je 0x5299c0
lea ebp, [esi + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x2c]
push eax
push 0xa6b592
push ecx
call fcn.005dfe50
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi], xmm0
mov esi, ebp
cmp dword [esp + 0xc], 0
je 0x5299f2
lea ebp, [esi + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x2c]
push eax
push 0xa6b59d
push ecx
call fcn.005dfe50
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi], xmm0
mov esi, ebp
movzx edx, byte [esp + 2]
test dl, dl
je 0x529a21
mov eax, dword [edi + 0x71c]
test eax, eax
je 0x529a21
movzx ecx, byte [eax + 0x300]
mov eax, ecx
dec al
cmp al, 3
ja 0x529a21
mov eax, 0x100
shl eax, cl
mov dword [esp + 0x18], eax
jmp 0x529a2b
cmp dword [esp + 0x18], 0x4000
je 0x529a5b
lea ebp, [esi + 0x14]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
push 0xa6b5a5
push ecx
call fcn.005e0250
movzx edx, byte [esp + 0xe]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi], xmm0
mov esi, ebp
mov eax, dword [edi + 0x38]
test eax, eax
sete cl
xor dl, 1
or cl, dl
mov byte [esp + 3], dl
jne 0x529aa9
mov eax, dword [esp + 0x158]
dec eax
cmp eax, 2
jae 0x529b1c
cmp dword [edi + 0x854], 2
mov eax, dword [edi + 0xe84]
jne 0x529a9f
mov ecx, dword [edi + 0x71c]
mov ecx, dword [ecx + 0x2f4]
cmp eax, ecx
cmovae eax, ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x529af1
jmp 0x529b1c
cmp dword [esp + 0x154], 1
jne 0x529b1c
cmp dword [esp + 0x158], 1
jne 0x529b1c
test eax, eax
jne 0x529b1c
mov eax, dword [edi + 0x71c]
mov eax, dword [eax + 0x2f4]
test eax, eax
jne 0x529aed
mov eax, dword [edi + 0x720]
test eax, eax
je 0x529ed3
mov eax, dword [eax + 0x2f4]
test eax, eax
je 0x529ed3
mov dword [esp + 0x14], eax
lea ebp, [esi + 0x14]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
push 0xa6b5b2
push ecx
call fcn.005e0770
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi], xmm0
mov esi, ebp
lea eax, [esp + 0x2c]
push eax
call fcn.005e2360
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi], xmm0
movzx ecx, byte [esp + 2]
test cl, cl
je 0x529b7b
jmp 0x529bc0
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov esi, 0x142
mov ebp, 0x598
cmp eax, ebx
movzx ecx, byte [esp + 2]
je 0x529e7b
test eax, eax
je 0x529e7b
mov ebx, eax
test cl, cl
jne 0x529bc0
xor ebp, ebp
cmp dword [esp + 0x158], 0
je 0x529bb0
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x28]
and eax, 8
je 0x529bb0
push 2
push edi
call fcn.00529390
add esp, 8
mov esi, eax
xor eax, eax
jmp 0x529c2c
xor eax, eax
xor esi, esi
jmp 0x529c2c
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x28]
xor esi, esi
mov ebp, dword [edi + 0x92c]
cmp dword [esp + 0x158], 0
je 0x529bf8
mov ecx, eax
and ecx, 8
je 0x529bf8
push 1
push edi
call fcn.00529390
add esp, 8
mov esi, eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x28]
test al, 8
jne 0x529c10
call fcn.00583220
jmp 0x529c15
call fcn.005815d0
push eax
call fcn.0057b960
add esp, 4
test eax, eax
je 0x529e71
mov dword [edi + 0x92c], eax
mov dword [esp + 4], ebp
mov ecx, dword [0xa6b5c8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [fcn.0053bb20]
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x364], 0
je 0x529c70
mov ebp, ebx
mov ecx, dword [0xa6b5d0]
mov dword [esp + 0x34], ecx
mov ecx, dword [0xa6b5d4]
mov dword [esp + 0x38], ecx
mov ecx, 2
lea edx, [esp + 0x3c]
jmp 0x529c7b
mov ebp, ebx
mov ecx, 1
lea edx, [esp + 0x34]
mov ebx, dword [0xa6b5d8]
mov dword [edx], ebx
mov ebx, dword [0xa6b5dc]
mov dword [edx + 4], ebx
cmp dword [edi + 0x958], 0
je 0x529cb0
mov edx, dword [0xa6b5e0]
mov dword [esp + ecx*8 + 0x34], edx
mov edx, dword [0xa6b5e4]
mov dword [esp + ecx*8 + 0x38], edx
add ecx, 2
jmp 0x529cb1
inc ecx
mov ebx, ebp
mov dword [esp + ecx*8 + 0x30], 0
mov dword [esp + ecx*8 + 0x2c], 0
movzx ecx, si
lea edx, [esp + 0x28]
push edx
push dword [edi + 0x918]
push edi
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0xe4]
push edx
lea edx, [esp + 0x70]
push edx
push 0
push 0
push eax
push dword [esp + 0x78]
mov ebp, dword [esp + 0x2c]
push ebp
push dword [esp + 0x1bc]
push dword [esp + 0x50]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push dword [esp + 0x1bc]
push ecx
push dword [esp + 0x1c0]
push dword [esp + 0x1c0]
push dword [edi + 0x38]
push dword [esp + 0x1c4]
mov eax, dword [esp + 0xd0]
push dword [eax + 0x280]
push dword [eax]
call dword [ebx]
add esp, 0x80
mov esi, eax
push ebp
call fcn.0057b970
add esp, 4
cmp esi, 0xffffffff
je 0x529b50
cmp esi, 0xfffffffe
movzx ecx, byte [esp + 2]
je 0x529e59
cmp esi, 1
jne 0x529e65
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x70]
test byte [eax + 0x28], 8
sete al
or cl, al
mov esi, dword [esp + 0x1c]
jne 0x529dd9
mov eax, dword [edi + 0x360]
push dword [eax + 0x114]
call fcn.00551130
add esp, 4
test eax, eax
jne 0x529df4
mov eax, dword [esp + 8]
mov eax, dword [eax]
test eax, eax
je 0x529df4
push dword [edi + esi]
call dword [eax + 4]
add esp, 4
test eax, eax
je 0x529eae
mov eax, dword [esp + 0x28]
mov dword [edi + esi], eax
mov eax, dword [esp + 8]
mov dword [eax], ebx
movzx eax, byte [esp + 3]
mov ebx, dword [edi + eax*4 + 0x91c]
mov esi, dword [edi + eax*4 + 0x924]
cmp dword [edi + 0x1a4], 0
je 0x529e26
cmp dword [edi + 0x228], 0
jne 0x529e35
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x529e35
push 1
push esi
call eax
add esp, 8
mov ecx, dword [edi + 0x7b0]
mov eax, 1
test ecx, ecx
je 0x529ea3
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x529ea3
push ecx
push esi
call edx
mov eax, 1
add esp, 8
jmp 0x529ea3
mov esi, 0x139
mov ebp, 0x58c
jmp 0x529e7b
mov esi, 0xc0103
mov ebp, 0x5a0
jmp 0x529e7b
mov esi, 0xc0103
mov ebp, 0x563
call fcn.005b5560
push str.ssl_set_new_record_layer
push ebp
push str.ssl_record_rec_layer_s3.c
call fcn.005b5660
add esp, 0xc
push 0
push esi
push 0x50
push edi
call fcn.0053ba60
add esp, 0x10
xor eax, eax
add esp, 0x138
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005b5560
push str.ssl_set_new_record_layer
push 0x5b1
push str.ssl_record_rec_layer_s3.c
call fcn.005b5660
add esp, 0xc
push 0
push 0xc0103
jmp 0x529e96
call fcn.005b5560
push str.ossl_get_max_early_data
push 0x7f
push str.ssl_record_rec_layer_s3.c
call fcn.005b5660
add esp, 0xc
push 0
push 0xc0103
push 0x50
push edi
call fcn.0053ba60
add esp, 0x10
mov dword [esp + 0x14], 0
jmp 0x529b1c