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

Disassembly:
mov eax, 0x2ec
call fcn.10031780
mov eax, dword [0x10041d40]
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
xor eax, eax
mov dword [esp + 0x20], esi
push 0x800
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
push 0x10
push 0x2191
push 0x2190
mov eax, dword [eax + 0x30]
push esi
call eax
add esp, 0x18
mov ebx, eax
cmp dword [esp + 0x2c], ebp
je 0x10004052
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x40]
mov dword [esp + 0xc], edx
push edi
mov edi, dword [eax + 0x344]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x18], ecx
test cl, 1
je 0x10003510
cmp dword [eax + 0x370], ebp
je 0x10003296
mov edi, dword [esi + 0x98]
test edi, edi
je 0x10003282
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x100032bb
push 0x889
push str.._ssl_s3_srvr.c
push 0xad
jmp 0x10003ff5
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x100034fc
cmp dword [eax], 6
jne 0x100034fc
mov edi, dword [eax + 0x14]
test edi, edi
je 0x100034fc
mov eax, dword [esi]
cmp eax, 0x300
jle 0x10003315
cmp eax, 0x100
je 0x10003315
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
add edx, 2
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], edx
lea eax, [ecx + 2]
cmp ebx, eax
je 0x10003313
test dword [esi + 0x100], 0x100
jne 0x1000330a
push 0x8a0
push str.._ssl_s3_srvr.c
mov edi, 0x32
push 0xea
jmp 0x10003ffa
sub edx, 2
mov dword [esp + 0x10], edx
jmp 0x10003315
mov ebx, ecx
cmp ebx, 0x30
jge 0x10003333
push 0x8b2
push str.._ssl_s3_srvr.c
mov edi, 0x33
push 0xea
jmp 0x10003ffa
lea eax, [esp + 0x40]
push 0x30
push eax
call sub.LIBEAY32.dll_Ordinal_464
add esp, 8
test eax, eax
jle 0x10004015
mov eax, dword [esp + 0x10]
push 1
push edi
push eax
push eax
push ebx
call sub.LIBEAY32.dll_Ordinal_490
add esp, 0x14
mov ebx, eax
call sub.LIBEAY32.dll_Ordinal_222
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 0x100033fd
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 edx, dl
mov bl, dl
mov dword [esp + 0x14], edx
not bl
lea esi, [edi + 7]
movzx ecx, byte [esp + edi + 0x3f]
lea edi, [edi + 6]
movzx eax, byte [edi + ebp - 7]
and cl, bl
and al, dl
or cl, al
mov byte [edi + ebp - 7], cl
mov edx, dword [esp + 0x10]
movzx eax, byte [esp + edi + 0x3a]
movzx ecx, byte [esp + 0x14]
and al, bl
and cl, byte [edx + edi - 6]
or cl, al
movzx eax, byte [esp + 0x14]
mov byte [edx + edi - 6], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3b]
and cl, bl
and al, byte [edx + edi - 5]
or cl, al
mov byte [edx + edi - 5], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3c]
and cl, bl
movzx eax, byte [edx + edi - 4]
and al, byte [esp + 0x14]
or cl, al
mov byte [edx + edi - 4], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3d]
and cl, bl
movzx eax, byte [edx + edi - 3]
and al, byte [esp + 0x14]
or cl, al
movzx eax, byte [esp + 0x14]
mov byte [edx + edi - 3], cl
mov edx, dword [esp + 0x10]
movzx ecx, byte [esp + edi + 0x3e]
and cl, bl
and al, byte [edx + edi - 2]
or cl, al
mov byte [edx + edi - 2], cl
dec esi
je 0x100034bb
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x10003412
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 sub.LIBEAY32.dll_Ordinal_3245
add esp, 0x18
mov eax, 1
jmp 0x10004051
push 0x893
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x10003ff5
test cl, 0xe
je 0x1000375c
mov dword [esp + 0x1c], ebp
cmp ebx, 1
jle 0x10003537
movzx edi, byte [edx]
movzx eax, byte [edx + 1]
shl edi, 8
or edi, eax
add edx, 2
mov dword [esp + 0x10], edx
jmp 0x10003552
test cl, 8
je 0x10003550
push 0x910
push str.._ssl_s3_srvr.c
push 0x94
jmp 0x10003ff5
xor edi, edi
test ebx, ebx
je 0x10003594
lea eax, [edi + 2]
cmp ebx, eax
je 0x10003594
test byte [esi + 0x100], 0x80
jne 0x1000358b
push 0x918
push str.._ssl_s3_srvr.c
push 0x94
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
mov edi, 0x28
jmp 0x10004006
sub edx, 2
mov edi, ebx
mov dword [esp + 0x10], edx
test cl, 2
je 0x100035a0
mov eax, 3
jmp 0x100035aa
test cl, 4
je 0x100035e9
mov eax, 4
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x98]
mov eax, dword [eax + ecx*4 + 0x40]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x100035d5
cmp dword [eax], 0x1c
jne 0x100035d5
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1000360e
push 0x92a
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x10003ff5
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x348]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1000360e
push 0x931
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x10003ff5
test ebx, ebx
jne 0x1000366f
mov eax, dword [esi + 0xc0]
push dword [eax + 0x9c]
call sub.LIBEAY32.dll_Ordinal_654
mov edi, eax
add esp, 4
test edi, edi
je 0x1000365b
push dword [esp + 0x1c]
push edi
call sub.LIBEAY32.dll_Ordinal_967
add esp, 8
cmp eax, 1
jne 0x1000365b
push edi
call sub.LIBEAY32.dll_Ordinal_2128
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1000365b
push edi
call sub.LIBEAY32.dll_Ordinal_281
mov ebx, dword [ebp + 0x14]
add esp, 4
jmp 0x1000367d
push 0x940
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x10003ff5
push 0
push edi
push edx
call sub.LIBEAY32.dll_Ordinal_118
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x100036a4
push 0x948
push str.._ssl_s3_srvr.c
push 0x82
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10004015
push dword [esp + 0x18]
push ebx
push dword [esp + 0x18]
call sub.LIBEAY32.dll_Ordinal_201
mov edi, eax
add esp, 0xc
test edi, edi
jg 0x100036e6
push 0x950
push str.._ssl_s3_srvr.c
push 5
push 0x8b
push 0x14
mov edi, 0x28
call sub.LIBEAY32.dll_Ordinal_252
push ebx
call sub.LIBEAY32.dll_Ordinal_123
add esp, 0x18
jmp 0x10004009
mov eax, dword [esi + 0x58]
push dword [eax + 0x348]
call sub.LIBEAY32.dll_Ordinal_202
mov eax, dword [esi + 0x58]
add esp, 4
mov dword [eax + 0x348], 0
test ebp, ebp
je 0x10003710
push ebp
call sub.LIBEAY32.dll_Ordinal_202
jmp 0x10003716
push ebx
call sub.LIBEAY32.dll_Ordinal_123
mov eax, dword [esi + 8]
add esp, 4
mov ecx, dword [eax + 0x64]
mov eax, dword [esi + 0xc0]
push edi
push dword [esp + 0x14]
add eax, 0x14
push eax
mov eax, dword [ecx + 0xc]
push esi
call eax
mov ecx, dword [esi + 0xc0]
push edi
mov dword [ecx + 0x10], eax
push dword [esp + 0x24]
call sub.LIBEAY32.dll_Ordinal_3245
add esp, 0x18
test ebp, ebp
je 0x100034f2
mov eax, 2
jmp 0x10004051
test cl, 0xe0
je 0x10003a35
call sub.LIBEAY32.dll_Ordinal_3663
mov dword [esp + 0x28], eax
test eax, eax
jne 0x10003792
push 0xa2e
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10004015
test byte [esp + 0x18], 0x60
je 0x100037aa
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0xcc]
mov ebp, dword [eax + 0x14]
jmp 0x100037b3
mov eax, dword [esi + 0x58]
mov ebp, dword [eax + 0x34c]
push ebp
call sub.LIBEAY32.dll_Ordinal_3575
push ebp
mov edi, eax
call sub.LIBEAY32.dll_Ordinal_3608
mov ebp, eax
mov eax, dword [esp + 0x30]
push edi
push eax
call sub.LIBEAY32.dll_Ordinal_3512
add esp, 0x10
test eax, eax
je 0x10003a15
push ebp
mov ebp, dword [esp + 0x2c]
push ebp
call sub.LIBEAY32.dll_Ordinal_3459
add esp, 8
test eax, eax
je 0x10003a15
push edi
call sub.LIBEAY32.dll_Ordinal_2924
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000380a
push 0xa49
jmp 0x10003777
test ebx, ebx
jne 0x100038a8
test byte [esp + 0x18], 0x80
je 0x1000382d
push 0xa53
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x10003ff5
mov eax, dword [esi + 0xc0]
push dword [eax + 0x9c]
call sub.LIBEAY32.dll_Ordinal_654
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10003894
cmp dword [eax], 0x198
jne 0x10003894
push dword [eax + 0x14]
call sub.LIBEAY32.dll_Ordinal_3480
push eax
push dword [esp + 0x1c]
call sub.LIBEAY32.dll_Ordinal_3010
add esp, 0xc
test eax, eax
jne 0x1000388a
push 0xa69
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10004015
mov ebx, 2
jmp 0x1000392e
push 0xa62
push str.._ssl_s3_srvr.c
push 0x139
jmp 0x10003ff5
call sub.LIBEAY32.dll_Ordinal_111
mov dword [esp + 0x24], eax
test eax, eax
jne 0x100038bf
push 0xa74
jmp 0x10003777
mov ecx, dword [esp + 0x10]
movzx edx, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
lea eax, [edx + 1]
cmp ebx, eax
je 0x100038f7
push 0xa7c
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
mov edi, 0x32
jmp 0x10004006
push dword [esp + 0x24]
push edx
push ecx
push dword [esp + 0x20]
push edi
call sub.LIBEAY32.dll_Ordinal_2578
add esp, 0x14
test eax, eax
jne 0x1000391f
push 0xa81
push str.._ssl_s3_srvr.c
push 0x10
jmp 0x10003575
mov eax, dword [esi + 0x3c]
mov ebx, 1
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push edi
call sub.LIBEAY32.dll_Ordinal_3570
add esp, 4
test eax, eax
jg 0x1000395b
push 0xa8f
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10004015
add eax, 7
cdq
push 0
push ebp
push dword [esp + 0x1c]
and edx, 7
add eax, edx
sar eax, 3
push eax
push dword [esp + 0x20]
call sub.LIBEAY32.dll_Ordinal_3644
mov edi, eax
add esp, 0x14
test edi, edi
jg 0x100039a1
push 0xa95
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10004015
push dword [esp + 0x2c]
call sub.LIBEAY32.dll_Ordinal_281
push dword [esp + 0x18]
call sub.LIBEAY32.dll_Ordinal_2929
push ebp
call sub.LIBEAY32.dll_Ordinal_3422
push dword [esp + 0x30]
call sub.LIBEAY32.dll_Ordinal_110
mov eax, dword [esi + 0x58]
push dword [eax + 0x34c]
call sub.LIBEAY32.dll_Ordinal_3422
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 sub.LIBEAY32.dll_Ordinal_3245
add esp, 0x2c
mov eax, ebx
jmp 0x10004051
push 0xa43
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10004015
test ecx, 0x100
je 0x10003d04
movzx ebp, byte [edx]
mov edi, 0x28
movzx eax, byte [edx + 1]
add edx, 2
shl ebp, 8
or ebp, eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], edx
lea eax, [ebp + 2]
cmp ebx, eax
je 0x10003a8b
push 0xab7
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10003cda
cmp ebp, 0x80
jle 0x10003ab6
push 0xabc
push str.._ssl_s3_srvr.c
push 0x92
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10003cda
mov ebx, dword [esi + 0xe0]
test ebx, ebx
jne 0x10003ae3
push 0xac1
push str.._ssl_s3_srvr.c
push 0xe1
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10003cda
push ebp
push edx
lea eax, [esp + 0x78]
push eax
call sub.MSVCR120.dll_memcpy
mov eax, 0x81
sub eax, ebp
push eax
lea eax, [esp + 0x80]
add eax, ebp
push 0
push eax
call sub.MSVCR120.dll_memset
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 sub.LIBEAY32.dll_Ordinal_3245
add esp, 0x30
cmp ebx, 0x100
jbe 0x10003b63
push 0xad0
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10003cda
test ebx, ebx
jne 0x10003b8d
push 0xad7
push str.._ssl_s3_srvr.c
push 0xdf
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
lea edi, [ebx + 0x73]
jmp 0x10003cda
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 dword [sym.imp.MSVCR120.dll_memmove]
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 sub.MSVCR120.dll_memset
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 0x10003c04
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
push ebp
push dword [esp + 0x14]
call sub.LIBEAY32.dll_Ordinal_3513
mov ecx, dword [esi + 0xc0]
add esp, 8
mov dword [ecx + 0x90], eax
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x90], 0
jne 0x10003c4c
push 0xae9
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10003cda
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x10003c5f
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov eax, dword [esi + 0xe4]
push dword [eax + 0x14c]
call sub.LIBEAY32.dll_Ordinal_170
mov ecx, dword [esi + 0xc0]
add esp, 4
mov dword [ecx + 0x8c], eax
mov eax, dword [esi + 0xe4]
cmp dword [eax + 0x14c], 0
je 0x10003ca4
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0x8c], 0
jne 0x10003ca4
push 0xaf2
jmp 0x10003c31
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 sub.LIBEAY32.dll_Ordinal_3245
add esp, 8
cmp dword [esp + 0x1c], 0
jne 0x10004009
mov eax, 1
jmp 0x10004051
test ecx, 0x400
je 0x10003e41
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
add edx, 2
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], edx
lea eax, [ecx + 2]
cmp eax, ebx
jle 0x10003d43
push 0xb0c
push str.._ssl_s3_srvr.c
mov edi, 0x32
push 0x15b
jmp 0x10003ffa
push 0
push ecx
push edx
call sub.LIBEAY32.dll_Ordinal_118
add esp, 0xc
mov dword [esi + 0x1b8], eax
test eax, eax
jne 0x10003d79
push 0xb10
push str.._ssl_s3_srvr.c
push 3
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10004015
push dword [esi + 0x1a8]
push eax
call sub.LIBEAY32.dll_Ordinal_165
add esp, 8
test eax, eax
jns 0x10003e28
mov eax, dword [esi + 0x1b8]
cmp dword [eax + 4], ebp
je 0x10003e28
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0xf0]
test eax, eax
je 0x10003db8
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
push dword [esi + 0x1a4]
call sub.LIBEAY32.dll_Ordinal_170
mov ecx, dword [esi + 0xc0]
add esp, 4
mov dword [ecx + 0xf0], eax
mov eax, dword [esi + 0xc0]
cmp dword [eax + 0xf0], ebp
jne 0x10003dea
push 0xb1e
jmp 0x10003777
add eax, 0x14
push eax
push esi
call sym.SSLEAY32.dll_SRP_generate_server_master_secret
mov ecx, dword [esi + 0xc0]
add esp, 8
mov dword [ecx + 0x10], eax
test eax, eax
jns 0x100034f2
push 0xb25
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10004015
push 0xb17
push str.._ssl_s3_srvr.c
mov edi, 0x2f
push 0x173
jmp 0x10003ffa
test ecx, 0x200
je 0x10003fe6
xor ebp, ebp
mov dword [esp + 0x38], 0x20
mov ecx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x18], ebp
test ecx, 0x100
je 0x10003e76
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0xe8]
jmp 0x10003e8a
test ecx, 0x200
je 0x10003e8a
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x104]
push 0
push eax
call sub.LIBEAY32.dll_Ordinal_4119
mov edi, eax
add esp, 8
test edi, edi
jne 0x10003eaf
push 0xb40
push str.._ssl_s3_srvr.c
lea edi, [eax + 0x50]
push 0x41
jmp 0x10003ffa
push edi
call sub.LIBEAY32.dll_Ordinal_4245
add esp, 4
test eax, eax
jg 0x10003ecd
push 0xb44
push str.._ssl_s3_srvr.c
push 0x44
jmp 0x10003fbd
mov eax, dword [esi + 0xc0]
push dword [eax + 0x9c]
call sub.LIBEAY32.dll_Ordinal_654
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x10003efc
push eax
push edi
call sub.LIBEAY32.dll_Ordinal_4488
add esp, 8
test eax, eax
jg 0x10003efc
call sub.LIBEAY32.dll_Ordinal_222
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 sub.LIBEAY32.dll_Ordinal_32
add esp, 0x14
cmp eax, 0x20
jne 0x10003fae
cmp dword [esp + 0x20], 0x10
jne 0x10003fae
cmp dword [esp + 0x1c], ebp
jne 0x10003fae
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call sub.LIBEAY32.dll_Ordinal_1070
add esp, 0x14
test eax, eax
jg 0x10003f59
push 0xb60
jmp 0x10003fb3
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 sub.LIBEAY32.dll_Ordinal_3245
push 0
push 2
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call sub.LIBEAY32.dll_Ordinal_4233
xor ecx, ecx
add esp, 0x30
test eax, eax
setg cl
inc ecx
mov dword [esp + 0x34], ecx
mov ebp, ecx
jmp 0x10003fcc
push 0xb58
push str.._ssl_s3_srvr.c
push 0x93
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
push dword [esp + 0x18]
call sub.LIBEAY32.dll_Ordinal_281
push edi
call sub.LIBEAY32.dll_Ordinal_4430
add esp, 8
test ebp, ebp
je 0x10004015
mov eax, ebp
jmp 0x10004051
push 0xb79
push str.._ssl_s3_srvr.c
push 0xf9
mov edi, 0x28
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
push edi
push 2
push esi
call fcn.1000f210
add esp, 0xc
push dword [esp + 0x2c]
call sub.LIBEAY32.dll_Ordinal_281
push dword [esp + 0x18]
call sub.LIBEAY32.dll_Ordinal_2929
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
je 0x1000403b
push eax
call sub.LIBEAY32.dll_Ordinal_3422
add esp, 4
push dword [esp + 0x24]
call sub.LIBEAY32.dll_Ordinal_110
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.10031766
add esp, 0x2ec
ret