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

Disassembly:
mov eax, 0x88
call fcn.1002b6e0
mov eax, dword [0x10047250]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], ebx
call sub.LIBEAY32.dll_Ordinal_2630
add esp, 4
cmp dword [edi + 0x34], 0x2150
jne 0x10006692
mov ecx, dword [edi + 0x58]
mov ecx, dword [ecx + 0x344]
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x3c]
mov ebp, dword [edi + 0x98]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ebx
test al, 1
je 0x10005f36
mov esi, dword [ebp + 0x18]
cmp esi, ebx
jne 0x10005f02
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x10005f22
mov ecx, dword [ecx + 0x20]
mov edx, ecx
and dl, 8
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xfffffe00
add edx, 0x400
push edx
and ecx, 2
push ecx
push edi
call eax
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x10005ef6
push 0x5c2
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x1000683d
push esi
call sub.LIBEAY32.dll_Ordinal_2760
add esp, 4
mov dword [ebp + 0x18], esi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [edi + 0x58]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [edx + 0x370], 1
jmp 0x10006350
push 0x5cb
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x1000683d
test al, 8
je 0x1000605d
mov esi, dword [ebp + 0x20]
cmp esi, ebx
jne 0x10005f8c
mov ebp, dword [ebp + 0x24]
cmp ebp, ebx
je 0x10005f78
mov eax, dword [ecx + 0x20]
mov ecx, eax
and cl, 8
movzx edx, cl
neg edx
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 0x10005f8c
push 0x5df
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x1000683d
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x348], ebx
je 0x10005fb7
push 0x5e5
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000686e
push esi
call sub.LIBEAY32.dll_Ordinal_4540
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x10005fe6
push 0x5eb
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000686e
mov ecx, dword [edi + 0x58]
mov dword [ecx + 0x348], ebp
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x1000602f
cmp dword [esi + 0x18], ebx
je 0x1000602f
test dword [edi + 0x100], 0x100000
jne 0x1000602f
push eax
call sub.LIBEAY32.dll_Ordinal_128
mov dword [ebp + 0x14], eax
mov edx, dword [esi + 0x18]
push edx
call sub.LIBEAY32.dll_Ordinal_128
add esp, 8
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x14], ebx
je 0x10006028
cmp eax, ebx
jne 0x10006043
push 0x602
jmp 0x10005fcb
push ebp
call sub.LIBEAY32.dll_Ordinal_203
add esp, 4
test eax, eax
jne 0x10006043
push 0x5f7
jmp 0x10005fcb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
jmp 0x10006350
test al, al
jns 0x10006321
mov eax, dword [ebp + 0x28]
cmp eax, ebx
jne 0x100060b1
mov ebp, dword [ebp + 0x2c]
cmp ebp, ebx
je 0x1000609d
mov eax, dword [ecx + 0x20]
mov ecx, eax
and cl, 8
movzx edx, cl
neg edx
sbb edx, edx
and edx, 0xfffffe00
add edx, 0x400
push edx
and eax, 2
push eax
push edi
call ebp
add esp, 0xc
cmp eax, ebx
jne 0x100060b1
push 0x61b
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x1000683d
mov ecx, dword [edi + 0x58]
cmp dword [ecx + 0x34c], ebx
je 0x100060c6
push 0x621
jmp 0x10005f9c
cmp eax, ebx
jne 0x100060ea
push 0x628
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000686e
push eax
call sub.LIBEAY32.dll_Ordinal_3729
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10006119
push 0x62d
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000686e
mov edx, dword [edi + 0x58]
push esi
mov dword [edx + 0x34c], esi
call sub.LIBEAY32.dll_Ordinal_3480
add esp, 4
test eax, eax
je 0x10006148
push esi
call sub.LIBEAY32.dll_Ordinal_3608
add esp, 4
test eax, eax
je 0x10006148
test dword [edi + 0x100], 0x80000
je 0x10006175
push esi
call sub.LIBEAY32.dll_Ordinal_3550
add esp, 4
test eax, eax
jne 0x10006175
push 0x638
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000686e
push esi
call sub.LIBEAY32.dll_Ordinal_3575
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10006301
push esi
call sub.LIBEAY32.dll_Ordinal_3480
add esp, 4
test eax, eax
je 0x10006301
push esi
call sub.LIBEAY32.dll_Ordinal_3608
add esp, 4
test eax, eax
je 0x10006301
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x344]
test byte [ecx + 0x20], 2
je 0x100061ec
push ebx
call sub.LIBEAY32.dll_Ordinal_3570
add esp, 4
cmp eax, 0xa3
jle 0x100061ec
push 0x648
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000686e
push ebx
call sub.LIBEAY32.dll_Ordinal_3695
push eax
call fcn.100133c0
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
jne 0x10006226
push 0x654
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000686e
push 0
push 0
push 0
push 4
push esi
call sub.LIBEAY32.dll_Ordinal_3480
add esp, 4
push eax
push ebx
call sub.LIBEAY32.dll_Ordinal_3178
push 0x662
mov ebp, eax
push str.._ssl_s3_srvr.c
push ebp
call sub.LIBEAY32.dll_Ordinal_188
add esp, 0x24
mov dword [esp + 0x20], eax
call sub.LIBEAY32.dll_Ordinal_111
cmp dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
je 0x100062e1
test eax, eax
je 0x100062e1
mov edx, eax
mov eax, dword [esp + 0x20]
push edx
push ebp
push eax
push 4
push esi
call sub.LIBEAY32.dll_Ordinal_3480
add esp, 4
push eax
push ebx
call sub.LIBEAY32.dll_Ordinal_3178
add esp, 0x18
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100062b1
push 0x672
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000685d
mov ecx, dword [esp + 0x1c]
push ecx
call sub.LIBEAY32.dll_Ordinal_110
mov edx, dword [esp + 0x1c]
xor eax, eax
add esp, 4
add edx, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
jmp 0x10006352
push 0x666
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000685d
push 0x641
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000686e
test eax, 0x100
je 0x1000682e
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea edx, [eax + 1]
jmp 0x10006340
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006340
sub eax, edx
add eax, 2
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x2c], eax
je 0x10006396
mov eax, dword [esp + 0x2c]
push eax
call sub.LIBEAY32.dll_Ordinal_151
mov ecx, dword [esp + 0x14]
add eax, 7
cdq
and edx, 7
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 3
mov dword [esp + ecx*4 + 0x64], eax
lea eax, [edx + eax + 2]
inc ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + ecx*4 + 0x30]
add esp, 4
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x10006360
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0x344]
test byte [eax + 0x10], 4
jne 0x100063d5
test dword [eax + 0xc], 0x100
jne 0x100063d5
push eax
push edi
call fcn.1001ff10
mov ebp, eax
add esp, 8
mov dword [esp + 0x28], ebp
test ebp, ebp
jne 0x100063ca
lea esi, [eax + 0x32]
jmp 0x10006851
push ebp
call sub.LIBEAY32.dll_Ordinal_285
add esp, 4
jmp 0x100063dd
xor eax, eax
mov dword [esp + 0x28], eax
mov ebp, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea eax, [eax + edx + 4]
push eax
push ecx
call sub.LIBEAY32.dll_Ordinal_3239
add esp, 8
test eax, eax
jne 0x10006417
push 0x6b0
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000685d
mov edx, dword [edi + 0x3c]
mov ebx, dword [edx + 4]
xor eax, eax
mov dword [esp + 0x24], ebx
lea esi, [ebx + 4]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x2c], eax
je 0x10006471
mov eax, dword [esp + eax + 0x60]
sar eax, 8
mov byte [esi], al
mov ecx, dword [esp + 0x10]
mov dl, byte [esp + ecx*4 + 0x60]
mov byte [esi + 1], dl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x2c]
add esi, 2
push esi
push ecx
call sub.LIBEAY32.dll_Ordinal_120
mov eax, dword [esp + 0x18]
add esi, dword [esp + eax*4 + 0x68]
inc eax
mov dword [esp + 0x18], eax
add eax, eax
add eax, eax
add esp, 8
cmp dword [esp + eax + 0x2c], 0
jne 0x10006430
test byte [esp + 0x5c], 0x80
je 0x100064b5
mov dl, byte [esp + 0x40]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov byte [esi], 3
inc esi
mov byte [esi], 0
inc esi
mov byte [esi], dl
inc esi
push ebx
mov byte [esi], bl
inc esi
push ebp
push esi
call fcn.1002b710
push ebp
call sub.LIBEAY32.dll_Ordinal_181
mov ebp, dword [esp + 0x38]
add esp, 0x10
add esi, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], 0
test dword [esp + 0x5c], 0x100
je 0x10006542
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100064d2
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]
inc eax
test dl, dl
jne 0x100064f0
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]
inc eax
test dl, dl
jne 0x10006510
sub eax, ebp
push eax
push ecx
push esi
call fcn.1002bf00
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006533
mov ebp, dword [esp + 0x28]
sub eax, edx
add esi, eax
test ebp, ebp
je 0x1000666b
mov eax, dword [ebp]
cmp eax, 6
jne 0x100066c7
lea ebx, [esp + 0x70]
mov dword [esp + 0x18], 0
mov ebp, 2
cmp ebp, 2
jne 0x1000657a
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx + 0x8c]
jmp 0x10006586
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x90]
push 0
push eax
lea eax, [esp + 0x4c]
push eax
call sub.LIBEAY32.dll_Ordinal_3109
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0xc0
push ecx
lea edx, [esp + 0x58]
push edx
call sub.LIBEAY32.dll_Ordinal_269
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xa0
push eax
lea ecx, [esp + 0x64]
push ecx
call sub.LIBEAY32.dll_Ordinal_269
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
push edx
add eax, 4
push eax
lea eax, [esp + 0x70]
push eax
call sub.LIBEAY32.dll_Ordinal_269
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x78]
push ebx
push edx
call sub.LIBEAY32.dll_Ordinal_2936
mov eax, dword [esp + 0x4c]
add dword [esp + 0x54], eax
dec ebp
add esp, 0x3c
add ebx, eax
test ebp, ebp
jg 0x10006567
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
lea eax, [esi + 2]
push eax
push ecx
lea edx, [esp + 0x80]
push edx
push 0x72
call sub.LIBEAY32.dll_Ordinal_495
add esp, 0x18
test eax, eax
jg 0x10006647
push 0x6fa
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000685d
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x24]
shr eax, 8
mov byte [esi], al
mov cl, byte [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov byte [esi + 1], cl
mov edx, dword [esp + 0x3c]
lea ecx, [eax + edx + 2]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov byte [ebx], 0xc
inc ebx
mov edx, eax
mov ecx, eax
mov byte [ebx + 2], al
sar edx, 0x10
sar ecx, 8
mov byte [ebx], dl
mov byte [ebx + 1], cl
add eax, 4
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0
lea ecx, [esp + 0x44]
push ecx
mov dword [edi + 0x34], 0x2151
call sub.LIBEAY32.dll_Ordinal_2821
push 0x16
push edi
call fcn.10010e10
add esp, 0xc
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002bb7a
add esp, 0x88
ret
cmp eax, 0x74
jne 0x10006762
push 0
call sub.LIBEAY32.dll_Ordinal_313
push eax
lea edx, [esp + 0x4c]
push edx
call sub.LIBEAY32.dll_Ordinal_3109
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xc0
push eax
lea ecx, [esp + 0x58]
push ecx
call sub.LIBEAY32.dll_Ordinal_269
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xa0
push edx
lea eax, [esp + 0x64]
push eax
call sub.LIBEAY32.dll_Ordinal_269
mov ecx, dword [esp + 0x38]
push ecx
lea eax, [ebx + 4]
push eax
lea edx, [esp + 0x70]
push edx
call sub.LIBEAY32.dll_Ordinal_269
push ebp
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 2]
push ecx
lea edx, [esp + 0x80]
push edx
call sub.LIBEAY32.dll_Ordinal_289
add esp, 0x40
test eax, eax
jne 0x100067f8
push 0x70d
push str.._ssl_s3_srvr.c
push 0xa
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000685d
cmp eax, 0x198
jne 0x1000681d
push 0
call sub.LIBEAY32.dll_Ordinal_3724
push eax
lea edx, [esp + 0x4c]
push edx
call sub.LIBEAY32.dll_Ordinal_3109
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xc0
push eax
lea ecx, [esp + 0x58]
push ecx
call sub.LIBEAY32.dll_Ordinal_269
mov edx, dword [edi + 0x58]
push 0x20
add edx, 0xa0
push edx
lea eax, [esp + 0x64]
push eax
call sub.LIBEAY32.dll_Ordinal_269
mov ecx, dword [esp + 0x38]
push ecx
lea eax, [ebx + 4]
push eax
lea edx, [esp + 0x70]
push edx
call sub.LIBEAY32.dll_Ordinal_269
push ebp
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 2]
push ecx
lea edx, [esp + 0x80]
push edx
call sub.LIBEAY32.dll_Ordinal_289
add esp, 0x40
test eax, eax
jne 0x100067f8
push 0x720
push str.._ssl_s3_srvr.c
push 0x2a
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1000685d
mov eax, dword [esp + 0x10]
sar eax, 8
mov byte [esi], al
mov cl, byte [esp + 0x10]
mov eax, dword [esp + 0x14]
mov byte [esi + 1], cl
mov edx, dword [esp + 0x10]
lea ecx, [eax + edx + 2]
mov dword [esp + 0x14], ecx
jmp 0x1000666b
push 0x72b
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x1000683d
push 0x694
push str.._ssl_s3_srvr.c
push 0xfa
push 0x9b
push 0x14
mov esi, 0x28
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
push esi
push 2
push edi
call fcn.1000f750
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000686e
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
call sub.LIBEAY32.dll_Ordinal_110
lea eax, [esp + 0x48]
push eax
call sub.LIBEAY32.dll_Ordinal_2821
add esp, 8
or eax, 0xffffffff
jmp 0x100066ae