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

Disassembly:
mov eax, 0x8c
call fcn.004b6ad0
mov eax, dword [0x60c1e0]
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 + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], ebx
call fcn.004e8ef0
add esp, 4
cmp dword [edi + 0x34], 0x2150
jne 0x58d307
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0x344]
mov ecx, dword [eax + 0xc]
test cl, 1
mov edx, dword [edi + 0x3c]
mov ebp, dword [edi + 0x98]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
je 0x58cad8
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
jne 0x58caa4
mov ecx, dword [ebp + 0x20]
cmp ecx, ebx
je 0x58cac4
mov eax, dword [eax + 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 ecx
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x58ca98
push 0x66a
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x58d47c
push esi
call fcn.004e5e00
add esp, 4
mov dword [ebp + 0x1c], esi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [edi + 0x58]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [edx + 0x370], 1
jmp 0x58cf6a
push 0x673
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x58d47c
test cl, 8
je 0x58cbf9
mov esi, dword [ebp + 0x24]
cmp esi, ebx
jne 0x58cb2c
mov ebp, dword [ebp + 0x28]
cmp ebp, ebx
je 0x58cb18
mov eax, dword [eax + 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
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x58cb2c
push 0x687
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x58d47c
mov edx, dword [edi + 0x58]
cmp dword [edx + 0x348], ebx
je 0x58cb57
push 0x68d
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
push esi
call fcn.00501d40
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x58cb86
push 0x692
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
mov eax, dword [edi + 0x58]
mov dword [eax + 0x348], ebp
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x58cbcf
cmp dword [esi + 0x18], ebx
je 0x58cbcf
test dword [edi + 0x100], 0x100000
jne 0x58cbcf
push eax
call fcn.004e1de0
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x18]
push ecx
call fcn.004e1de0
add esp, 8
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], eax
je 0x58cbc8
cmp eax, ebx
jne 0x58cbe3
push 0x6a2
jmp 0x58cb6b
push ebp
call fcn.00500da0
add esp, 4
test eax, eax
jne 0x58cbe3
push 0x69b
jmp 0x58cb6b
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x58cf66
test cl, cl
jns 0x58ceeb
cmp dword [ebp + 0x34], ebx
mov esi, dword [ebp + 0x2c]
je 0x58cc23
push 0xfffffffffffffffe
push edi
call fcn.00573be0
add esp, 8
cmp eax, ebx
je 0x58cc53
push eax
call fcn.004e6740
add esp, 4
jmp 0x58cc51
cmp esi, ebx
jne 0x58cc6b
mov ebp, dword [ebp + 0x30]
cmp ebp, ebx
je 0x58cc57
mov eax, dword [eax + 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
add esp, 0xc
mov esi, eax
cmp esi, ebx
jne 0x58cc6b
push 0x6bf
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x58d47c
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x34c], ebx
je 0x58cc80
push 0x6c5
jmp 0x58cb3c
cmp esi, ebx
jne 0x58cca4
push 0x6cb
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
mov ecx, dword [edi + 0x98]
cmp dword [ecx + 0x34], ebx
jne 0x58ccde
push esi
call fcn.004e63d0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x58ccde
push 0x6d1
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
mov edx, dword [edi + 0x58]
push esi
mov dword [edx + 0x34c], esi
call fcn.004e65d0
add esp, 4
test eax, eax
je 0x58cd0d
push esi
call fcn.00565050
add esp, 4
test eax, eax
je 0x58cd0d
test dword [edi + 0x100], 0x80000
je 0x58cd3a
push esi
call fcn.004e6430
add esp, 4
test eax, eax
jne 0x58cd3a
push 0x6db
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
push esi
call fcn.004ea240
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x58cecb
push esi
call fcn.004e65d0
add esp, 4
test eax, eax
je 0x58cecb
push esi
call fcn.00565050
add esp, 4
test eax, eax
je 0x58cecb
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x344]
test byte [ecx + 0x20], 2
je 0x58cdb1
push ebx
call fcn.004eac20
add esp, 4
cmp eax, 0xa3
jle 0x58cdb1
push 0x6ea
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
push ebx
call fcn.004eaa60
push eax
call fcn.00573810
add esp, 8
test eax, eax
mov dword [esp + 0x48], eax
jne 0x58cdeb
push 0x6f7
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
push 0
push 0
push 0
push 4
push esi
call fcn.004e65d0
add esp, 4
push eax
push ebx
call fcn.00534060
push 0x705
mov ebp, eax
push str.._ssl_s3_srvr.c
push ebp
call fcn.004dd740
add esp, 0x24
mov dword [esp + 0x20], eax
call fcn.00500400
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
je 0x58ceab
test eax, eax
je 0x58ceab
mov edx, eax
mov eax, dword [esp + 0x20]
push edx
push ebp
push eax
push 4
push esi
call fcn.004e65d0
add esp, 4
push eax
push ebx
call fcn.00534060
add esp, 0x18
test eax, eax
mov dword [esp + 0x18], eax
jne 0x58ce76
push 0x713
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d49c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00500460
mov edx, dword [esp + 0x1c]
xor eax, eax
add edx, 4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
xor ebx, ebx
jmp 0x58cf6a
push 0x709
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d49c
push 0x6e3
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
test ecx, 0x100
je 0x58cf16
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x58cf02
sub eax, edx
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x58cf6a
test ecx, 0x400
je 0x58d46d
mov esi, dword [edi + 0x1a8]
cmp esi, ebx
je 0x58d44d
mov edx, dword [edi + 0x1ac]
cmp edx, ebx
je 0x58d44d
mov ecx, dword [edi + 0x1b0]
cmp ecx, ebx
je 0x58d44d
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
je 0x58d44d
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + ecx*4 + 0x24]
cmp ecx, ebx
je 0x58cfc6
push ecx
call fcn.004e13f0
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 0x58cfae
test dword [esp + 0x34], 0x400
je 0x58cfae
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 1]
jmp 0x58cfb6
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 0x58cf70
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0x344]
test dword [eax + 0x10], 0x404
jne 0x58d00d
test dword [eax + 0xc], 0x100
jne 0x58d00d
lea edx, [esp + 0x40]
push edx
push eax
push edi
call fcn.00566530
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x44], eax
jne 0x58d002
mov esi, 0x32
jmp 0x58d490
push eax
call fcn.004d6c30
add esp, 4
jmp 0x58d013
mov dword [esp + 0x44], ebx
xor eax, eax
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
mov ecx, dword [edx + 0x3c]
mov edx, dword [esp + 0x38]
add ecx, eax
add ecx, dword [esp + 0x10]
push ecx
push edx
call fcn.004ede90
add esp, 8
test eax, eax
jne 0x58d054
push 0x761
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d49c
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
mov esi, dword [ecx + 0x3c]
mov edx, dword [edi + 0x3c]
add esi, dword [edx + 4]
mov bl, byte [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], eax
mov ebp, 0x400
cmp dword [esp + eax*4 + 0x24], 0
je 0x58d0cc
cmp eax, 2
jne 0x58d08f
test dword [esp + 0x34], ebp
je 0x58d08f
mov byte [esi], bl
add esi, 1
jmp 0x58d0a6
mov eax, dword [esp + eax*4 + 0x64]
sar eax, 8
mov byte [esi], al
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + ecx*4 + 0x64]
mov byte [esi + 1], dl
add esi, 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x24]
push esi
push ecx
call fcn.004e1870
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 0x58d076
test byte [esp + 0x34], 0x80
je 0x58d110
mov dl, byte [esp + 0x48]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov byte [esi], 3
add esi, 1
mov byte [esi], 0
add esi, 1
mov byte [esi], dl
add esi, 1
push ebx
mov byte [esi], bl
add esi, 1
push ebp
push esi
call fcn.0049f720
push ebp
call fcn.004dd940
add esp, 0x10
mov dword [esp + 0x20], 0
add esi, ebx
test dword [esp + 0x34], 0x100
je 0x58d1a4
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x58d130
sub eax, edx
shr eax, 8
mov byte [esi], al
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx + 0x14c]
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x58d150
sub eax, ecx
mov byte [esi + 1], al
mov edx, dword [edi + 0xe4]
mov ecx, dword [edx + 0x14c]
mov eax, ecx
add esi, 2
lea ebp, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x58d172
sub eax, ebp
push eax
push ecx
push esi
call fcn.004a3c70
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x58d197
sub eax, edx
add esi, eax
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x58d2f1
cmp dword [ebp], 6
jne 0x58d340
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
test byte [edx + 0x38], 2
jne 0x58d340
lea ebx, [esp + 0x74]
mov dword [esp + 0x18], 0
mov ebp, 2
jmp 0x58d1e0
lea eax, [esp + 0x4c]
push 8
push eax
call fcn.004ea2e0
add esp, 8
cmp ebp, 2
jne 0x58d202
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx + 0x8c]
jmp 0x58d20e
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x90]
push 0
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004e8f40
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0xc0
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.004e90f0
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xa0
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.004e90f0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.004e90f0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.004e9100
mov eax, dword [esp + 0x50]
add dword [esp + 0x54], eax
sub ebp, 1
add esp, 0x3c
add ebx, eax
test ebp, ebp
jg 0x58d1e0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 2]
push ecx
push edx
lea eax, [esp + 0x84]
push eax
push 0x72
call fcn.005075b0
add esp, 0x18
test eax, eax
jg 0x58d2d1
push 0x7ae
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d49c
mov ecx, dword [esp + 0x3c]
shr ecx, 8
mov byte [esi], cl
mov dl, byte [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov byte [esi + 1], dl
mov eax, dword [esp + 0x3c]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
push eax
mov eax, dword [edx + 0x40]
push 0xc
push edi
call eax
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
mov dword [edi + 0x34], 0x2151
call fcn.004e9180
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
mov eax, dword [edx + 0x44]
push edi
call eax
add esp, 8
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a5e13
add esp, 0x8c
ret
mov eax, dword [esp + 0x40]
test eax, eax
je 0x58d43c
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
test byte [edx + 0x38], 2
je 0x58d382
push eax
push ebp
push esi
call fcn.00578820
add esp, 0xc
test eax, eax
jne 0x58d37b
push 0x7bc
push str.._ssl_s3_srvr.c
lea esi, [eax + 0x50]
push 0x44
jmp 0x58d481
mov eax, dword [esp + 0x40]
add esi, 2
push 0
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004e8f40
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0xc0
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.004e90f0
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xa0
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.004e90f0
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
push ebx
push edx
lea eax, [esp + 0x78]
push eax
call fcn.004e90f0
push ebp
lea ecx, [esp + 0x48]
push ecx
lea edx, [esi + 2]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.00532910
add esp, 0x40
test eax, eax
jne 0x58d40c
push 0x7cc
push str.._ssl_s3_srvr.c
push 6
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d49c
mov ecx, dword [esp + 0x14]
sar ecx, 8
mov byte [esi], cl
mov dl, byte [esp + 0x14]
mov byte [esi + 1], dl
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
test byte [edx + 0x38], 2
mov eax, dword [esp + 0x14]
lea eax, [ebx + eax + 2]
je 0x58d2f5
add eax, 2
jmp 0x58d2f5
push 0x7d7
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x58d47c
push 0x73a
push str.._ssl_s3_srvr.c
push 0x166
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
jmp 0x58d4ad
push 0x746
push str.._ssl_s3_srvr.c
push 0xfa
mov esi, 0x28
push 0x9b
push 0x14
call fcn.004dc720
add esp, 0x14
push esi
push 2
push edi
call fcn.00578e40
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x58d4ad
push eax
call fcn.004dd940
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00500460
lea edx, [esp + 0x50]
push edx
call fcn.004e9180
add esp, 8
mov dword [edi + 0x34], 5
or eax, 0xffffffff
jmp 0x58d327