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

Disassembly:
mov eax, 0x80
call fcn.0042c200
mov eax, dword [0x54a020]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x94]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x24], esi
call fcn.004b6060
add esp, 4
cmp dword [edi + 0x34], 0x2150
jne 0x499944
mov ecx, dword [edi + 0x58]
mov ecx, dword [ecx + 0x348]
movzx eax, byte [ecx + 0xc]
mov edx, dword [edi + 0x3c]
mov ebp, dword [edi + 0x94]
xor ebx, ebx
test al, 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
je 0x4992cb
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x49929b
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4992b7
mov eax, dword [ecx + 0x10]
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 esi
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x49928f
push 0x53e
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x499b38
push esi
call fcn.004b1db0
add esp, 4
mov dword [ebp + 0x10], esi
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 0x58]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], edx
mov dword [ecx + 0x370], 1
jmp 0x49967c
push 0x547
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x499b38
test al, 0x10
je 0x4993f5
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x49931e
mov ebp, dword [ebp + 0x1c]
test ebp, ebp
je 0x49930a
mov eax, dword [ecx + 0x10]
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
test esi, esi
jne 0x49931e
push 0x55b
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x499b38
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x34c], ebx
je 0x499349
push 0x561
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b6b
push esi
push 0x4b4990
push 0x4b49b0
call fcn.004b4830
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x499382
push 0x566
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b6b
mov ecx, dword [edi + 0x58]
mov dword [ecx + 0x34c], ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4993cb
cmp dword [esi + 0x18], ebx
je 0x4993cb
test dword [edi + 0xf4], 0x100000
jne 0x4993cb
push eax
call fcn.004a89a0
mov dword [ebp + 0x14], eax
mov edx, dword [esi + 0x18]
push edx
call fcn.004a89a0
add esp, 8
cmp dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], eax
je 0x4993c4
test eax, eax
jne 0x4993df
push 0x576
jmp 0x499367
push ebp
call fcn.004b7d40
add esp, 4
test eax, eax
jne 0x4993df
push 0x56f
jmp 0x499367
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp 0x49967c
test al, al
jns 0x499b29
mov eax, dword [ebp + 0x20]
cmp eax, esi
jne 0x499446
mov ebp, dword [ebp + 0x24]
cmp ebp, esi
je 0x499432
mov eax, dword [ecx + 0x10]
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, esi
jne 0x499446
push 0x58e
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x499b38
mov edx, dword [edi + 0x58]
cmp dword [edx + 0x350], esi
je 0x49945b
push 0x594
jmp 0x49932e
cmp eax, esi
jne 0x49947f
push 0x59a
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b6b
push eax
call fcn.004b4520
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x4994ae
push 0x59e
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b6b
mov eax, dword [edi + 0x58]
push ebx
mov dword [eax + 0x350], ebx
call fcn.004c79e0
add esp, 4
test eax, eax
je 0x4994dd
push ebx
call fcn.004b8e60
add esp, 4
test eax, eax
je 0x4994dd
test dword [edi + 0xf4], 0x80000
je 0x49950a
push ebx
call fcn.004b4580
add esp, 4
test eax, eax
jne 0x49950a
push 0x5a8
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b6b
push ebx
call fcn.004a36b0
mov ebp, eax
add esp, 4
cmp ebp, esi
mov dword [esp + 0x1c], ebp
je 0x499b0c
push ebx
call fcn.004c79e0
add esp, 4
test eax, eax
je 0x499b0c
push ebx
call fcn.004b8e60
add esp, 4
test eax, eax
je 0x499b0c
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 0x348]
test byte [edx + 0x10], 2
je 0x499585
push ebp
call fcn.004b6ab0
add esp, 4
cmp eax, 0xa3
jle 0x499585
push 0x5b7
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b6b
push ebp
call fcn.004b69a0
push eax
call fcn.00498bf0
add esp, 8
cmp eax, esi
mov dword [esp + 0x50], eax
jne 0x4995bf
push 0x5c3
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b6b
push esi
push esi
push esi
push 4
push ebx
call fcn.004c79e0
add esp, 4
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004b7210
push 0x5d1
mov ebp, eax
push str.._ssl_s3_srvr.c
push ebp
call fcn.004a3070
add esp, 0x24
mov dword [esp + 0x18], eax
call fcn.004b66e0
cmp dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
je 0x499aef
cmp eax, esi
je 0x499aef
mov edx, dword [esp + 0x18]
mov ecx, eax
push ecx
push ebp
push edx
push 4
push ebx
call fcn.004c79e0
add esp, 4
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004b7210
add esp, 0x18
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x499656
push 0x5df
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b5a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004b6740
mov ebx, dword [esp + 0x18]
add esp, 4
add ebx, 4
mov dword [esp + 0x20], esi
xor eax, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
xor esi, esi
cmp eax, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], esi
je 0x4996c0
lea ebx, [ebx]
push eax
call fcn.004a8180
mov ecx, dword [esp + 0x14]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + ecx*4 + 0x5c], eax
add ecx, 1
lea ebx, [ebx + eax + 2]
mov eax, dword [esp + ecx*4 + 0x40]
add esp, 4
cmp eax, esi
mov dword [esp + 0x10], ecx
jne 0x499690
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 0x348]
test dword [eax + 0xc], 0x800
jne 0x4996f9
push eax
push edi
call fcn.0047db00
add esp, 8
cmp eax, esi
mov dword [esp + 0x24], eax
jne 0x4996ee
mov esi, 0x32
jmp 0x499b4c
push eax
call fcn.0049cee0
add esp, 4
jmp 0x4996ff
mov dword [esp + 0x24], esi
xor eax, eax
mov ecx, dword [esp + 0x28]
lea eax, [eax + ebx + 4]
push eax
push ecx
call fcn.004b1950
add esp, 8
test eax, eax
jne 0x499735
push 0x610
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b58
cmp dword [esp + 0x3c], 0
mov edx, dword [edi + 0x3c]
mov ebp, dword [edx + 4]
mov dword [esp + 0x28], ebp
lea esi, [ebp + 4]
mov dword [esp + 0x10], 0
je 0x499796
xor eax, eax
mov eax, dword [esp + eax + 0x58]
sar eax, 8
mov byte [esi], al
mov ecx, dword [esp + 0x10]
mov dl, byte [esp + ecx*4 + 0x58]
mov byte [esi + 1], dl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x3c]
add esi, 2
push esi
push ecx
call fcn.004a8640
mov eax, dword [esp + 0x18]
add esi, dword [esp + eax*4 + 0x60]
add eax, 1
mov dword [esp + 0x18], eax
add eax, eax
add eax, eax
add esp, 8
cmp dword [esp + eax + 0x3c], 0
jne 0x499753
test byte [esp + 0x54], 0x80
je 0x4997e0
mov dl, byte [esp + 0x50]
mov eax, dword [esp + 0x14]
mov byte [esi], 3
add esi, 1
mov byte [esi], 0
add esi, 1
mov byte [esi], dl
add esi, 1
push eax
mov byte [esi], al
mov eax, dword [esp + 0x1c]
push eax
add esi, 1
push esi
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004a3220
add esp, 0x10
add esi, dword [esp + 0x14]
mov dword [esp + 0x18], 0
cmp dword [esp + 0x24], 0
je 0x49991d
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
cmp eax, 6
jne 0x499979
lea eax, [esp + 0x68]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov ebp, 2
nop
lea ecx, [esp + 0x2c]
push 8
push ecx
call fcn.004b8e90
add esp, 8
cmp ebp, 2
jne 0x499832
mov edx, dword [edi + 0xd8]
mov eax, dword [edx + 0x8c]
jmp 0x49983e
mov eax, dword [edi + 0xd8]
mov eax, dword [eax + 0x90]
push 0
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004b6160
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xb8
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004b6210
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0x98
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004b6210
mov eax, dword [esp + 0x4c]
add eax, 4
push ebx
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004b6210
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x64]
push eax
call fcn.004b6220
mov eax, dword [esp + 0x4c]
add dword [esp + 0x50], eax
add dword [esp + 0x58], eax
sub ebp, 1
add esp, 0x3c
test ebp, ebp
jg 0x499810
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
lea ecx, [esi + 2]
push ecx
push edx
lea eax, [esp + 0x78]
push eax
push 0x72
call fcn.004b84f0
add esp, 0x18
test eax, eax
jg 0x499901
push 0x64e
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b58
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x28]
shr ecx, 8
mov byte [esi], cl
mov dl, byte [esp + 0x4c]
mov byte [esi + 1], dl
mov eax, dword [esp + 0x4c]
lea ebx, [ebx + eax + 2]
mov byte [ebp], 0xc
add ebp, 1
mov eax, ebx
mov ecx, ebx
mov byte [ebp + 2], bl
sar eax, 0x10
sar ecx, 8
mov byte [ebp], al
mov byte [ebp + 1], cl
add ebx, 4
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], 0
lea ecx, [esp + 0x2c]
push ecx
mov dword [edi + 0x34], 0x2151
call fcn.004b62a0
push 0x16
push edi
call fcn.00488d50
add esp, 0xc
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042b7d2
add esp, 0x80
ret
cmp eax, 0x74
jne 0x499a2b
push 0
call fcn.004b4a00
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004b6160
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xb8
push edx
lea eax, [esp + 0x40]
push eax
call fcn.004b6210
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0x98
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004b6210
push ebx
lea eax, [ebp + 4]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004b6210
mov ecx, dword [esp + 0x54]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esi + 2]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.004b9f00
add esp, 0x40
test eax, eax
jne 0x499a0e
push 0x660
push str.._ssl_s3_srvr.c
push 0xa
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b58
mov edx, dword [esp + 0x10]
sar edx, 8
mov byte [esi], dl
mov al, byte [esp + 0x10]
mov byte [esi + 1], al
mov ecx, dword [esp + 0x10]
lea ebx, [ebx + ecx + 2]
jmp 0x49991d
cmp eax, 0x198
jne 0x499ade
push 0
call fcn.004b49d0
push eax
lea edx, [esp + 0x34]
push edx
call fcn.004b6160
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xb8
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004b6210
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0x98
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.004b6210
push ebx
lea eax, [ebp + 4]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.004b6210
mov edx, dword [esp + 0x54]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 2]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.004b9f00
add esp, 0x40
test eax, eax
jne 0x499ac1
push 0x673
push str.._ssl_s3_srvr.c
push 0x2a
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b58
mov eax, dword [esp + 0x10]
sar eax, 8
mov byte [esi], al
mov cl, byte [esp + 0x10]
mov byte [esi + 1], cl
mov edx, dword [esp + 0x10]
lea ebx, [ebx + edx + 2]
jmp 0x49991d
push 0x67e
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x499b38
push 0x5d5
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b5a
push 0x5b0
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.0049f810
add esp, 0x14
jmp 0x499b6b
push 0x5fb
push str.._ssl_s3_srvr.c
push 0xfa
push 0x9b
push 0x14
mov esi, 0x28
call fcn.0049f810
add esp, 0x14
push esi
push 2
push edi
call fcn.004876e0
add esp, 0xc
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x499b6b
push eax
call fcn.004a3220
add esp, 4
mov edx, dword [esp + 0x20]
push edx
call fcn.004b6740
lea eax, [esp + 0x30]
push eax
call fcn.004b62a0
add esp, 8
or eax, 0xffffffff
jmp 0x499960