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

Disassembly:
mov eax, 0x90
call fcn.00506070
mov eax, dword [0x5cc5b0]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
xor eax, eax
mov dword [esp + 0xc], 0
push ebp
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push edi
mov edi, dword [esp + 0xa4]
push eax
call fcn.004871c0
add esp, 4
cmp dword [edi + 0x34], 0x2150
jne 0x549b3e
mov eax, dword [edi + 0x58]
xor ebx, ebx
mov edx, dword [edi + 0x3c]
mov ebp, dword [edi + 0x98]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0x344]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], 0
test al, 1
je 0x549374
mov esi, dword [ebp + 0x1c]
test esi, esi
jne 0x549340
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x549360
mov ecx, dword [ecx + 0x20]
mov eax, 0x400
test cl, 8
mov esi, 0x200
cmovne eax, esi
and ecx, 2
push eax
push ecx
push edi
call edx
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x549334
push 0x66a
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x549cab
push esi
call fcn.004807a0
add esp, 4
mov dword [ebp + 0x1c], esi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0x58]
mov dword [eax + 0x370], 1
jmp 0x5497c3
push 0x673
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x549cab
test al, 8
je 0x549494
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x5493c2
mov edx, dword [ebp + 0x28]
test edx, edx
je 0x5493ae
mov ecx, dword [ecx + 0x20]
mov eax, 0x400
test cl, 8
mov esi, 0x200
cmovne eax, esi
and ecx, 2
push eax
push ecx
push edi
call edx
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x5493c4
push 0x687
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x549cab
mov ebp, eax
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x348], ebx
je 0x5493ef
push 0x68d
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549cdc
push ebp
call fcn.004a8610
mov esi, eax
add esp, 4
test esi, esi
jne 0x54941e
push 0x692
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549cdc
mov eax, dword [edi + 0x58]
mov dword [eax + 0x348], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x549466
cmp dword [ebp + 0x18], ebx
je 0x549466
test dword [edi + 0x100], 0x100000
jne 0x549466
push eax
call fcn.004729b0
mov dword [esi + 0x14], eax
push dword [ebp + 0x18]
call fcn.004729b0
add esp, 8
mov dword [esi + 0x18], eax
cmp dword [esi + 0x14], ebx
je 0x54945f
test eax, eax
jne 0x54947a
push 0x6a2
jmp 0x549403
push esi
call fcn.004ab690
add esp, 4
test eax, eax
jne 0x54947a
push 0x69b
jmp 0x549403
mov eax, dword [esi + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x60], eax
jmp 0x5497c3
test al, al
jns 0x54974c
mov esi, dword [ebp + 0x2c]
cmp dword [ebp + 0x34], ebx
je 0x5494be
push 0xfffffffffffffffe
push edi
call fcn.0053c5b0
add esp, 8
test eax, eax
je 0x5494e9
push eax
call fcn.00485eb0
add esp, 4
jmp 0x5494e7
test esi, esi
jne 0x549501
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x5494ed
mov ecx, dword [ecx + 0x20]
mov eax, 0x400
test cl, 8
mov esi, 0x200
cmovne eax, esi
and ecx, 2
push eax
push ecx
push edi
call edx
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x549501
push 0x6bf
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x549cab
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x34c], ebx
je 0x549516
push 0x6c5
jmp 0x5493d4
mov eax, dword [edi + 0x98]
cmp dword [eax + 0x34], ebx
jne 0x549550
push esi
call fcn.00485ba0
mov esi, eax
add esp, 4
test esi, esi
jne 0x549550
push 0x6d1
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549cdc
mov eax, dword [edi + 0x58]
push esi
mov dword [eax + 0x34c], esi
call fcn.0047d3d0
add esp, 4
test eax, eax
je 0x54957f
push esi
call fcn.00431460
add esp, 4
test eax, eax
je 0x54957f
test dword [edi + 0x100], 0x80000
je 0x5495ac
push esi
call fcn.00485c40
add esp, 4
test eax, eax
jne 0x5495ac
push 0x6db
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549cdc
push esi
call fcn.004956b0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x54972c
push esi
call fcn.0047d3d0
add esp, 4
test eax, eax
je 0x54972c
push esi
call fcn.00431460
add esp, 4
test eax, eax
je 0x54972c
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 0x344]
test byte [eax + 0x20], 2
je 0x549623
push ebx
call fcn.004957a0
add esp, 4
cmp eax, 0xa3
jle 0x549623
push 0x6ea
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549cdc
push ebx
call fcn.00495790
push eax
call fcn.0053b000
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x54965d
push 0x6f7
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549cdc
push 0
push 0
push 0
push 4
push esi
call fcn.0047d3d0
add esp, 4
push eax
push ebx
call fcn.004ac9e0
push 0x705
mov ebp, eax
push str.._ssl_s3_srvr.c
push ebp
call fcn.004711d0
add esp, 0x24
mov dword [esp + 0x18], eax
call fcn.004a2ad0
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x54970c
test ecx, ecx
je 0x54970c
push ecx
push ebp
push eax
push 4
push esi
call fcn.0047d3d0
add esp, 4
push eax
push ebx
call fcn.004ac9e0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x5496e7
push 0x713
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549ccb
push dword [esp + 0x24]
call fcn.004a2a40
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
add esp, 4
add ebx, 4
movdqu xmmword [esp + 0x58], xmm0
jmp 0x5497c3
push 0x709
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549ccb
push 0x6e3
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549cdc
test eax, 0x100
je 0x549770
mov eax, dword [edi + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549762
sub ecx, edx
lea ebx, [ecx + 2]
jmp 0x5497c3
test eax, 0x400
je 0x549c9c
mov eax, dword [edi + 0x1a8]
test eax, eax
je 0x549c7c
mov ecx, dword [edi + 0x1ac]
test ecx, ecx
je 0x549c7c
mov edx, dword [edi + 0x1b0]
test edx, edx
je 0x549c7c
mov esi, dword [edi + 0x1b4]
test esi, esi
je 0x549c7c
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], esi
mov ebp, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov eax, dword [esp + eax*4 + 0x58]
test eax, eax
je 0x549815
push eax
call fcn.00472b70
add eax, 7
add esp, 4
cdq
and edx, 7
lea ecx, [edx + eax]
mov eax, dword [esp + 0x10]
sar ecx, 3
mov dword [esp + eax*4 + 0x68], ecx
cmp eax, 2
jne 0x549806
test ebp, 0x400
je 0x549806
inc ebx
jmp 0x549809
add ebx, 2
inc eax
add ebx, ecx
mov dword [esp + 0x10], eax
cmp eax, 4
jl 0x5497d0
mov eax, dword [edi + 0x58]
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 0x344]
test dword [eax + 0x10], 0x404
jne 0x549862
test dword [eax + 0xc], 0x100
jne 0x549862
lea ecx, [esp + 0x3c]
push ecx
push eax
push edi
call fcn.0052baf0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x549855
lea esi, [eax + 0x32]
jmp 0x549cbf
push esi
call fcn.004749d0
add esp, 4
mov ecx, eax
jmp 0x54986a
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x3c]
add eax, ecx
add eax, ebx
push eax
push dword [esp + 0x18]
call fcn.0047cb70
add esp, 8
test eax, eax
jne 0x5498a8
push 0x761
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549ccb
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x3c]
mov bl, byte [esp + 0x70]
mov eax, dword [eax + 0x64]
mov esi, dword [eax + 0x3c]
add esi, dword [ecx + 4]
xor eax, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], eax
cmp dword [esp + eax*4 + 0x58], 0
je 0x549918
cmp eax, 2
jne 0x5498de
test ebp, 0x400
je 0x5498de
mov byte [esi], bl
inc esi
jmp 0x5498f5
mov eax, dword [esp + eax*4 + 0x68]
sar eax, 8
mov byte [esi], al
mov eax, dword [esp + 0x10]
mov al, byte [esp + eax*4 + 0x68]
mov byte [esi + 1], al
add esi, 2
mov eax, dword [esp + 0x10]
push esi
push dword [esp + eax*4 + 0x5c]
call fcn.004725f0
mov eax, dword [esp + 0x18]
add esp, 8
add esi, dword [esp + eax*4 + 0x68]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 4
jl 0x5498c5
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], esi
test al, al
jns 0x549967
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov word [esi], 3
mov byte [esi + 2], al
mov eax, dword [esp + 0x30]
push eax
mov byte [esi + 3], al
add esi, 4
push ebp
push esi
call fcn.00504a20
push ebp
call fcn.00471150
mov eax, dword [esp + 0x44]
add esp, 0x10
add esi, dword [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
test eax, 0x100
je 0x5499f2
mov eax, dword [edi + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x549981
sub ecx, edx
shr ecx, 8
mov byte [esi], cl
mov eax, dword [edi + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5499a0
sub ecx, edx
mov byte [esi + 1], cl
add esi, 2
mov eax, dword [edi + 0xe4]
mov edx, dword [eax + 0x14c]
mov ecx, edx
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5499c0
sub ecx, ebp
push ecx
push edx
push esi
call fcn.005040a0
mov eax, dword [edi + 0xe4]
add esp, 0xc
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5499e3
sub ecx, edx
add esi, ecx
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x549b2c
cmp dword [ebp], 6
jne 0x549b77
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
jne 0x549b77
lea esi, [esp + 0x78]
mov dword [esp + 0x1c], 0
mov ebp, 2
lea esp, [esp]
lea eax, [esp + 0x40]
push 8
push eax
call fcn.00494e60
mov eax, dword [edi + 0xe4]
add esp, 8
cmp ebp, 2
jne 0x549a52
mov eax, dword [eax + 0x8c]
jmp 0x549a58
mov eax, dword [eax + 0x90]
push 0
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00486da0
mov eax, dword [edi + 0x58]
add eax, 0xc0
push 0x20
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00486f50
mov eax, dword [edi + 0x58]
add eax, 0xa0
push 0x20
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00486f50
push ebx
push dword [esp + 0x50]
lea eax, [esp + 0x6c]
push eax
call fcn.00486f50
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x74]
push esi
push eax
call fcn.00486d00
mov ecx, dword [esp + 0x58]
dec ebp
add ecx, dword [esp + 0x4c]
add esp, 0x3c
add esi, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
test ebp, ebp
jg 0x549a30
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
push dword [eax + 0x14]
lea eax, [esp + 0x3c]
push eax
lea eax, [esi + 2]
push eax
push ecx
lea eax, [esp + 0x88]
push eax
push 0x72
call fcn.00480cb0
add esp, 0x18
test eax, eax
jg 0x549b15
push 0x7ae
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549ccb
mov eax, dword [esp + 0x38]
add ebx, 2
shr eax, 8
mov byte [esi], al
mov al, byte [esp + 0x38]
mov byte [esi + 1], al
add ebx, dword [esp + 0x38]
mov eax, dword [edi + 8]
push ebx
push 0xc
push edi
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x40]
call eax
add esp, 0xc
lea eax, [esp + 0x40]
mov dword [edi + 0x34], 0x2151
push eax
call fcn.00486f60
mov eax, dword [edi + 8]
push edi
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x44]
call eax
add esp, 8
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00501f35
add esp, 0x90
ret
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x549c6b
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
je 0x549bb9
push ecx
push ebp
push esi
call fcn.0053a4d0
add esp, 0xc
test eax, eax
jne 0x549bb2
push 0x7bc
push str.._ssl_s3_srvr.c
lea esi, [eax + 0x50]
push 0x44
jmp 0x549cb0
mov ecx, dword [esp + 0x3c]
add esi, 2
push 0
push ecx
lea eax, [esp + 0x48]
push eax
call fcn.00486da0
mov eax, dword [edi + 0x58]
add eax, 0xc0
push 0x20
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00486f50
mov eax, dword [edi + 0x58]
add eax, 0xa0
push 0x20
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00486f50
push ebx
push dword [esp + 0x50]
lea eax, [esp + 0x6c]
push eax
call fcn.00486f50
push ebp
lea eax, [esp + 0x44]
push eax
lea eax, [esi + 2]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004ad430
add esp, 0x40
test eax, eax
jne 0x549c3a
push 0x7cc
push str.._ssl_s3_srvr.c
push 6
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549ccb
mov eax, dword [esp + 0x10]
sar eax, 8
mov byte [esi], al
mov al, byte [esp + 0x10]
mov byte [esi + 1], al
mov eax, dword [esp + 0x10]
add eax, 2
add ebx, eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
je 0x549b2c
add ebx, 2
jmp 0x549b2c
push 0x7d7
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x549cab
push 0x73a
push str.._ssl_s3_srvr.c
push 0x166
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
jmp 0x549cdc
push 0x746
push str.._ssl_s3_srvr.c
push 0xfa
mov esi, 0x28
push 0x9b
push 0x14
call fcn.00479910
add esp, 0x14
push esi
push 2
push edi
call fcn.0053ebd0
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x549cdc
push eax
call fcn.00471150
add esp, 4
push dword [esp + 0x24]
call fcn.004a2a40
lea eax, [esp + 0x44]
push eax
call fcn.00486f60
add esp, 8
mov dword [edi + 0x34], 5
or eax, 0xffffffff
jmp 0x549b5e