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

Disassembly:
mov eax, 0x94
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
mov ebx, dword [esp + 0x9c]
xor eax, eax
push ebp
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
push edi
push eax
mov dword [esp + 0x5c], ebx
xor edi, edi
mov dword [esp + 0x28], 0
call fcn.1006ea70
add esp, 4
cmp dword [ebx + 0x34], 0x2150
jne 0x10154a56
mov ecx, dword [ebx + 0x58]
mov ebp, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x98]
mov dword [esp + 0x54], ebp
xor ebp, ebp
mov esi, dword [ecx + 0x344]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov edx, dword [esi + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
test dl, 1
je 0x10154275
mov esi, dword [eax + 0x1c]
test esi, esi
jne 0x10154244
mov edx, dword [eax + 0x20]
test edx, edx
je 0x10154261
mov ecx, dword [ecx + 0x344]
mov eax, 0x400
mov esi, 0x200
mov ecx, dword [ecx + 0x20]
test cl, 8
cmovne eax, esi
and ecx, 2
push eax
push ecx
push ebx
call edx
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10154231
push 0x634
push str.._ssl_s3_srvr.c
push 0x11a
jmp 0x10154bc6
push esi
call fcn.1006fc80
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [eax + 0x1c], esi
mov ecx, dword [ebx + 0x58]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x60], eax
mov dword [ecx + 0x370], 1
jmp 0x101546ca
push 0x63d
push str.._ssl_s3_srvr.c
push 0xac
jmp 0x10154bc6
test dl, 8
je 0x101543a4
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x101542cc
mov edx, dword [eax + 0x28]
test edx, edx
je 0x101542b8
mov ecx, dword [esi + 0x20]
mov eax, 0x400
test cl, 8
mov esi, 0x200
cmovne eax, esi
and ecx, 2
push eax
push ecx
push ebx
call edx
mov ecx, eax
mov dword [esp + 0x20], eax
add esp, 0xc
test ecx, ecx
jne 0x101542cc
push 0x651
push str.._ssl_s3_srvr.c
push 0xab
jmp 0x10154bc6
mov eax, dword [ebx + 0x58]
cmp dword [eax + 0x348], edi
je 0x101542f7
push 0x657
push str.._ssl_s3_srvr.c
push 0x44
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154bf9
push ecx
call fcn.100c4e30
mov esi, eax
add esp, 4
test esi, esi
jne 0x10154326
push 0x65c
push str.._ssl_s3_srvr.c
push 5
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154bf9
mov eax, dword [ebx + 0x58]
mov dword [eax + 0x348], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x10154376
cmp dword [eax + 0x18], edi
je 0x10154376
test dword [ebx + 0x100], 0x100000
jne 0x10154376
push ecx
call fcn.10069bc0
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x18]
call fcn.10069bc0
add esp, 8
mov dword [esi + 0x18], eax
cmp dword [esi + 0x14], edi
je 0x1015436f
test eax, eax
jne 0x1015438a
push 0x66c
jmp 0x1015430b
push esi
call fcn.100d12e0
add esp, 4
test eax, eax
jne 0x1015438a
push 0x665
jmp 0x1015430b
mov eax, dword [esi + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x64], eax
jmp 0x101546ca
test dl, dl
jns 0x10154651
mov esi, dword [eax + 0x2c]
cmp dword [eax + 0x34], edi
je 0x101543ce
push 0xfffffffffffffffe
push ebx
call fcn.1013b6c0
add esp, 8
test eax, eax
je 0x101543ff
push eax
call fcn.1008cdd0
add esp, 4
jmp 0x101543fd
test esi, esi
jne 0x10154417
mov edx, dword [eax + 0x30]
test edx, edx
je 0x10154403
mov ecx, dword [ecx + 0x344]
mov eax, 0x400
mov esi, 0x200
mov ecx, dword [ecx + 0x20]
test cl, 8
cmovne eax, esi
and ecx, 2
push eax
push ecx
push ebx
call edx
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x10154417
push 0x689
push str.._ssl_s3_srvr.c
push 0x137
jmp 0x10154bc6
mov eax, dword [ebx + 0x58]
cmp dword [eax + 0x34c], edi
je 0x1015442c
push 0x68f
jmp 0x101542dc
mov eax, dword [ebx + 0x98]
cmp dword [eax + 0x34], edi
jne 0x10154466
push esi
call fcn.1008ca70
mov esi, eax
add esp, 4
test esi, esi
jne 0x10154466
push 0x69b
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154bf9
mov eax, dword [ebx + 0x58]
push esi
mov dword [eax + 0x34c], esi
call fcn.1008cc60
add esp, 4
test eax, eax
je 0x10154495
push esi
call fcn.1008cc50
add esp, 4
test eax, eax
je 0x10154495
test dword [ebx + 0x100], 0x80000
je 0x101544c2
push esi
call fcn.1008cb10
add esp, 4
test eax, eax
jne 0x101544c2
push 0x6a5
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154bf9
push esi
call fcn.1008cc40
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10154631
push esi
call fcn.1008cc60
add esp, 4
test eax, eax
je 0x10154631
push esi
call fcn.1008cc50
add esp, 4
test eax, eax
je 0x10154631
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0x344]
test byte [eax + 0x20], 2
je 0x10154539
push ebp
call fcn.1009bc40
add esp, 4
cmp eax, 0xa3
jle 0x10154539
push 0x6b4
push str.._ssl_s3_srvr.c
push 0x136
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154bf9
push ebp
call fcn.1009bc30
push eax
call fcn.10139e70
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
jne 0x10154573
push 0x6c1
push str.._ssl_s3_srvr.c
push 0x13b
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154bf9
push 0
push 0
push 0
push 4
push esi
call fcn.1008cc60
add esp, 4
push eax
push ebp
call fcn.10108e10
push 0x6cf
push str.._ssl_s3_srvr.c
push eax
mov dword [esp + 0x40], eax
call fcn.100665c0
add esp, 0x24
mov dword [esp + 0x24], eax
call fcn.1008f800
mov edi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10154611
test edi, edi
je 0x10154611
push edi
push dword [esp + 0x20]
push eax
push 4
push esi
call fcn.1008cc60
add esp, 4
push eax
push ebp
call fcn.10108e10
add esp, 0x18
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x101545fc
push 0x6dd
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154be8
push edi
call fcn.1008f610
mov ebp, dword [esp + 0x30]
add esp, 4
add ebp, 4
jmp 0x101546ca
push 0x6d3
push str.._ssl_s3_srvr.c
push 0x41
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154be8
push 0x6ad
push str.._ssl_s3_srvr.c
push 0x2b
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154bf9
test edx, 0x100
je 0x10154676
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10154668
sub ecx, edx
lea ebp, [ecx + 2]
jmp 0x101546ca
test edx, 0x400
je 0x10154bb7
mov eax, dword [ebx + 0x1a8]
test eax, eax
je 0x10154b97
mov ecx, dword [ebx + 0x1ac]
test ecx, ecx
je 0x10154b97
mov edx, dword [ebx + 0x1b0]
test edx, edx
je 0x10154b97
mov esi, dword [ebx + 0x1b4]
test esi, esi
je 0x10154b97
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + eax*4 + 0x5c]
test eax, eax
je 0x10154719
push eax
call fcn.10069eb0
add eax, 7
add esp, 4
cdq
and edx, 7
lea ecx, [edx + eax]
mov eax, dword [esp + 0x10]
sar ecx, 3
mov dword [esp + eax*4 + 0x6c], ecx
cmp eax, 2
jne 0x1015470a
test esi, 0x400
je 0x1015470a
inc ebp
jmp 0x1015470d
add ebp, 2
inc eax
add ebp, ecx
mov dword [esp + 0x10], eax
cmp eax, 4
jl 0x101546d4
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x20], ebp
mov eax, dword [eax + 0x344]
test dword [eax + 0x10], 0x404
jne 0x10154766
test dword [eax + 0xc], 0x100
jne 0x10154766
lea ecx, [esp + 0x38]
push ecx
push eax
push ebx
call fcn.101242d0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
test esi, esi
jne 0x10154759
lea esi, [eax + 0x32]
jmp 0x10154bda
push esi
call fcn.1006f5c0
add esp, 4
mov ecx, eax
jmp 0x1015476e
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x3c]
add eax, ecx
add eax, ebp
push eax
push dword [esp + 0x58]
call fcn.10083300
add esp, 8
test eax, eax
jne 0x101547ac
push 0x72b
push str.._ssl_s3_srvr.c
push 7
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154be6
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x3c]
mov bl, byte [esp + 0x74]
mov ebp, dword [esp + 0x30]
mov eax, dword [eax + 0x64]
mov edi, dword [eax + 0x3c]
add edi, dword [ecx + 4]
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
nop dword [eax]
lea ecx, [eax*4]
cmp dword [esp + ecx + 0x5c], 0
je 0x10154835
cmp eax, 2
jne 0x101547f4
test ebp, 0x400
je 0x101547f4
mov byte [edi], bl
mov eax, 1
jmp 0x1015480d
mov eax, dword [esp + ecx + 0x6c]
sar eax, 8
mov byte [edi], al
mov eax, dword [esp + 0x10]
mov al, byte [esp + eax*4 + 0x6c]
mov byte [edi + 1], al
mov eax, 2
lea esi, [eax + edi]
mov eax, dword [esp + 0x10]
push esi
push dword [esp + eax*4 + 0x60]
call fcn.10069620
mov eax, dword [esp + 0x18]
add esp, 8
mov edi, dword [esp + eax*4 + 0x6c]
inc eax
add edi, esi
mov dword [esp + 0x10], eax
cmp eax, 4
jl 0x101547d0
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], edi
test al, al
jns 0x10154888
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov word [edi], 3
mov byte [edi + 2], al
mov eax, dword [esp + 0x2c]
push eax
mov byte [edi + 3], al
add edi, 4
push esi
push edi
call fcn.101576e0
push esi
call fcn.100663e0
mov eax, dword [esp + 0x40]
add esp, 0x10
add edi, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], edi
test eax, 0x100
je 0x10154912
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101548a2
sub ecx, edx
shr ecx, 8
mov byte [edi], cl
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101548c0
sub ecx, edx
mov byte [edi + 1], cl
add edi, 2
mov eax, dword [ebx + 0xe4]
mov edx, dword [eax + 0x14c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101548e0
sub ecx, esi
push ecx
push edx
push edi
call fcn.10174220
mov eax, dword [ebx + 0xe4]
add esp, 0xc
mov ecx, dword [eax + 0x14c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10154903
sub ecx, edx
add edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10154a44
cmp dword [esi], 6
jne 0x10154a8f
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
jne 0x10154a8f
lea edi, [esp + 0x7c]
mov dword [esp + 0x28], 0
mov esi, 2
lea eax, [esp + 0x3c]
push 8
push eax
call fcn.10088ff0
mov eax, dword [ebx + 0xe4]
add esp, 8
cmp esi, 2
jne 0x1015496a
mov eax, dword [eax + 0x8c]
jmp 0x10154970
mov eax, dword [eax + 0x90]
push 0
push eax
lea eax, [esp + 0x44]
push eax
call fcn.1006e520
mov eax, dword [ebx + 0x58]
add eax, 0xc0
push 0x20
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1006e6c0
mov eax, dword [ebx + 0x58]
add eax, 0xa0
push 0x20
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1006e6c0
push ebp
push dword [esp + 0x44]
lea eax, [esp + 0x68]
push eax
call fcn.1006e6c0
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x70]
push edi
push eax
call fcn.1006e480
mov ecx, dword [esp + 0x64]
dec esi
add ecx, dword [esp + 0x4c]
add esp, 0x3c
add edi, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
test esi, esi
jg 0x10154948
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push dword [eax + 0x14]
lea eax, [esp + 0x38]
push eax
lea eax, [edi + 2]
push eax
push ecx
lea eax, [esp + 0x8c]
push eax
push 0x72
call fcn.10089d60
add esp, 0x18
test eax, eax
jg 0x10154a2d
push 0x778
push str.._ssl_s3_srvr.c
push 4
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154be6
mov eax, dword [esp + 0x34]
add ebp, 2
shr eax, 8
mov byte [edi], al
mov al, byte [esp + 0x34]
mov byte [edi + 1], al
add ebp, dword [esp + 0x34]
mov eax, dword [ebx + 8]
push ebp
push 0xc
push ebx
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x40]
call eax
add esp, 0xc
lea eax, [esp + 0x3c]
mov dword [ebx + 0x34], 0x2151
push eax
call fcn.1006e6d0
mov eax, dword [ebx + 8]
push ebx
mov eax, dword [eax + 0x64]
mov eax, dword [eax + 0x44]
call eax
add esp, 8
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10155c5f
add esp, 0x94
ret
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x10154b86
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
je 0x10154ad1
push ecx
push esi
push edi
call fcn.101391f0
add esp, 0xc
test eax, eax
jne 0x10154aca
push 0x786
push str.._ssl_s3_srvr.c
lea esi, [eax + 0x50]
push 0x44
jmp 0x10154bcb
mov ecx, dword [esp + 0x38]
add edi, 2
push 0
push ecx
lea eax, [esp + 0x44]
push eax
call fcn.1006e520
mov eax, dword [ebx + 0x58]
add eax, 0xc0
push 0x20
push eax
lea eax, [esp + 0x50]
push eax
call fcn.1006e6c0
mov eax, dword [ebx + 0x58]
add eax, 0xa0
push 0x20
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.1006e6c0
push ebp
push dword [esp + 0x44]
lea eax, [esp + 0x68]
push eax
call fcn.1006e6c0
push esi
lea eax, [esp + 0x44]
push eax
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.100ea8f0
add esp, 0x40
test eax, eax
jne 0x10154b52
push 0x796
push str.._ssl_s3_srvr.c
push 6
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154be6
mov eax, dword [esp + 0x10]
sar eax, 8
mov byte [edi], al
mov al, byte [esp + 0x10]
mov byte [edi + 1], al
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 2
mov eax, 0
setne al
lea eax, [eax*2 + 2]
add eax, dword [esp + 0x10]
add ebp, eax
jmp 0x10154a44
push 0x7a1
push str.._ssl_s3_srvr.c
push 0xfb
jmp 0x10154bc6
push 0x704
push str.._ssl_s3_srvr.c
push 0x166
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
jmp 0x10154bf9
push 0x710
push str.._ssl_s3_srvr.c
push 0xfa
mov esi, 0x28
push 0x9b
push 0x14
call fcn.100787f0
add esp, 0x14
push esi
push 2
push ebx
call fcn.10135b70
add esp, 0xc
xor edi, edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10154bf9
push eax
call fcn.100663e0
add esp, 4
push edi
call fcn.1008f610
lea eax, [esp + 0x40]
push eax
call fcn.1006e6d0
add esp, 8
or eax, 0xffffffff
jmp 0x10154a76