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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x899944]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 0x18]
push str.processServerHello
push ebx
lea ecx, [ebp - 0x30]
call fcn.00474ef0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
test esi, esi
je 0x537f27
cmp dword [ebp + 0xc], 0
je 0x537f27
call fcn.00535bf0
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x537f47
lea ecx, [ebp - 0x24]
call fcn.00449010
mov dword [ebp - 0x1c], edi
mov dword [edi + 0x28], 2
movzx eax, byte [esi]
mov dword [edi + 0x2c], eax
movzx ecx, byte [esi + 1]
mov dword [edi + 0x30], ecx
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00532a40
test al, al
je 0x537b98
cmp byte [ebx + 0xae], 0
jne 0x537b62
cmp byte [ebx + 0xad], 0
je 0x537b5c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x78]
cmp byte [eax + 0xdfa], 0
je 0x537b62
mov byte [ebp + 0x1b], 0
jmp 0x537b66
mov byte [ebp + 0x1b], 1
mov eax, dword [ebp + 0xc]
sub eax, 2
add esi, 2
mov dword [ebp + 0xc], eax
cmp eax, 0x20
jae 0x537ba9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
push 0x2f
push edx
call fcn.00534910
push str.ServerHello_too_short__1_.
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov ecx, ebx
call edx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00449330
jmp 0x537f47
lea ecx, [edi + 0x34]
call fcn.0040fb90
push 0x20
push esi
lea ecx, [edi + 0x34]
call fcn.00411260
mov eax, dword [ebp + 0xc]
sub eax, 0x20
mov dword [ebp + 0xc], eax
cmp eax, 1
jae 0x537bfc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
push eax
push 0x2f
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00534910
push str.ServerHello_too_short__2_.
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00449330
jmp 0x537f47
cmp byte [ebx + 0xae], 0
mov al, byte [esi + 0x20]
mov byte [ebp + 0xb], al
je 0x537c1b
movzx ecx, al
push ecx
push str.SessionIdLen
mov ecx, ebx
call fcn.00474a80
dec dword [ebp + 0xc]
lea ecx, [edi + 0x50]
add esi, 0x21
call fcn.0040fb90
mov al, byte [ebp + 0xb]
test al, al
je 0x537c6b
movzx eax, al
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], eax
jae 0x537c55
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
push ebx
push edx
push 0x2f
push eax
call fcn.00534910
push str.ServerHello_too_short__3_.
jmp 0x537be2
push eax
push esi
lea ecx, [edi + 0x50]
call fcn.00411260
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add esi, ecx
sub eax, ecx
jmp 0x537c6e
mov eax, dword [ebp + 0xc]
cmp eax, 3
jae 0x537c90
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
push 0x2f
push edx
call fcn.00534910
push str.ServerHello_too_short__4_.
jmp 0x537b8f
movzx ecx, byte [esi]
mov byte [edi + 0x6c], cl
mov dl, byte [esi + 1]
mov byte [edi + 0x6d], dl
movzx ecx, byte [esi + 2]
sub eax, 3
mov byte [edi + 0x6e], cl
mov dword [ebp + 0xc], eax
cmp eax, 2
jbe 0x537e00
movzx edi, byte [esi + 3]
movzx edx, byte [esi + 4]
shl edi, 8
or edi, edx
cmp byte [ebx + 0xae], 0
mov dword [ebp + 8], edi
je 0x537cdb
push edi
push str.serverHelloExtensionsLen
mov ecx, ebx
call fcn.00474a80
mov eax, dword [ebp + 0xc]
sub eax, 2
add esi, 5
mov dword [ebp + 0xc], eax
cmp edi, eax
jbe 0x537d1a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
push eax
push 0x2f
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00534910
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.ServerHello_extensions_length_too_long.
mov ecx, ebx
call eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00449330
jmp 0x537f47
mov ecx, 4
cmp edi, ecx
jae 0x537d40
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 0x10]
push 0x2f
push edx
call fcn.00534910
push str.ServerHello_extensions_length_too_short.
jmp 0x537b8f
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
movzx edi, byte [esi + 2]
sub dword [ebp + 0xc], ecx
sub dword [ebp + 8], ecx
shl eax, 8
or eax, edx
movzx edx, byte [esi + 3]
shl edi, 8
or edi, edx
add esi, 4
cmp byte [ebx + 0xae], 0
mov dword [ebp - 0x18], eax
je 0x537d7c
mov ecx, dword [ebp - 0x10]
push ebx
push edi
push eax
call fcn.00530d20
mov eax, dword [ebp - 0x18]
cmp edi, dword [ebp + 8]
ja 0x537e21
cmp eax, 5
jne 0x537d93
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x6f], 1
jmp 0x537de0
cmp eax, 0xff01
jne 0x537dd1
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x70], 1
test edi, edi
je 0x537de0
movzx ecx, byte [esi]
lea eax, [edi - 1]
cmp ecx, eax
je 0x537dbf
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.Error_in_renegotiate_extension_data.
mov ecx, ebx
call eax
jmp 0x537de0
push eax
lea ecx, [esi + 1]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x74
call fcn.00411260
jmp 0x537de0
cmp eax, 0xd
jne 0x537de0
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x90], 1
mov eax, dword [ebp + 8]
sub dword [ebp + 0xc], edi
sub eax, edi
mov ecx, 4
add esi, edi
mov dword [ebp + 8], eax
cmp eax, ecx
jae 0x537d40
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
push ebx
test eax, eax
je 0x537e53
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
push 0x2f
push edx
call fcn.00534910
push str.ServerHello_too_long.
jmp 0x537b8f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
push eax
push 0x2f
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00534910
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.Specific_ServerHello_extension_length_too_long.
mov ecx, ebx
call eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00449330
jmp 0x537f47
mov eax, dword [edi + 0x2c]
mov esi, dword [ebp - 0x10]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x30]
lea eax, [edi + 0x6c]
mov dword [esi + 0x40], ecx
push eax
mov ecx, esi
call fcn.00530e20
cmp byte [ebp + 0x1b], 0
mov byte [ebp + 0xf], al
je 0x537eb4
mov edx, dword [ebx]
mov ecx, esi
call fcn.00530ea0
push eax
mov eax, dword [edx + 0x2c]
push str.negotiatedTlsVersion
mov ecx, ebx
call eax
mov eax, dword [esi + 0x48]
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
push eax
push str.negotiatedCipherSuite
mov ecx, ebx
call edx
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0xdf4]
push ecx
push str.minAcceptableRsaKeySize
mov ecx, ebx
call fcn.00474a80
cmp byte [ebx + 0xae], 0
je 0x537ecb
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push str.Queueing_ServerHello_message.
mov ecx, ebx
call eax
push edi
lea ecx, [esi + 0x218]
mov dword [ebp - 0x1c], 0
call fcn.0042aba0
cmp byte [ebx + 0xae], 0
je 0x537ef5
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push str.ServerHello_is_OK.
mov ecx, ebx
call eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00449330
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00474f80
mov al, byte [ebp + 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push ecx
push 0x2f
push edx
mov ecx, edi
call fcn.00534910
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push str.Zero_length_ServerHello
mov ecx, ebx
call edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00474f80
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14