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

Disassembly:
mov eax, 0x8c
call fcn.10035210
mov eax, dword [0x10045fc0]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0xa0]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], ebx
call sub.LIBEAY32.dll_Ordinal_2630
add esp, 4
cmp dword [edi + 0x34], 0x2150
jne 0x1000694b
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0x344]
mov ecx, dword [eax + 0xc]
mov edx, dword [edi + 0x3c]
mov ebp, dword [edi + 0x98]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
test cl, 1
je 0x1000612b
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
jne 0x100060f7
mov ecx, dword [ebp + 0x20]
cmp ecx, ebx
je 0x10006117
mov eax, dword [eax + 0x20]
mov edx, eax
and dl, 8
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xfffffe00
add edx, 0x400
push edx
and eax, 2
push eax
push edi
call ecx
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x100060eb
push 0x634
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x10006ac0
push esi
call sub.LIBEAY32.dll_Ordinal_2760
add esp, 4
mov dword [ebp + 0x1c], esi
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [edi + 0x58]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [edx + 0x370], 1
jmp 0x100065c6
push 0x63d
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x10006ac0
test cl, 8
je 0x10006253
mov esi, dword [ebp + 0x24]
cmp esi, ebx
jne 0x10006182
mov ebp, dword [ebp + 0x28]
cmp ebp, ebx
je 0x1000616e
mov eax, dword [eax + 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 0x10006182
push 0x651
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x10006ac0
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x348], ebx
je 0x100061ad
push 0x657
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
push esi
call sub.LIBEAY32.dll_Ordinal_4540
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x100061dc
push 0x65c
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
mov ecx, dword [edi + 0x58]
mov dword [ecx + 0x348], ebp
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x10006225
cmp dword [esi + 0x18], ebx
je 0x10006225
test dword [edi + 0x100], 0x100000
jne 0x10006225
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 0x1000621e
cmp eax, ebx
jne 0x10006239
push 0x66c
jmp 0x100061c1
push ebp
call sub.LIBEAY32.dll_Ordinal_203
add esp, 4
test eax, eax
jne 0x10006239
push 0x665
jmp 0x100061c1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0x100065c6
test cl, cl
jns 0x10006544
mov esi, dword [ebp + 0x2c]
cmp dword [ebp + 0x34], ebx
je 0x1000627d
push 0xfffffffffffffffe
push edi
call fcn.100170e0
add esp, 8
cmp eax, ebx
je 0x100062b0
push eax
call sub.LIBEAY32.dll_Ordinal_3353
add esp, 4
jmp 0x100062ae
cmp esi, ebx
jne 0x100062c8
mov ebp, dword [ebp + 0x30]
cmp ebp, ebx
je 0x100062b4
mov eax, dword [eax + 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
mov esi, eax
cmp esi, ebx
jne 0x100062c8
push 0x689
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x10006ac0
mov eax, dword [edi + 0x58]
cmp dword [eax + 0x34c], ebx
je 0x100062dd
push 0x68f
jmp 0x10006192
cmp esi, ebx
jne 0x10006301
push 0x695
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
mov ecx, dword [edi + 0x98]
cmp dword [ecx + 0x34], ebx
jne 0x1000633b
push esi
call sub.LIBEAY32.dll_Ordinal_3729
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000633b
push 0x69b
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
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 0x1000636a
push esi
call sub.LIBEAY32.dll_Ordinal_3608
add esp, 4
test eax, eax
je 0x1000636a
test dword [edi + 0x100], 0x80000
je 0x10006397
push esi
call sub.LIBEAY32.dll_Ordinal_3550
add esp, 4
test eax, eax
jne 0x10006397
push 0x6a5
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
push esi
call sub.LIBEAY32.dll_Ordinal_3575
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10006524
push esi
call sub.LIBEAY32.dll_Ordinal_3480
add esp, 4
test eax, eax
je 0x10006524
push esi
call sub.LIBEAY32.dll_Ordinal_3608
add esp, 4
test eax, eax
je 0x10006524
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x344]
test byte [ecx + 0x20], 2
je 0x1000640e
push ebx
call sub.LIBEAY32.dll_Ordinal_3570
add esp, 4
cmp eax, 0xa3
jle 0x1000640e
push 0x6b4
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
push ebx
call sub.LIBEAY32.dll_Ordinal_3695
push eax
call fcn.10016d20
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
jne 0x10006448
push 0x6c1
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
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 0x6cf
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 0x10006504
test eax, eax
je 0x10006504
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 0x100064d3
push 0x6dd
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006ae0
mov ecx, dword [esp + 0x1c]
push ecx
call sub.LIBEAY32.dll_Ordinal_110
mov edx, dword [esp + 0x1c]
xor eax, eax
add edx, 4
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor ebx, ebx
jmp 0x100065c2
push 0x6d3
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006ae0
push 0x6ad
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
test ecx, 0x100
je 0x10006572
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea edx, [eax + 1]
jmp 0x10006560
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006560
sub eax, edx
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x100065c6
test ecx, 0x400
je 0x10006ab1
mov esi, dword [edi + 0x1a8]
cmp esi, ebx
je 0x10006a91
mov edx, dword [edi + 0x1ac]
cmp edx, ebx
je 0x10006a91
mov ecx, dword [edi + 0x1b0]
cmp ecx, ebx
je 0x10006a91
mov eax, dword [edi + 0x1b4]
cmp eax, ebx
je 0x10006a91
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea esp, [esp]
mov ecx, dword [esp + ecx*4 + 0x24]
cmp ecx, ebx
je 0x10006624
push ecx
call sub.LIBEAY32.dll_Ordinal_151
mov ecx, dword [esp + 0x18]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
add esp, 4
mov dword [esp + ecx*4 + 0x64], eax
cmp ecx, 2
jne 0x1000660e
test dword [esp + 0x34], 0x400
je 0x1000660e
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 1]
jmp 0x10006616
mov edx, dword [esp + 0x10]
lea eax, [edx + eax + 2]
inc ecx
cmp ecx, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jl 0x100065d0
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 0x344]
test dword [eax + 0x10], 0x404
jne 0x1000666b
test dword [eax + 0xc], 0x100
jne 0x1000666b
lea edx, [esp + 0x40]
push edx
push eax
push edi
call fcn.10026380
add esp, 0xc
mov dword [esp + 0x44], eax
cmp eax, ebx
jne 0x10006660
mov esi, 0x32
jmp 0x10006ad4
push eax
call sub.LIBEAY32.dll_Ordinal_285
add esp, 4
jmp 0x10006671
mov dword [esp + 0x44], ebx
xor eax, eax
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
mov ecx, dword [edx + 0x3c]
mov edx, dword [esp + 0x38]
add ecx, eax
add ecx, dword [esp + 0x10]
push ecx
push edx
call sub.LIBEAY32.dll_Ordinal_3239
add esp, 8
test eax, eax
jne 0x100066b2
push 0x72b
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006ae0
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
mov esi, dword [ecx + 0x3c]
mov edx, dword [edi + 0x3c]
add esi, dword [edx + 4]
mov bl, byte [esp + 0x6c]
xor eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x14], eax
mov ebp, 0x400
cmp dword [esp + eax*4 + 0x24], 0
je 0x10006726
cmp eax, 2
jne 0x100066eb
test dword [esp + 0x34], ebp
je 0x100066eb
mov byte [esi], bl
inc esi
jmp 0x10006702
mov eax, dword [esp + eax*4 + 0x64]
sar eax, 8
mov byte [esi], al
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + ecx*4 + 0x64]
mov byte [esi + 1], dl
add esi, 2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x24]
push esi
push ecx
call sub.LIBEAY32.dll_Ordinal_120
mov eax, dword [esp + 0x1c]
add esi, dword [esp + eax*4 + 0x6c]
inc eax
add esp, 8
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x100066d4
test byte [esp + 0x34], 0x80
je 0x10006762
mov dl, byte [esp + 0x48]
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 sub.MSVCR90.dll_memcpy
push ebp
call sub.LIBEAY32.dll_Ordinal_181
add esp, 0x10
mov dword [esp + 0x20], 0
add esi, ebx
test dword [esp + 0x34], 0x100
je 0x100067ef
mov eax, dword [edi + 0xe4]
mov eax, dword [eax + 0x14c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006780
sub eax, edx
shr eax, 8
mov byte [esi], al
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx + 0x14c]
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100067a0
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 0x100067c0
sub eax, ebp
push eax
push ecx
push esi
call dword [sym.imp.MSVCR90.dll_strncpy]
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 0x100067e4
sub eax, edx
add esi, eax
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x10006935
cmp dword [ebp], 6
jne 0x10006984
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
test byte [edx + 0x38], 2
jne 0x10006984
lea ebx, [esp + 0x74]
mov dword [esp + 0x18], 0
mov ebp, 2
lea eax, [esp + 0x4c]
push 8
push eax
call sub.LIBEAY32.dll_Ordinal_3883
add esp, 8
cmp ebp, 2
jne 0x10006848
mov ecx, dword [edi + 0xe4]
mov eax, dword [ecx + 0x8c]
jmp 0x10006854
mov edx, dword [edi + 0xe4]
mov eax, dword [edx + 0x90]
push 0
push eax
lea eax, [esp + 0x54]
push eax
call sub.LIBEAY32.dll_Ordinal_3109
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0xc0
push ecx
lea edx, [esp + 0x60]
push edx
call sub.LIBEAY32.dll_Ordinal_269
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xa0
push eax
lea ecx, [esp + 0x6c]
push ecx
call sub.LIBEAY32.dll_Ordinal_269
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
call sub.LIBEAY32.dll_Ordinal_269
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x80]
push ebx
push eax
call sub.LIBEAY32.dll_Ordinal_2936
mov eax, dword [esp + 0x50]
add dword [esp + 0x54], eax
dec ebp
add esp, 0x3c
add ebx, eax
test ebp, ebp
jg 0x10006826
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 2]
push ecx
push edx
lea eax, [esp + 0x84]
push eax
push 0x72
call sub.LIBEAY32.dll_Ordinal_495
add esp, 0x18
test eax, eax
jg 0x10006915
push 0x778
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006ae0
mov ecx, dword [esp + 0x3c]
shr ecx, 8
mov byte [esi], cl
mov dl, byte [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov byte [esi + 1], dl
mov eax, dword [esp + 0x3c]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
push eax
mov eax, dword [edx + 0x40]
push 0xc
push edi
call eax
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
mov dword [edi + 0x34], 0x2151
call sub.LIBEAY32.dll_Ordinal_2821
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
mov eax, dword [edx + 0x44]
push edi
call eax
add esp, 8
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10035256
add esp, 0x8c
ret
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10006a80
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
test byte [edx + 0x38], 2
je 0x100069c6
push eax
push ebp
push esi
call fcn.1001bcd0
add esp, 0xc
test eax, eax
jne 0x100069bf
push 0x786
push str.._ssl_s3_srvr.c
lea esi, [eax + 0x50]
push 0x44
jmp 0x10006ac5
mov eax, dword [esp + 0x40]
add esi, 2
push 0
push eax
lea eax, [esp + 0x54]
push eax
call sub.LIBEAY32.dll_Ordinal_3109
mov ecx, dword [edi + 0x58]
push 0x20
add ecx, 0xc0
push ecx
lea edx, [esp + 0x60]
push edx
call sub.LIBEAY32.dll_Ordinal_269
mov eax, dword [edi + 0x58]
push 0x20
add eax, 0xa0
push eax
lea ecx, [esp + 0x6c]
push ecx
call sub.LIBEAY32.dll_Ordinal_269
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
push ebx
push edx
lea eax, [esp + 0x78]
push eax
call sub.LIBEAY32.dll_Ordinal_269
push ebp
lea ecx, [esp + 0x48]
push ecx
lea edx, [esi + 2]
push edx
lea eax, [esp + 0x88]
push eax
call sub.LIBEAY32.dll_Ordinal_289
add esp, 0x40
test eax, eax
jne 0x10006a50
push 0x796
push str.._ssl_s3_srvr.c
push 6
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006ae0
mov ecx, dword [esp + 0x14]
sar ecx, 8
mov byte [esi], cl
mov dl, byte [esp + 0x14]
mov byte [esi + 1], dl
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x64]
test byte [edx + 0x38], 2
mov eax, dword [esp + 0x14]
lea eax, [ebx + eax + 2]
je 0x10006939
add eax, 2
jmp 0x10006939
push 0x7a1
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x10006ac0
push 0x704
push str.._ssl_s3_srvr.c
push 0x166
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
jmp 0x10006af1
push 0x710
push str.._ssl_s3_srvr.c
push 0xfa
mov esi, 0x28
push 0x9b
push 0x14
call sub.LIBEAY32.dll_Ordinal_252
add esp, 0x14
push esi
push 2
push edi
call fcn.10011b20
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10006af1
push eax
call sub.LIBEAY32.dll_Ordinal_181
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
call sub.LIBEAY32.dll_Ordinal_110
lea edx, [esp + 0x50]
push edx
call sub.LIBEAY32.dll_Ordinal_2821
add esp, 8
or eax, 0xffffffff
jmp 0x1000696b