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

Disassembly:
mov eax, 0x2ec
call fcn.00453200
mov eax, dword [0x5583b4]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2fc]
lea ecx, [esp + 0x2c]
push ecx
push 0x800
push 0x10
mov eax, dword [esi + 8]
xor ebp, ebp
push 0x2191
push 0x2190
push esi
mov eax, dword [eax + 0x30]
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], ebp
call eax
add esp, 0x18
mov ebx, eax
cmp dword [esp + 0x2c], ebp
je 0x4d8f5d
mov ecx, dword [esi + 0x40]
push edi
mov edi, dword [esi + 0x58]
mov dword [esp + 0x10], ecx
mov edx, dword [edi + 0x344]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x1c], eax
test al, 1
je 0x4d864b
cmp dword [edi + 0x370], ebp
je 0x4d83d3
mov edi, dword [esi + 0x98]
test edi, edi
je 0x4d83bf
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4d83f8
push 0x8b5
push str.._ssl_s3_srvr.c
push 0xad
jmp 0x4d8f00
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4d8637
cmp dword [eax], 6
jne 0x4d8637
mov edi, dword [eax + 0x14]
test edi, edi
je 0x4d8637
mov eax, dword [esi]
cmp eax, 0x300
jle 0x4d8452
cmp eax, 0x100
je 0x4d8452
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
add ecx, 2
shl edx, 8
or edx, eax
mov dword [esp + 0x10], ecx
lea eax, [edx + 2]
cmp ebx, eax
je 0x4d8450
test dword [esi + 0x100], 0x100
jne 0x4d8447
push 0x8cc
push str.._ssl_s3_srvr.c
mov edi, 0x32
push 0xea
jmp 0x4d8f05
sub ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x4d8452
mov ebx, edx
cmp ebx, 0x30
jge 0x4d8470
push 0x8de
push str.._ssl_s3_srvr.c
mov edi, 0x33
push 0xea
jmp 0x4d8f05
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.0046f490
add esp, 8
test eax, eax
jle 0x4d8f20
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
push eax
push ebx
call fcn.0046cc30
add esp, 0x14
mov ebx, eax
call fcn.0046a7d0
mov ebp, dword [esp + 0x10]
xor ebx, 0x30
mov eax, dword [esi + 0x110]
mov ecx, eax
movzx eax, al
sar ecx, 8
movzx edi, byte [ebp]
lea edx, [ebx - 1]
not ebx
shr edx, 0x1f
shr ebx, 0x1f
xor ecx, edi
and dl, bl
movzx ebx, byte [ebp + 1]
xor eax, ebx
mov dword [esp + 0x18], ebx
neg dl
mov dword [esp + 0x1c], edx
lea ebx, [eax - 1]
not eax
shr eax, 0x1f
shr ebx, 0x1f
and bl, al
lea eax, [ecx - 1]
shr eax, 0x1f
not ecx
shr ecx, 0x1f
neg bl
and al, cl
neg al
and bl, al
test dword [esi + 0x100], 0x800000
je 0x4d853a
mov eax, dword [esi]
mov edx, eax
movzx eax, al
xor eax, dword [esp + 0x18]
sar edx, 8
xor edx, edi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and cl, al
lea eax, [edx - 1]
not edx
shr eax, 0x1f
shr edx, 0x1f
neg cl
and al, dl
mov edx, dword [esp + 0x1c]
neg al
and cl, al
or bl, cl
and dl, bl
mov edi, 1
movzx eax, dl
mov bl, al
mov dword [esp + 0x14], eax
not bl
lea esi, [edi + 7]
nop
and al, byte [edi + ebp - 1]
lea edi, [edi + 6]
movzx ecx, byte [esp + edi + 0x39]
and cl, bl
or cl, al
mov byte [edi + ebp - 7], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3a]
and cl, bl
movzx eax, byte [edx + edi - 6]
and al, byte [esp + 0x14]
or cl, al
mov byte [edx + edi - 6], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3b]
and cl, bl
movzx eax, byte [edx + edi - 5]
and al, byte [esp + 0x14]
or cl, al
movzx eax, byte [esp + 0x14]
mov byte [edx + edi - 5], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3c]
and cl, bl
and al, byte [edx + edi - 4]
or cl, al
movzx eax, byte [esp + 0x14]
mov byte [edx + edi - 4], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3d]
and cl, bl
and al, byte [edx + edi - 3]
or cl, al
mov byte [edx + edi - 3], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3e]
and cl, bl
movzx eax, byte [edx + edi - 2]
and al, byte [esp + 0x14]
or cl, al
mov byte [edx + edi - 2], cl
dec esi
je 0x4d85f6
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x4d8550
mov esi, dword [esp + 0x20]
push 0x30
push dword [esp + 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
push 0x30
mov dword [ecx + 0x10], eax
push dword [esp + 0x24]
call fcn.00407f00
add esp, 0x18
mov eax, 1
jmp 0x4d8f5c
push 0x8bf
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x4d8f00
test al, 0xe
je 0x4d879f
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
add ecx, 2
shl edx, 8
or edx, eax
mov dword [esp + 0x10], ecx
lea eax, [edx + 2]
cmp ebx, eax
je 0x4d86a2
test byte [esi + 0x100], 0x80
jne 0x4d8699
push 0x93b
push str.._ssl_s3_srvr.c
push 0x94
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
sub ecx, 2
mov edx, ebx
mov dword [esp + 0x10], ecx
test ebx, ebx
jne 0x4d86ba
push 0x946
push str.._ssl_s3_srvr.c
push 0xec
jmp 0x4d8f00
mov ebx, dword [edi + 0x348]
test ebx, ebx
jne 0x4d86d8
push 0x94c
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x4d8f00
push 0
push edx
push ecx
call fcn.0046be30
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4d870d
push 0x954
push str.._ssl_s3_srvr.c
push 0x82
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
push ebx
push edi
push dword [esp + 0x18]
call fcn.0048f530
mov ebx, eax
add esp, 0xc
test ebx, ebx
jg 0x4d8747
push 0x95b
push str.._ssl_s3_srvr.c
push 5
push 0x8b
push 0x14
call fcn.0046b060
push edi
call fcn.0046bf80
add esp, 0x18
jmp 0x4d8f20
mov eax, dword [esi + 0x58]
push dword [eax + 0x348]
call fcn.00484590
mov eax, dword [esi + 0x58]
push edi
mov dword [eax + 0x348], ebp
call fcn.0046bf80
mov eax, dword [esi + 8]
push ebx
push dword [esp + 0x1c]
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
push ebx
mov dword [ecx + 0x10], eax
push dword [esp + 0x2c]
call fcn.00407f00
add esp, 0x20
mov eax, 1
jmp 0x4d8f5c
test al, 0xe0
je 0x4d8a83
mov dword [esp + 0x18], 1
call fcn.0047af20
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4d87dc
push 0xa35
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
test byte [esp + 0x1c], 0x60
je 0x4d87f1
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x70]
mov ebp, dword [eax + 0x14]
jmp 0x4d87fa
mov eax, dword [esi + 0x58]
mov ebp, dword [eax + 0x34c]
push ebp
call fcn.0046e950
push ebp
mov edi, eax
call fcn.004c4d20
mov ebp, dword [esp + 0x34]
push edi
push ebp
mov dword [esp + 0x30], eax
call fcn.0047afa0
add esp, 0x10
test eax, eax
je 0x4d8a63
push dword [esp + 0x20]
push ebp
call fcn.0047afd0
add esp, 8
test eax, eax
je 0x4d8a63
push edi
call fcn.004859e0
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4d8852
push 0xa50
jmp 0x4d87c1
test ebx, ebx
jne 0x4d88f4
test byte [esp + 0x1c], 0x80
je 0x4d8875
push 0xa5a
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x4d8f00
mov eax, dword [esi + 0xc0]
push dword [eax + 0x9c]
call fcn.004a2e10
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x4d88e0
cmp dword [eax], 0x198
jne 0x4d88e0
push dword [eax + 0x14]
call fcn.0047a2e0
mov ebx, dword [esp + 0x18]
push eax
push ebx
call fcn.004855a0
add esp, 0xc
test eax, eax
jne 0x4d88d3
push 0xa70
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
mov dword [esp + 0x18], 2
jmp 0x4d8980
push 0xa69
push str.._ssl_s3_srvr.c
push 0x139
jmp 0x4d8f00
call fcn.004734f0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4d890b
push 0xa7b
jmp 0x4d87c1
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
lea eax, [edx + 1]
cmp ebx, eax
je 0x4d893e
push 0xa83
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
push dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
push edx
push ecx
push ebx
push edi
call fcn.004a8550
add esp, 0x14
test eax, eax
jne 0x4d8976
push 0xa87
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push edi
call fcn.00485120
add esp, 4
test eax, eax
jg 0x4d89ad
push 0xa94
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
add eax, 7
cdq
push 0
and edx, 7
push ebp
add eax, edx
push ebx
sar eax, 3
push eax
push dword [esp + 0x20]
call fcn.004ae320
mov edi, eax
add esp, 0x14
test edi, edi
jg 0x4d89f0
push 0xa9a
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
push dword [esp + 0x28]
call fcn.0047a820
push ebx
call fcn.004856d0
push ebp
call fcn.0047acb0
push dword [esp + 0x30]
call fcn.00473460
mov eax, dword [esi + 0x58]
push dword [eax + 0x34c]
call fcn.0047acb0
mov eax, dword [esi + 0x58]
push edi
mov dword [eax + 0x34c], 0
mov eax, dword [esi + 8]
push dword [esp + 0x28]
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov ecx, dword [ecx + 0xc]
push esi
call ecx
mov ecx, dword [esi + 0xc0]
push edi
mov dword [ecx + 0x10], eax
push dword [esp + 0x38]
call fcn.00407f00
mov eax, dword [esp + 0x44]
add esp, 0x2c
jmp 0x4d8f5c
push 0xa4a
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8f20
test eax, 0x100
je 0x4d8d50
movzx ebp, byte [ecx]
mov edi, 0x28
movzx eax, byte [ecx + 1]
add ecx, 2
shl ebp, 8
or ebp, eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], ecx
lea eax, [ebp + 2]
cmp ebx, eax
je 0x4d8ad8
push 0xabc
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8d26
cmp ebp, 0x80
jle 0x4d8b03
push 0xac1
push str.._ssl_s3_srvr.c
push 0x92
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8d26
mov ebx, dword [esi + 0xe0]
test ebx, ebx
jne 0x4d8b30
push 0xac6
push str.._ssl_s3_srvr.c
push 0xe1
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8d26
push ebp
push ecx
lea eax, [esp + 0x78]
push eax
call fcn.00452a70
mov eax, 0x81
sub eax, ebp
push eax
lea eax, [esp + 0x80]
add eax, ebp
push 0
push eax
call fcn.00451ad0
push 0x204
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x90]
push eax
push esi
call ebx
mov ebx, eax
lea eax, [esp + 0x98]
push 0x81
push eax
mov dword [esp + 0x48], ebx
call fcn.00407f00
add esp, 0x30
cmp ebx, 0x100
jbe 0x4d8bb0
push 0xad5
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8d26
test ebx, ebx
jne 0x4d8bda
push 0xadc
push str.._ssl_s3_srvr.c
push 0xdf
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
lea edi, [ebx + 0x73]
jmp 0x4d8d26
lea eax, [ebx*2 + 4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xf4]
push ebx
push eax
lea eax, [esp + 0x100]
add eax, ebx
push eax
call fcn.00451e40
mov eax, dword [esp + 0x24]
push eax
mov byte [esp + 0x105], al
lea eax, [esp + 0x106]
push 0
shr ebx, 8
push eax
mov byte [esp + 0x10c], bl
call fcn.00451ad0
mov eax, dword [esp + 0x30]
add esp, 0x18
mov byte [esp + eax + 0xf6], bl
mov byte [esp + eax + 0xf7], al
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x4d8c50
push eax
call fcn.0046ef90
add esp, 4
push ebp
push dword [esp + 0x14]
call fcn.004704b0
mov ecx, dword [esi + 0xc0]
add esp, 8
mov dword [ecx + 0x90], eax
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x90], 0
jne 0x4d8c98
push 0xaee
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
jmp 0x4d8d26
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x4d8cab
push eax
call fcn.0046ef90
add esp, 4
mov eax, dword [esi + 0xe4]
push dword [eax + 0x14c]
call fcn.004703e0
mov ecx, dword [esi + 0xc0]
add esp, 4
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 0xe4]
cmp dword [eax + 0x14c], 0
je 0x4d8cf0
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x8c], 0
jne 0x4d8cf0
push 0xaf7
jmp 0x4d8c7d
mov eax, dword [esi + 8]
push dword [esp + 0x20]
mov ecx, dword [eax + 0x64]
lea eax, [esp + 0xf8]
push eax
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
add esp, 0x10
mov dword [esp + 0x1c], 0
mov dword [ecx + 0x10], eax
lea eax, [esp + 0xf4]
push 0x204
push eax
call fcn.00407f00
add esp, 8
cmp dword [esp + 0x1c], 0
jne 0x4d8f14
mov eax, 1
jmp 0x4d8f5c
test eax, 0x200
je 0x4d8ef1
xor ebp, ebp
mov dword [esp + 0x38], 0x20
mov ecx, dword [edx + 0x10]
xor eax, eax
mov dword [esp + 0x18], ebp
test ecx, 0x100
je 0x4d8d81
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x7c]
jmp 0x4d8d95
test ecx, 0x200
je 0x4d8d95
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x88]
push 0
push eax
call fcn.004993e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d8dba
push 0xb45
push str.._ssl_s3_srvr.c
lea edi, [eax + 0x50]
push 0x41
jmp 0x4d8f05
push edi
call fcn.004a1260
add esp, 4
test eax, eax
jg 0x4d8dd8
push 0xb49
push str.._ssl_s3_srvr.c
push 0x44
jmp 0x4d8ec8
mov eax, dword [esi + 0xc0]
push dword [eax + 0x9c]
call fcn.004a2e10
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x4d8e07
push eax
push edi
call fcn.004a12d0
add esp, 8
test eax, eax
jg 0x4d8e07
call fcn.0046a7d0
push ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00482940
add esp, 0x14
cmp eax, 0x20
jne 0x4d8eb9
cmp dword [esp + 0x20], 0x10
jne 0x4d8eb9
cmp dword [esp + 0x1c], ebp
jne 0x4d8eb9
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.004a1180
add esp, 0x14
test eax, eax
jg 0x4d8e64
push 0xb65
jmp 0x4d8ebe
mov eax, dword [esi + 8]
push 0x20
mov ecx, dword [eax + 0x64]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esi + 0xc0]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
push 0x20
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x54]
push eax
call fcn.00407f00
push 0
push 2
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call fcn.00499190
xor ecx, ecx
add esp, 0x30
test eax, eax
setg cl
inc ecx
mov dword [esp + 0x34], ecx
mov ebp, ecx
jmp 0x4d8ed7
push 0xb5d
push str.._ssl_s3_srvr.c
push 0x93
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
push dword [esp + 0x18]
call fcn.0047a820
push edi
call fcn.00499380
add esp, 8
test ebp, ebp
je 0x4d8f20
mov eax, ebp
jmp 0x4d8f5c
push 0xb7e
push str.._ssl_s3_srvr.c
push 0xf9
mov edi, 0x28
push 0x8b
push 0x14
call fcn.0046b060
add esp, 0x14
push edi
push 2
push esi
call fcn.004c8ec0
add esp, 0xc
push dword [esp + 0x28]
call fcn.0047a820
push dword [esp + 0x18]
call fcn.004856d0
mov eax, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x4d8f46
push eax
call fcn.0047acb0
add esp, 4
push dword [esp + 0x24]
call fcn.00473460
add esp, 4
mov dword [esi + 0x34], 5
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2f4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00453ef1
add esp, 0x2ec
ret