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

Disassembly:
mov eax, 0x8c
call fcn.00571640
mov eax, dword [0x616738]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0xa0]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], ebx
call fcn.004d2fa0
add esp, 4
cmp dword [edi + 0x34], 0x2150
jne 0x54add3
mov ecx, dword [edi + 0x58]
mov ecx, dword [ecx + 0x344]
mov eax, dword [ecx + 0xc]
test al, 1
mov edx, dword [edi + 0x3c]
mov ebp, dword [edi + 0x98]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
je 0x54a5b7
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x54a583
mov edx, dword [ebp + 0x1c]
cmp edx, ebx
je 0x54a5a3
mov eax, dword [ecx + 0x20]
mov ecx, eax
and cl, 8
neg cl
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x400
push ecx
and eax, 2
push eax
push edi
call edx
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x54a577
push 0x647
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x54af71
push esi
call fcn.004c3bb0
add esp, 4
mov dword [ebp + 0x18], esi
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [ecx + 0x370], 1
jmp 0x54aa18
push 0x650
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x54af71
test al, 8
je 0x54a6db
mov esi, dword [ebp + 0x20]
cmp esi, ebx
jne 0x54a60a
mov ebp, dword [ebp + 0x24]
cmp ebp, ebx
je 0x54a5f6
mov eax, dword [ecx + 0x20]
mov edx, eax
and dl, 8
neg dl
sbb edx, edx
and edx, 0xfffffe00
add edx, 0x400
push edx
and eax, 2
push eax
push edi
call ebp
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x54a60a
push 0x664
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x54af71
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x348], ebx
je 0x54a635
push 0x66a
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
push esi
call fcn.004de7b0
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x54a664
push 0x670
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
mov ecx, dword [edi + 0x58]
mov dword [ecx + 0x348], ebp
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x54a6ad
cmp dword [esi + 0x18], ebx
je 0x54a6ad
test dword [edi + 0x100], 0x100000
jne 0x54a6ad
push eax
call fcn.004d46e0
mov dword [ebp + 0x14], eax
mov edx, dword [esi + 0x18]
push edx
call fcn.004d46e0
add esp, 8
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], eax
je 0x54a6a6
cmp eax, ebx
jne 0x54a6c1
push 0x687
jmp 0x54a649
push ebp
call fcn.004d9940
add esp, 4
test eax, eax
jne 0x54a6c1
push 0x67c
jmp 0x54a649
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
jmp 0x54aa18
test al, al
jns 0x54a99b
mov eax, dword [ebp + 0x28]
cmp eax, ebx
jne 0x54a72c
mov ebp, dword [ebp + 0x2c]
cmp ebp, ebx
je 0x54a718
mov eax, dword [ecx + 0x20]
mov ecx, eax
and cl, 8
neg cl
sbb ecx, ecx
and ecx, 0xfffffe00
add ecx, 0x400
push ecx
and eax, 2
push eax
push edi
call ebp
add esp, 0xc
cmp eax, ebx
jne 0x54a72c
push 0x6a0
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x54af71
mov edx, dword [edi + 0x58]
cmp dword [edx + 0x34c], ebx
je 0x54a741
push 0x6a6
jmp 0x54a61a
cmp eax, ebx
jne 0x54a765
push 0x6ad
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
push eax
call fcn.004dc870
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x54a794
push 0x6b2
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
mov eax, dword [edi + 0x58]
push esi
mov dword [eax + 0x34c], esi
call fcn.004f03d0
add esp, 4
test eax, eax
je 0x54a7c3
push esi
call fcn.004dca40
add esp, 4
test eax, eax
je 0x54a7c3
test dword [edi + 0x100], 0x80000
je 0x54a7f0
push esi
call fcn.004dc8d0
add esp, 4
test eax, eax
jne 0x54a7f0
push 0x6bd
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
push esi
call fcn.004f9610
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x54a97b
push esi
call fcn.004f03d0
add esp, 4
test eax, eax
je 0x54a97b
push esi
call fcn.004dca40
add esp, 4
test eax, eax
je 0x54a97b
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 0x344]
test byte [edx + 0x20], 2
je 0x54a867
push ebx
call fcn.004f9860
add esp, 4
cmp eax, 0xa3
jle 0x54a867
push 0x6cd
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
push ebx
call fcn.004f9690
push eax
call fcn.005379a0
add esp, 8
test eax, eax
mov dword [esp + 0x48], eax
jne 0x54a8a1
push 0x6d9
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
push 0
push 0
push 0
push 4
push esi
call fcn.004f03d0
add esp, 4
push eax
push ebx
call fcn.004fae00
push 0x6e7
mov ebp, eax
push str.._ssl_s3_srvr.c
push ebp
call fcn.004bd7b0
add esp, 0x24
mov dword [esp + 0x24], eax
call fcn.004d9ef0
cmp dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
je 0x54a95b
test eax, eax
je 0x54a95b
mov ecx, dword [esp + 0x24]
push eax
push ebp
push ecx
push 4
push esi
call fcn.004f03d0
add esp, 4
push eax
push ebx
call fcn.004fae00
add esp, 0x18
test eax, eax
mov dword [esp + 0x18], eax
jne 0x54a92a
push 0x6f7
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54af91
mov edx, dword [esp + 0x1c]
push edx
call fcn.004d9f50
mov ecx, dword [esp + 0x1c]
xor eax, eax
add ecx, 4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
xor ebx, ebx
jmp 0x54aa14
push 0x6eb
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54af91
push 0x6c6
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
test eax, 0x100
je 0x54a9c5
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x54a9b1
sub eax, edx
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x54aa18
test eax, 0x400
je 0x54af62
mov esi, dword [edi + 0x1a8]
cmp esi, ebx
je 0x54af42
mov edx, dword [edi + 0x1ac]
cmp edx, ebx
je 0x54af42
mov ecx, dword [edi + 0x1b0]
cmp ecx, ebx
je 0x54af42
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
je 0x54af42
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov esi, 0x400
mov ecx, dword [esp + ecx*4 + 0x30]
test ecx, ecx
je 0x54aa75
push ecx
call fcn.004d3cf0
mov ecx, dword [esp + 0x18]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add esp, 4
cmp ecx, 2
mov dword [esp + ecx*4 + 0x64], eax
jne 0x54aa5d
test dword [esp + 0x2c], esi
je 0x54aa5d
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 1]
jmp 0x54aa65
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 2]
add ecx, 1
cmp ecx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jl 0x54aa23
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0x344]
test byte [eax + 0x10], 4
jne 0x54aab7
test dword [eax + 0xc], 0x100
jne 0x54aab7
lea edx, [esp + 0x44]
push edx
push eax
push edi
call fcn.0052e2b0
add esp, 0xc
test eax, eax
mov dword [esp + 0x28], eax
jne 0x54aaac
lea esi, [eax + 0x32]
jmp 0x54af85
push eax
call fcn.004cbf70
add esp, 4
jmp 0x54aac1
mov dword [esp + 0x28], 0
xor eax, eax
mov ecx, dword [esp + 0x10]
lea edx, [eax + ecx + 4]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004d5700
add esp, 8
test eax, eax
jne 0x54aafb
push 0x74c
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54af91
mov ecx, dword [edi + 0x3c]
mov ebp, dword [ecx + 4]
mov bl, byte [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x20], ebp
lea esi, [ebp + 4]
mov dword [esp + 0x14], eax
cmp dword [esp + eax*4 + 0x30], 0
je 0x54ab6c
cmp eax, 2
jne 0x54ab2f
test dword [esp + 0x2c], 0x400
je 0x54ab2f
mov byte [esi], bl
add esi, 1
jmp 0x54ab46
mov edx, dword [esp + eax*4 + 0x64]
sar edx, 8
mov byte [esi], dl
mov eax, dword [esp + 0x14]
mov cl, byte [esp + eax*4 + 0x64]
mov byte [esi + 1], cl
add esi, 2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + edx*4 + 0x30]
push esi
push eax
call fcn.004d4170
mov eax, dword [esp + 0x1c]
add esi, dword [esp + eax*4 + 0x6c]
add eax, 1
add esp, 8
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x54ab12
test byte [esp + 0x2c], 0x80
je 0x54abb4
mov cl, byte [esp + 0x48]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov byte [esi], 3
add esi, 1
mov byte [esi], 0
add esi, 1
mov byte [esi], cl
add esi, 1
push ebx
mov byte [esi], bl
add esi, 1
push ebp
push esi
call fcn.00572e00
push ebp
call fcn.004bd960
mov ebp, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x24], 0
add esi, ebx
test dword [esp + 0x2c], 0x100
je 0x54ac48
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x54abd1
sub eax, edx
shr eax, 8
mov byte [esi], al
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x54abf0
sub eax, ecx
mov byte [esi + 1], al
mov ecx, dword [edi + 0xe4]
mov ecx, dword [ecx + 0x14c]
mov eax, ecx
add esi, 2
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x54ac12
sub eax, ebp
push eax
push ecx
push esi
call fcn.005744f0
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x54ac37
mov ebp, dword [esp + 0x20]
sub eax, edx
add esi, eax
cmp dword [esp + 0x28], 0
je 0x54ada8
mov eax, dword [esp + 0x28]
cmp dword [eax], 6
jne 0x54ae08
mov eax, dword [edi]
mov ecx, eax
and ecx, 0xffffff00
cmp ecx, 0x300
jne 0x54ac7d
cmp eax, 0x303
jge 0x54ae08
lea ebx, [esp + 0x74]
mov dword [esp + 0x18], 0
mov ebp, 2
mov edi, edi
lea edx, [esp + 0x4c]
push 8
push edx
call fcn.004d3620
add esp, 8
cmp ebp, 2
jne 0x54acb2
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x8c]
jmp 0x54acbe
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx + 0x90]
push 0
push eax
lea edx, [esp + 0x54]
push edx
call fcn.004d2ff0
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xc0
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.004d31a0
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xa0
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.004d31a0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
push ecx
add eax, 4
push eax
lea edx, [esp + 0x78]
push edx
call fcn.004d31a0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x80]
push ebx
push ecx
call fcn.004d31b0
mov eax, dword [esp + 0x50]
add dword [esp + 0x54], eax
sub ebp, 1
add esp, 0x3c
add ebx, eax
test ebp, ebp
jg 0x54ac90
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esi + 2]
push edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 0x72
call fcn.004e2000
add esp, 0x18
test eax, eax
jg 0x54ad84
push 0x7a1
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54af91
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
shr edx, 8
mov byte [esi], dl
mov al, byte [esp + 0x40]
mov edx, dword [esp + 0x10]
mov byte [esi + 1], al
mov ecx, dword [esp + 0x40]
lea eax, [edx + ecx + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov byte [ebp], 0xc
add ebp, 1
mov edx, eax
mov ecx, eax
mov byte [ebp + 2], al
sar edx, 0x10
sar ecx, 8
mov byte [ebp], dl
mov byte [ebp + 1], cl
add eax, 4
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0
lea ecx, [esp + 0x4c]
push ecx
mov dword [edi + 0x34], 0x2151
call fcn.004d3230
push 0x16
push edi
call fcn.0053a770
add esp, 0xc
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0056edd3
add esp, 0x8c
ret
mov eax, dword [esp + 0x44]
test eax, eax
je 0x54af31
mov ecx, dword [edi]
mov edx, ecx
and edx, 0xffffff00
cmp edx, 0x300
jne 0x54ae5c
cmp ecx, 0x303
jl 0x54ae5c
push eax
mov eax, dword [esp + 0x2c]
push eax
push esi
call fcn.0053a710
add esp, 0xc
test eax, eax
jne 0x54ae55
push 0x7b3
push str.._ssl_s3_srvr.c
lea esi, [eax + 0x50]
push 0x44
jmp 0x54af76
mov eax, dword [esp + 0x44]
add esi, 2
push 0
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.004d2ff0
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xc0
push edx
lea eax, [esp + 0x60]
push eax
call fcn.004d31a0
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0xa0
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.004d31a0
mov ebx, dword [esp + 0x34]
push ebx
lea eax, [ebp + 4]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004d31a0
mov ecx, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esi + 2]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.00514a20
add esp, 0x40
test eax, eax
jne 0x54aeea
push 0x7c3
push str.._ssl_s3_srvr.c
push 6
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54af91
mov edx, dword [esp + 0x14]
sar edx, 8
mov byte [esi], dl
mov al, byte [esp + 0x14]
mov byte [esi + 1], al
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [ebx + ecx + 2]
mov ecx, eax
and ecx, 0xffffff00
cmp ecx, 0x300
mov dword [esp + 0x10], edx
jne 0x54ada8
cmp eax, 0x303
jl 0x54ada8
add dword [esp + 0x10], 2
jmp 0x54ada8
push 0x7cf
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x54af71
push 0x71f
push str.._ssl_s3_srvr.c
push 0x166
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
jmp 0x54afa2
push 0x72b
push str.._ssl_s3_srvr.c
push 0xfa
mov esi, 0x28
push 0x9b
push 0x14
call fcn.004ba230
add esp, 0x14
push esi
push 2
push edi
call fcn.00533910
add esp, 0xc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x54afa2
push eax
call fcn.004bd960
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call fcn.004d9f50
lea eax, [esp + 0x50]
push eax
call fcn.004d3230
add esp, 8
or eax, 0xffffffff
jmp 0x54adef