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

Disassembly:
mov eax, 0x2ec
call fcn.120320b0
mov eax, dword [0x1204fd40]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x2fc]
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x30]
push ecx
push 0x800
push 0x10
xor ebp, ebp
push 0x2191
push 0x2190
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ebp
call edx
add esp, 0x18
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x30], ebp
je 0x12003bcc
mov eax, dword [edi + 0x40]
mov edx, dword [edi + 0x58]
mov dword [esp + 0xc], eax
mov ecx, dword [edx + 0x344]
push ebx
mov ebx, dword [ecx + 0xc]
test bl, 1
je 0x1200307b
cmp dword [edx + 0x370], ebp
je 0x12002d74
mov ecx, dword [edi + 0x98]
cmp ecx, ebp
je 0x12002d60
mov ecx, dword [ecx + 0x1c]
cmp ecx, ebp
jne 0x12002d99
push 0x8b9
push str.._ssl_s3_srvr.c
push 0xad
jmp 0x12003b6c
mov edx, dword [edi + 0x98]
mov ecx, dword [edx + 0x40]
cmp ecx, ebp
je 0x12003067
cmp dword [ecx], 6
jne 0x12003067
mov ecx, dword [ecx + 0x14]
cmp ecx, ebp
je 0x12003067
mov ebx, ecx
mov ecx, dword [edi]
cmp ecx, 0x300
jle 0x12002dfb
cmp ecx, 0x100
je 0x12002dfb
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
add eax, 2
lea edx, [ecx + 2]
mov dword [esp + 0x10], eax
cmp esi, edx
je 0x12002df5
test dword [edi + 0x100], 0x100
jne 0x12002dec
push 0x8d0
push str.._ssl_s3_srvr.c
mov ebp, 0x32
push 0xea
jmp 0x12003b71
sub eax, 2
mov dword [esp + 0x10], eax
jmp 0x12002dfb
mov esi, ecx
mov dword [esp + 0x18], ecx
cmp esi, 0x30
jge 0x12002e19
push 0x8e2
push str.._ssl_s3_srvr.c
mov ebp, 0x33
push 0xea
jmp 0x12003b71
lea eax, [esp + 0x40]
push 0x30
push eax
call sub.LIBEAY32.dll_Ordinal_464
add esp, 8
test eax, eax
jle 0x12003b8c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push 3
push ebx
push eax
push eax
push ecx
call sub.LIBEAY32.dll_Ordinal_490
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jl 0x12003b8c
cmp eax, 0x3b
jge 0x12002e70
push 0x905
push str.._ssl_s3_srvr.c
mov ebp, 0x33
push 0x93
jmp 0x12003b71
mov ebp, dword [esp + 0x10]
movzx edx, byte [ebp + 1]
movzx esi, byte [ebp]
xor edx, 2
lea ecx, [edx - 1]
not edx
shr edx, 0x1f
shr ecx, 0x1f
and cl, dl
mov ebx, esi
lea edx, [esi - 1]
shr edx, 0x1f
not ebx
shr ebx, 0x1f
and dl, bl
neg dl
neg cl
and cl, dl
mov esi, 2
lea edx, [eax - 0x31]
cmp edx, esi
jbe 0x12002ed1
lea ecx, [ecx]
movzx edx, byte [esi + ebp]
lea eax, [edx - 1]
shr eax, 0x1f
not edx
shr edx, 0x1f
and al, dl
dec al
and cl, al
mov eax, dword [esp + 0x14]
inc esi
lea edx, [eax - 0x31]
cmp esi, edx
jb 0x12002eb0
movzx esi, byte [eax + ebp - 0x31]
lea ebp, [eax + ebp - 0x30]
mov eax, esi
not eax
shr eax, 0x1f
lea edx, [esi - 1]
shr edx, 0x1f
and dl, al
mov eax, dword [edi + 0x110]
neg dl
and cl, dl
mov esi, eax
mov dword [esp + 0x10], ebp
movzx edx, byte [ebp]
movzx ebx, byte [ebp + 1]
sar esi, 8
xor esi, edx
movzx edx, al
xor edx, ebx
lea eax, [edx - 1]
not edx
shr edx, 0x1f
shr eax, 0x1f
and al, dl
mov ebx, esi
lea edx, [esi - 1]
shr edx, 0x1f
not ebx
shr ebx, 0x1f
and dl, bl
neg al
neg dl
and al, dl
test dword [edi + 0x100], 0x800000
mov byte [esp + 0x1f], cl
je 0x12002f7b
mov ecx, dword [edi]
movzx edx, byte [ebp]
mov esi, ecx
movzx ecx, cl
sar esi, 8
xor esi, edx
movzx edx, byte [ebp + 1]
xor ecx, edx
lea edx, [ecx - 1]
not ecx
shr ecx, 0x1f
shr edx, 0x1f
and dl, cl
mov ebx, esi
lea ecx, [esi - 1]
shr ecx, 0x1f
not ebx
shr ebx, 0x1f
and cl, bl
neg cl
neg dl
and dl, cl
mov cl, byte [esp + 0x1f]
or al, dl
and cl, al
movzx eax, cl
mov cl, al
xor esi, esi
not cl
jmp 0x12002f94
mov ebp, dword [esp + 0x10]
movzx edx, byte [esp + esi + 0x40]
and dl, cl
mov bl, al
and bl, byte [esi + ebp]
add esi, 6
or dl, bl
mov byte [esi + ebp - 6], dl
mov ebp, dword [esp + 0x10]
movzx edx, byte [esi + ebp - 5]
and dl, al
mov bl, cl
and bl, byte [esp + esi + 0x3b]
or dl, bl
mov byte [esi + ebp - 5], dl
mov ebp, dword [esp + 0x10]
movzx ebx, byte [esi + ebp - 4]
movzx edx, byte [esp + esi + 0x3c]
and dl, cl
and bl, al
or dl, bl
mov byte [esi + ebp - 4], dl
mov ebp, dword [esp + 0x10]
movzx ebx, byte [esi + ebp - 3]
movzx edx, byte [esp + esi + 0x3d]
and dl, cl
and bl, al
or dl, bl
mov byte [esi + ebp - 3], dl
movzx edx, byte [esp + esi + 0x3e]
mov ebp, dword [esp + 0x10]
and dl, cl
mov bl, al
and bl, byte [esi + ebp - 2]
or dl, bl
mov byte [esi + ebp - 2], dl
mov ebp, dword [esp + 0x10]
movzx edx, byte [esp + esi + 0x3f]
movzx ebx, byte [esi + ebp - 1]
and dl, cl
and bl, al
or dl, bl
mov byte [esi + ebp - 1], dl
cmp esi, 0x30
jb 0x12002f90
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0xc0]
mov ecx, dword [ecx + 0xc]
push 0x30
push edx
add eax, 0x14
push eax
push edi
call ecx
mov edx, dword [edi + 0xc0]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x20]
push 0x30
push eax
call sub.LIBEAY32.dll_Ordinal_3245
add esp, 0x18
mov eax, 1
jmp 0x12003bcb
push 0x8c3
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x12003b6c
test bl, 0xe
je 0x120032cb
cmp esi, 1
jle 0x1200309e
movzx esi, byte [eax]
movzx ecx, byte [eax + 1]
shl esi, 8
or esi, ecx
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x120030b9
test bl, 8
je 0x120030b7
push 0x956
push str.._ssl_s3_srvr.c
push 0x94
jmp 0x12003b6c
xor esi, esi
cmp dword [esp + 0x18], ebp
je 0x12003101
lea ecx, [esi + 2]
cmp dword [esp + 0x18], ecx
je 0x12003101
test byte [edi + 0x100], 0x80
jne 0x120030f6
push 0x95e
push str.._ssl_s3_srvr.c
push 0x94
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
mov ebp, 0x28
jmp 0x12003b7d
mov esi, dword [esp + 0x18]
sub eax, 2
mov dword [esp + 0x10], eax
test bl, 2
je 0x1200310d
mov ecx, 3
jmp 0x12003117
test bl, 4
je 0x12003153
mov ecx, 4
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [edi + 0x98]
mov ebp, dword [ecx + edx*4 + 0x40]
test ebp, ebp
je 0x1200313f
cmp dword [ebp], 0x1c
jne 0x1200313f
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1200313f
mov ebx, ecx
jmp 0x12003173
push 0x970
push str.._ssl_s3_srvr.c
push 0xa8
jmp 0x12003b6c
mov edx, dword [edx + 0x348]
test edx, edx
jne 0x12003171
push 0x977
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x12003b6c
mov ebx, edx
cmp dword [esp + 0x18], 0
jne 0x120031d9
mov edx, dword [edi + 0xc0]
mov eax, dword [edx + 0x9c]
push eax
call sub.LIBEAY32.dll_Ordinal_654
mov esi, eax
add esp, 4
test esi, esi
je 0x120031b7
push ebp
push esi
call sub.LIBEAY32.dll_Ordinal_967
add esp, 8
cmp eax, 1
jne 0x120031b7
push esi
call sub.LIBEAY32.dll_Ordinal_2128
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x120031cb
push 0x986
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x12003b6c
push esi
call sub.LIBEAY32.dll_Ordinal_281
mov esi, dword [ebp + 0x14]
add esp, 4
jmp 0x120031e7
push 0
push esi
push eax
call sub.LIBEAY32.dll_Ordinal_118
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x1200320e
push 0x98e
push str.._ssl_s3_srvr.c
push 0x82
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x12003b8c
mov ecx, dword [esp + 0x10]
push ebx
push esi
push ecx
call sub.LIBEAY32.dll_Ordinal_201
mov ebx, eax
add esp, 0xc
test ebx, ebx
jg 0x1200324e
push 0x996
push str.._ssl_s3_srvr.c
push 5
push 0x8b
push 0x14
mov ebp, 0x28
call sub.LIBEAY32.dll_Ordinal_252
push esi
call sub.LIBEAY32.dll_Ordinal_123
add esp, 0x18
jmp 0x12003b80
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 0x348]
push eax
call sub.LIBEAY32.dll_Ordinal_202
mov ebp, dword [esp + 0x18]
mov ecx, dword [edi + 0x58]
add esp, 4
mov dword [ecx + 0x348], 0
test ebp, ebp
je 0x1200327d
push ebp
call sub.LIBEAY32.dll_Ordinal_202
jmp 0x12003283
push esi
call sub.LIBEAY32.dll_Ordinal_123
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x64]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0xc0]
mov eax, dword [eax + 0xc]
add esp, 4
push ebx
push ecx
add edx, 0x14
push edx
push edi
call eax
mov ecx, dword [edi + 0xc0]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x20]
push ebx
push edx
call sub.LIBEAY32.dll_Ordinal_3245
add esp, 0x18
test ebp, ebp
je 0x1200305d
mov eax, 2
jmp 0x12003bcb
test bl, 0xe0
je 0x120035b1
mov dword [esp + 0x14], 1
call sub.LIBEAY32.dll_Ordinal_3663
mov dword [esp + 0x20], eax
cmp eax, ebp
jne 0x12003309
push 0xa74
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x12003b8c
test bl, 0x60
je 0x1200331f
mov eax, dword [edi + 0x98]
mov ecx, dword [eax + 0xcc]
mov esi, dword [ecx + 0x14]
jmp 0x12003328
mov edx, dword [edi + 0x58]
mov esi, dword [edx + 0x34c]
push esi
call sub.LIBEAY32.dll_Ordinal_3575
push esi
mov ebp, eax
call sub.LIBEAY32.dll_Ordinal_3608
mov esi, eax
mov eax, dword [esp + 0x28]
push ebp
push eax
call sub.LIBEAY32.dll_Ordinal_3512
add esp, 0x10
test eax, eax
je 0x12003591
mov ecx, dword [esp + 0x20]
push esi
push ecx
call sub.LIBEAY32.dll_Ordinal_3459
add esp, 8
test eax, eax
je 0x12003591
push ebp
call sub.LIBEAY32.dll_Ordinal_2924
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
jne 0x12003381
push 0xa8f
jmp 0x120032ee
cmp dword [esp + 0x18], 0
jne 0x12003421
test bl, bl
jns 0x120033a4
push 0xa99
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x12003b6c
mov edx, dword [edi + 0xc0]
mov eax, dword [edx + 0x9c]
push eax
call sub.LIBEAY32.dll_Ordinal_654
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x1200340d
cmp dword [eax], 0x198
jne 0x1200340d
mov ecx, dword [eax + 0x14]
push ecx
call sub.LIBEAY32.dll_Ordinal_3480
push eax
push esi
call sub.LIBEAY32.dll_Ordinal_3010
add esp, 0xc
test eax, eax
jne 0x12003400
push 0xaaf
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x12003b8c
mov dword [esp + 0x14], 2
jmp 0x120034a0
push 0xaa8
push str.._ssl_s3_srvr.c
push 0x139
jmp 0x12003b6c
call sub.LIBEAY32.dll_Ordinal_111
mov edx, eax
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x1200343a
push 0xaba
jmp 0x120032ee
mov eax, dword [esp + 0x10]
movzx ecx, byte [eax]
inc eax
lea ebx, [ecx + 1]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebx
je 0x12003474
push 0xac2
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
mov ebp, 0x32
jmp 0x12003b7d
push edx
push ecx
push eax
push esi
push ebp
call sub.LIBEAY32.dll_Ordinal_2578
add esp, 0x14
test eax, eax
jne 0x12003496
push 0xac7
push str.._ssl_s3_srvr.c
push 0x10
jmp 0x120030e0
mov edx, dword [edi + 0x3c]
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
push ebp
call sub.LIBEAY32.dll_Ordinal_3570
add esp, 4
test eax, eax
jg 0x120034cd
push 0xad5
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x12003b8c
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
add eax, 7
cdq
push 0
and edx, 7
push ebp
add eax, edx
push ebx
sar eax, 3
push eax
push ecx
call sub.LIBEAY32.dll_Ordinal_3644
mov esi, eax
add esp, 0x14
test esi, esi
jg 0x12003519
push 0xadb
push str.._ssl_s3_srvr.c
push 0x2b
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x12003b8c
mov edx, dword [esp + 0x28]
push edx
call sub.LIBEAY32.dll_Ordinal_281
push ebx
call sub.LIBEAY32.dll_Ordinal_2929
push ebp
call sub.LIBEAY32.dll_Ordinal_3422
mov eax, dword [esp + 0x38]
push eax
call sub.LIBEAY32.dll_Ordinal_110
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 0x34c]
push edx
call sub.LIBEAY32.dll_Ordinal_3422
mov eax, dword [edi + 0x58]
mov dword [eax + 0x34c], 0
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0xc0]
mov edx, dword [edx + 0xc]
push esi
push eax
add ecx, 0x14
push ecx
push edi
call edx
mov ecx, dword [edi + 0xc0]
mov dword [ecx + 0x10], eax
mov edx, dword [esp + 0x34]
push esi
push edx
call sub.LIBEAY32.dll_Ordinal_3245
mov eax, dword [esp + 0x40]
add esp, 0x2c
jmp 0x12003bcb
push 0xa89
push str.._ssl_s3_srvr.c
push 0x10
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x12003b8c
test ebx, 0x100
je 0x12003879
movzx esi, byte [eax]
movzx ecx, byte [eax + 1]
shl esi, 8
or esi, ecx
add eax, 2
lea edx, [esi + 2]
mov dword [esp + 0x14], 1
mov ebp, 0x28
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], edx
je 0x12003609
push 0xafd
push str.._ssl_s3_srvr.c
push 0x9f
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1200384f
cmp esi, 0x80
jle 0x12003634
push 0xb02
push str.._ssl_s3_srvr.c
push 0x92
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1200384f
mov ebx, dword [edi + 0xe0]
test ebx, ebx
jne 0x12003661
push 0xb07
push str.._ssl_s3_srvr.c
push 0xe1
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1200384f
push esi
push eax
lea eax, [esp + 0x78]
push eax
call fcn.120320e0
mov ecx, 0x81
sub ecx, esi
push ecx
lea edx, [esp + esi + 0x80]
push 0
push edx
call fcn.12032460
push 0x204
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x90]
push ecx
push edi
call ebx
lea edx, [esp + 0x98]
push 0x81
push edx
mov ebx, eax
call sub.LIBEAY32.dll_Ordinal_3245
add esp, 0x30
cmp ebx, 0x100
jbe 0x120036db
push 0xb16
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1200384f
test ebx, ebx
jne 0x12003705
push 0xb1d
push str.._ssl_s3_srvr.c
push 0xdf
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
lea ebp, [ebx + 0x73]
jmp 0x1200384f
push ebx
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + ebx + 0x100]
lea eax, [ebx + ebx + 4]
push edx
mov dword [esp + 0x3c], eax
call fcn.120324e0
mov eax, ebx
shr eax, 8
push ebx
mov dword [esp + 0x28], eax
mov byte [esp + 0x104], al
lea eax, [esp + 0x106]
push 0
push eax
mov byte [esp + 0x10d], bl
call fcn.12032460
mov cl, byte [esp + 0x30]
lea eax, [esp + ebx + 0x10e]
mov byte [eax], cl
mov byte [eax + 1], bl
mov edx, dword [edi + 0xc0]
mov eax, dword [edx + 0x90]
add esp, 0x18
test eax, eax
je 0x12003776
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov eax, dword [esp + 0x10]
push esi
push eax
call sub.LIBEAY32.dll_Ordinal_3513
mov ecx, dword [edi + 0xc0]
mov dword [ecx + 0x90], eax
mov eax, dword [edi + 0xc0]
add esp, 8
cmp dword [eax + 0x90], 0
jne 0x120037bf
push 0xb2f
push str.._ssl_s3_srvr.c
push 0x41
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x1200384f
mov eax, dword [eax + 0x8c]
test eax, eax
je 0x120037d2
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x14c]
push eax
call sub.LIBEAY32.dll_Ordinal_170
mov ecx, dword [edi + 0xc0]
mov dword [ecx + 0x8c], eax
mov edx, dword [edi + 0xe4]
add esp, 4
cmp dword [edx + 0x14c], 0
je 0x12003818
mov eax, dword [edi + 0xc0]
cmp dword [eax + 0x8c], 0
jne 0x12003818
push 0xb38
jmp 0x120037a4
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x30]
mov edx, dword [ecx + 0x64]
push eax
mov eax, dword [edi + 0xc0]
lea ecx, [esp + 0xf8]
push ecx
mov ecx, dword [edx + 0xc]
add eax, 0x14
push eax
push edi
call ecx
mov edx, dword [edi + 0xc0]
add esp, 0x10
mov dword [edx + 0x10], eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0xf4]
push 0x204
push eax
call sub.LIBEAY32.dll_Ordinal_3245
add esp, 8
cmp dword [esp + 0x14], 0
jne 0x12003b80
mov eax, 1
jmp 0x12003bcb
test ebx, 0x400
je 0x120039be
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
add eax, 2
lea edx, [ecx + 2]
cmp edx, esi
mov dword [esp + 0x10], eax
jle 0x120038b8
push 0xb52
push str.._ssl_s3_srvr.c
mov ebp, 0x32
push 0x15b
jmp 0x12003b71
push ebp
push ecx
push eax
call sub.LIBEAY32.dll_Ordinal_118
add esp, 0xc
mov dword [edi + 0x1b8], eax
cmp eax, ebp
jne 0x120038ed
push 0xb56
push str.._ssl_s3_srvr.c
push 3
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x12003b8c
mov ecx, dword [edi + 0x1a8]
push ecx
push eax
call sub.LIBEAY32.dll_Ordinal_165
add esp, 8
test eax, eax
jge 0x120039a5
mov edx, dword [edi + 0x1b8]
cmp dword [edx + 4], ebp
je 0x120039a5
mov eax, dword [edi + 0xc0]
mov eax, dword [eax + 0xf0]
cmp eax, ebp
je 0x1200392d
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov ecx, dword [edi + 0x1a4]
push ecx
call sub.LIBEAY32.dll_Ordinal_170
mov edx, dword [edi + 0xc0]
mov dword [edx + 0xf0], eax
mov eax, dword [edi + 0xc0]
add esp, 4
cmp dword [eax + 0xf0], ebp
jne 0x12003960
push 0xb64
jmp 0x120032ee
add eax, 0x14
push eax
push edi
call sym.SSLEAY32.dll_SRP_generate_server_master_secret
mov ecx, dword [edi + 0xc0]
mov dword [ecx + 0x10], eax
mov edx, dword [edi + 0xc0]
add esp, 8
cmp dword [edx + 0x10], ebp
jge 0x1200305d
push 0xb6b
push str.._ssl_s3_srvr.c
push 0x44
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x12003b8c
push 0xb5d
push str.._ssl_s3_srvr.c
mov ebp, 0x2f
push 0x173
jmp 0x12003b71
test ebx, 0x200
je 0x12003b5d
mov dword [esp + 0x3c], 0x20
mov eax, dword [edx + 0x344]
mov eax, dword [eax + 0x10]
xor ebx, ebx
xor ecx, ecx
test eax, 0x100
je 0x120039f4
mov ecx, dword [edi + 0x98]
mov ecx, dword [ecx + 0xe8]
jmp 0x12003a07
test eax, 0x200
je 0x12003a07
mov edx, dword [edi + 0x98]
mov ecx, dword [edx + 0x104]
push 0
push ecx
call sub.LIBEAY32.dll_Ordinal_4119
mov esi, eax
add esp, 8
test esi, esi
jne 0x12003a2c
push 0xb86
push str.._ssl_s3_srvr.c
lea ebp, [eax + 0x50]
push 0x41
jmp 0x12003b71
push esi
call sub.LIBEAY32.dll_Ordinal_4245
add esp, 4
test eax, eax
jg 0x12003a4a
push 0xb8a
push str.._ssl_s3_srvr.c
push 0x44
jmp 0x12003b37
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0x9c]
push ecx
call sub.LIBEAY32.dll_Ordinal_654
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x12003a78
push ebx
push esi
call sub.LIBEAY32.dll_Ordinal_4488
add esp, 8
test eax, eax
jg 0x12003a78
call sub.LIBEAY32.dll_Ordinal_222
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x20]
push eax
call sub.LIBEAY32.dll_Ordinal_32
add esp, 0x14
cmp eax, 0x20
jne 0x12003b28
cmp dword [esp + 0x30], 0x10
jne 0x12003b28
cmp dword [esp + 0x14], ebp
jne 0x12003b28
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call sub.LIBEAY32.dll_Ordinal_1070
add esp, 0x14
test eax, eax
jg 0x12003ad7
push 0xba6
jmp 0x12003b2d
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x64]
mov edx, dword [edi + 0xc0]
mov eax, dword [eax + 0xc]
push 0x20
lea ecx, [esp + 0x44]
push ecx
add edx, 0x14
push edx
push edi
call eax
mov ecx, dword [edi + 0xc0]
lea edx, [esp + 0x50]
push 0x20
push edx
mov dword [ecx + 0x10], eax
call sub.LIBEAY32.dll_Ordinal_3245
push 0
push 2
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call sub.LIBEAY32.dll_Ordinal_4233
xor ecx, ecx
add esp, 0x30
test eax, eax
setg cl
inc ecx
mov ebp, ecx
jmp 0x12003b46
push 0xb9e
push str.._ssl_s3_srvr.c
push 0x93
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
push ebx
call sub.LIBEAY32.dll_Ordinal_281
push esi
call sub.LIBEAY32.dll_Ordinal_4430
add esp, 8
test ebp, ebp
je 0x12003b8c
mov eax, ebp
jmp 0x12003bcb
push 0xbbf
push str.._ssl_s3_srvr.c
push 0xf9
mov ebp, 0x28
push 0x8b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
push ebp
push 2
push edi
call fcn.1200e4a0
add esp, 0xc
mov edx, dword [esp + 0x28]
push edx
call sub.LIBEAY32.dll_Ordinal_281
mov eax, dword [esp + 0x28]
push eax
call sub.LIBEAY32.dll_Ordinal_2929
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x12003bb4
push eax
call sub.LIBEAY32.dll_Ordinal_3422
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
call sub.LIBEAY32.dll_Ordinal_110
add esp, 4
mov dword [edi + 0x34], 0x3005
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.12032445
add esp, 0x2ec
ret